check_nt limit using decmals
Posted: Mon Sep 10, 2012 5:05 am
I'm struggling with the warning and critical limits with the check_nt command.
I'm using the following:
which works fine, but the results are in milliseconds like 0.00236
Result:
Now I want to set the warning to 0.003 for example. But when I'm using the following code the limits are falling back to zero.
Result:
Anyone?
I'm using the following:
Code: Select all
./check_nt -H <hostname> -p 12489 -v COUNTER -l "\\PhysicalDisk(5 M:)\\Avg. Disk sec/Read","Avg. Disk sec/Read","s" -w 1 -c 2Result:
Code: Select all
label = 0.05 s | label=0.049584s;1.000000;2.000000;Code: Select all
./check_nt -H <hostname> -p 12489 -v COUNTER -l "\\PhysicalDisk(5 M:)\\Avg. Disk sec/Read","Avg. Disk sec/Read","s" -w "0.002" -c "0.003"Code: Select all
label = 0.00 s | label=0.004813s;0.000000;0.000000;