Splunk AppDynamics

Not triggering the custom action

CommunityUser
Splunk Employee
Splunk Employee

Hi,

When a health rule is voilated it is not triggering the custom action. But some times it is triggering the custom action and I am getting the necessary parameters into my script.

Can anyone please help me in this regarding.

Thanks

Siva

Labels (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

When you say its triggering sometimes, does that mean after regular interval of times?

If you can share the screen shot of the health rule configuration, the action and the policy?

I suspect it may have to do something with the value of the time set to evaluate the health rule again.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Gurmit,

No, It is not for regular intervels. For maximum times it is not firing the custom action.

Please find the attachment for configurations.

Thanks

Siva..

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Can you also attach the logs form your cusotm action script?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Gurmit,

Are you asking about controller logs (<controller home>/logs) or logs specific to custom action?

If it is specific to custom action can you please send the path where can I find the custom action logs.

Please find the attachment for controller logs.

Thanks,

Siva

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

custom action logs, can be found under the folder of your custom action

controller_home/custom/actions/action_folder/logs ?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Gurmit,

Thanks for your information. But I am unable to find any log file in the actions folder.

Is there any other possibility to find that logs?

Thanks and Regards

Siva Mullapudi

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

You mentioned custom action, whchi action are you referring to?

You must have set up that action on your controller right?

can you provide ls -ltr output of <controller_home>/monitors/action

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Gurmeet,

How did you set custom actions on controller?

 I did tried as per doc, created custom action folder on appd home directory and places the xml as well but i am unable to see custom action on controller

Tags (1)
0 Karma

iamryan
Community Manager
Community Manager

Hi @Anonymous,

Was this the documentation you were looking at? https://docs.appdynamics.com/display/PRO45/Build+a+Custom+Action

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Ryan,

Yes I checked this document and follow the steps mentioned in it but still I am not able to perform the action. I want to run one unix script from AppDynamics, could you please help me how do I achieve it?

0 Karma

iamryan
Community Manager
Community Manager

Hi @Anonymous,

Thanks for letting me know. I don't have the solution at this time. Let's see if the community can jump in and provide some insights.

0 Karma
Get Updates on the Splunk Community!

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...

Uncovering Multi-Account Fraud with Splunk Banking Analytics

Last month, I met with a Senior Fraud Analyst at a nationally recognized bank to discuss their recent success ...

Secure Your Future: A Deep Dive into the Compliance and Security Enhancements for the ...

What has been announced?  In the blog, “Preparing your Splunk Environment for OpensSSL3,”we announced the ...