Page 1 of 1
Can we run power shell scipt from Nagios
Posted: Tue Sep 26, 2017 10:28 am
by sgoffar
Can we run power shell scipt from Nagios.
Re: Can we run power shell scipt from Nagios
Posted: Tue Sep 26, 2017 10:42 am
by kyang
Hey
@sgoffar,
It looks like we actually have a kb article on running PowerShell scripts and making it work through Nagios.
https://support.nagios.com/kb/article.php?id=528
The article explains it better, but ultimately you would have the PowerShell script added into the nsclient.ini file.
As you add the external script into the nsclient.ini file, then you would test the PowerShell script using NRPE from your Nagios Server.
I hope this helps, let us know if you have any more questions