Page 1 of 1

Need to run a powershell command from Nagios XI

Posted: Mon Feb 15, 2021 5:57 am
by vishal313
Hi All,

We need to run certain powershell commands on monitored Windows servers.
The Windows servers are added using WMI configuration Wizard and uses a service account which is a local admin on the monitored node.
Can you please share your input as how can we run a command as a service configuration in Nagios XI.

Sample command to run : Get-MailboxStatistics -Identity "[email protected]" | select totalitemsize


Regards
Vishal Dhote

Re: Need to run a powershell command from Nagios XI

Posted: Mon Feb 15, 2021 4:08 pm
by cdienger
https://support.nagios.com/kb/article/n ... a-722.html steps through how you can run a powershell script with our NCPA client.