Script Execution Via Nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Script Execution Via Nagios

Post 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 ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Script Execution Via Nagios

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