Need to run a powershell command from Nagios xi

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
vishal313
Posts: 50
Joined: Wed Dec 18, 2019 10:23 pm

Need to run a powershell command from Nagios xi

Post 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 "noreply@abc.com" | select totalitemsize


Regards
Vishal Dhote
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Need to run a powershell command from Nagios xi

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.