Need to run a powershell command from Nagios XI
Posted: Mon Feb 15, 2021 5:57 am
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
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