Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

Not triggering the custom action

Highlighted

Not triggering the custom action

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

Not triggering the custom action
7 REPLIES 7
Architect

Re: Not triggering the custom action

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.

Re: Not triggering the custom action

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..

Architect

Re: Not triggering the custom action

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

Re: Not triggering the custom action

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

Architect

Re: Not triggering the custom action

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

controller_home/custom/actions/action_folder/logs ?

Re: Not triggering the custom action

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

Architect

Re: Not triggering the custom action

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