problems check_ms_windows_disk_load plugin
Posted: Wed Jun 17, 2015 2:43 pm
Hi,
I'm trying to get the check_ms_windows_disk_load plugin from the Nagios Exchange to work
(https://exchange.nagios.org/directory/P ... ad/details)
I saw the recent post on it and tried the suggestions but to no avail. Note that I have other nsclient/check_nrpe service checks running successfully on this server.
Here is my command definition from the NSC.ini configuration (we are using NSClient 0.3.9) on the remote server
check_ms_diskload=cmd /c echo scripts\check_ms_windows_disk_load.ps1 $ARG1$; exit $LastExitCode | powershell.exe -command -
and here is from the command line on my Nagios server
[root@lkennagiost02 libexec]# ./check_nrpe -H 172.22.2.133 -p 5666 -t 60 -c check_ms_diskload -a '-ms 5 -dl'
Unknown: Illegal arguments detected.
Any ideas as to what's wrong?
Thanks,
Penny Karr | IT Infrastructure Monitoring
Harvard Vanguard Medical Associates, an Affiliate of Atrius Health
254 Second Avenue | Needham, MA 02494
P (781) 292-1853 | F (781 292-1980 | http://www.harvardvanguard.org
Email: [email protected]
I'm trying to get the check_ms_windows_disk_load plugin from the Nagios Exchange to work
(https://exchange.nagios.org/directory/P ... ad/details)
I saw the recent post on it and tried the suggestions but to no avail. Note that I have other nsclient/check_nrpe service checks running successfully on this server.
Here is my command definition from the NSC.ini configuration (we are using NSClient 0.3.9) on the remote server
check_ms_diskload=cmd /c echo scripts\check_ms_windows_disk_load.ps1 $ARG1$; exit $LastExitCode | powershell.exe -command -
and here is from the command line on my Nagios server
[root@lkennagiost02 libexec]# ./check_nrpe -H 172.22.2.133 -p 5666 -t 60 -c check_ms_diskload -a '-ms 5 -dl'
Unknown: Illegal arguments detected.
Any ideas as to what's wrong?
Thanks,
Penny Karr | IT Infrastructure Monitoring
Harvard Vanguard Medical Associates, an Affiliate of Atrius Health
254 Second Avenue | Needham, MA 02494
P (781) 292-1853 | F (781 292-1980 | http://www.harvardvanguard.org
Email: [email protected]