Alert Handler Linux via ssh on a different system

I need to run an alert handler on a different system than the one generating the alert (“if the host fails, tell the control entity to exclude it from the environment” like). I can’t see a “run on host” option in creating a new alert rule, so I guess I need to do this as a standard alert handler which then executes the action on the target host.

Is this correct, or did I miss something?

Hello rplewe

Thats correct.

One way might be piggyback for you. So you can bind the check to a different host (the control one) which triggers the alarm handler.

Cheers Jens

1 Like

The alert handler receives the hostname via environment variable.
What you do in your alert handler script with that information is up to you.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.