Check_nt monitoring of disk latency

Brian Planz brian.e.planz at rockwellcollins.com
Fri Aug 4 18:22:03 CEST 2017


Hello,

I am attempting to set up Disk Latency monitoring on some of our Windows
2008 servers using Nagios XI and check_nt.  I am using the following
command:

 ./check_nt -H xxx.xxx.xxx.xxx -s "***********" -p 12489 -v COUNTER -l
"\\PhysicalDisk(0 C:)\\Avg. Disk sec/Read","C Drive Read Latency (ms) is
%0.4f" -w 0.02 -c 0.04

I am getting the following result:

C Drive Read Latency (ms) is 0.0000 | 'C Drive Read Latency (ms) is
%0.4f'=0.000000%;0.000000;0.000000;

It is always returning a value of 0.  Looking at the actual perfmon
readings on the server show values in the 0.002 to 0.015 range.

After doing some investigation with other perfmons it appears that only
whole numbers are being returned.  Likewise, it also appears that we can
only use whole numbers for the warning and critical levels.  Is this
correct or is there a configuration setting I am missing.

Thank you for any assistance you can provide.

Brian


-- 
Brian E Planz / Sr Systems Administrator / Meteorologist
MS 437-100, 2925 Briarpark Dr, Houston, TX, 77042, USA
Phone: 713-430-7175 / VPN: 430-7175 / Mobile 713-264-2273
brian.e.planz at rockwellcollins.com
www.rockwellcollins.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20170804/7eae2c4a/attachment.html>


More information about the Help mailing list