Page 2 of 2

Re: Script Execution Via Nagios

Posted: Tue Oct 08, 2013 8:42 am
by lafargeuser
I am able to start now stop service. But the thing is I want to call any shell or powershell script from Nagios & execute.
Is this possible. If yes then how ?

Re: Script Execution Via Nagios

Posted: Tue Oct 08, 2013 8:56 am
by slansing
Yes, as we have said multiple times you would be using NRPE to do this.

http://exchange.nagios.org/directory/Do ... nt/details

http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

Which it sounds like you have just installed. Powershell would indicate windows so:

http://assets.nagios.com/downloads/nagi ... _Agent.pdf

Once it is installed let us know if you have further questions.