NSClient++ Help (#1) - NSClient++ / event handling / batch files (#66) - Message List
I need to find a way to be able to have nsclient++ execute a batch file for a given circumstance. We are monitoring a service on a machine, and when that service stops, and the alert is sent out, I want nsc++ to be able to run a batch file that lives on the machine where the service has stopped. How do I go about doing this?
simple way is have the nagios "call" a custom command (need NRPE) since they can be batch files you could do it that way.
[NRPE Handlers] ... run_my_script=c:\myscript.bat
and on the nagios side have the "command" be:
check_nrpe ... -c run_my_scriptmickem12/05/07 23:20:47 (5 years ago)