Can we run power shell scipt from Nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Can we run power shell scipt from Nagios

Post by sgoffar »

Can we run power shell scipt from Nagios.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
kyang

Re: Can we run power shell scipt from Nagios

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