I've read through the Event Handler documentation, and think I understand how to go about it.
But if there's a problem, what I'll want the Event Handler to do is run a script on the remote Windows Host. This is the part I don't understand, how a Handler on the Nagios server is going to have an effect on the remote Host, especially a Windows one.
My guess is I'll have to make another "pseudo check" that's defined in the Remote Host's nrpe.cfg(NRPE) or nsc.ini(NSClient++), which will run the script and report back success to the Event Handler on the Server.
Any advice is appreciated. Thanks....Lyle
event handler to run a script on remote Windows Host
event handler to run a script on remote Windows Host
Last edited by lyle on Tue Oct 11, 2011 12:01 pm, edited 1 time in total.
Re: event handler to run a script on remote Windows Host
Lyle, you hit the nail on the head, that the typical implementation of it. With Windows in particular thats exactly how you go about implementing it.
Nicholas Scott
Former Nagios employee
Former Nagios employee