Windows Monitoring

Good Day All,

Running into an issue with Nagios monitoring a windows server, here is what I’m seeing.

CPU UNKNOWN 2012-08-23 04:36:05 0d 0h 44m 13s 3/3 missing -l parameters

Disk C: - Windows Primary UNKNOWN 2012-08-23 04:36:09 0d 0h 3m 9s 2/3 missing -l parameters

However if I manually call the CPU check via CLI:
jeffy@thor:/etc/nagios3$ /usr/lib/nagios/plugins/check_nt -H 192.168.96.51 -p 12489 -v ‘CPULOAD’ -l 5,80,90
CPU Load 4% (5 min average) | ‘5 min avg Load’=4%;80;90;0;100

However if I manually call the DISK check via CLI:
jeffy@thor:/etc/nagios3$ /usr/lib/nagios/plugins/check_nt -H 192.168.96.51 -p 12489 -v ‘USEDDISKSPACE’ -l c -w 80 c 90
c:\ - total: 390.62 Gb - used: 282.10 Gb (72%) - free 108.52 Gb (28%) | ‘c:\ Used Space’=282.10Gb;312.50;0.00;0.00;390.62

In both cases it performs the check without issue:

Here is a snippet from the CFG file.
define service{
use generic-service
host_name bchfs01
service_description CPU
check_command check_nt!CPULOAD!-l 5,80,90
}

define service{
use generic-service
host_name bchfs01
service_description Disk C: - Windows Primary
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
}

So I really cannot for the life of me figure out why it’s not polling properly?

Can anyone give any suggestions?

Thanks

Since I cannot edit my post, here is the snippet of how the Nagios3 webfront sees the disk and CPU

Kindly post the check_nt details from commands.cfg