Splunk AppDynamics

Could Not Import Health Rule Error Message - Component Does Not Exist

CommunityUser
Splunk Employee
Splunk Employee

Hello,

I've been able to export the IBM MQ metrics and now I am trying to import them but I am getting an error messages that says "Could not import the health rule: QM_TEST4. Reason: Component with the name: mqserver.corp.dom does not exist."  We have existing health rules in place, I'm just trying to import then using the import api.  I followed these instructions --> https://docs.appdynamics.com/display/PRO45/Alert+and+Respond.

How can I resolve this error? 

Thanks,

Alicia

Labels (1)
0 Karma

Yogesh_Chouk
Builder

Hi Alicia,

 

1. As from the logs, we understand that the tier component does not exist. Can you please check if this is present in the controller UI. If yes, please check if it is present in the database.

select * from application_componenet where name like 'mqserver.corp.dom'\G

2. Can you please share the command you are using while importing the health rule.

3. Share the controller logs with us during the time period you saw the issue.

Thanks,

Yogesh

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Yogesh,

Which log do you want me to send you?  The server.log?  Also, is there a way that I can send it to you privately for confidentiality purposes?

I tried logging into the database and running that query but I don't have the password so I'm trying to get the password right now.  Jut waiting to hear back from someone.  In the meantime, can you send me the steps to verify whether mqserver.corp.dom exists as a component in the AppDynamics UI?  I do see it listed under applications in the dashboard and when creating health rules, I can select it, select the queue manager on that servers and the queues under that queue manager.  Where do I look to see if it exists as a component?

Here are the commands that I am running to export and import.  Export works fine.  Import is when I get the error:

curl --user myusername@customer1:mypassword https://servername:8181/controller/healthrules/EnterpriseMQ?name=QMgrHealthRuleName

curl -X POST --user myusername@customer1:mypassword https://servername:8181/controller/healthrules/38 -F file=@FileName.xml

0 Karma

Yogesh_Chouk
Builder
Hi,

You can share the details privately with me. I will check it further.

Thanks,
Yogesh
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Do you have an email address where I can send you the logs?  I don't see anywhere on here an option to send privately.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Yogesh,

I was able to log in to the mysql database but when I run the query I don't get any results back.  Here's what the sql query I ran:

mysql> select * from application_component where name like 'mqservername.corp.dom' 
    -> show tables
    ->

I don't get any results back when I run the query.

Thanks,

Alicia

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...