Check_nt monitoring of disk latency
Brian Planz <[email protected]> Fri, 4 Aug 2017 11:22:03 -0500
| Newsgroups | gmane.network.nagios.plugins |
|---|---|
| Message-ID | <CAOQLNUd0w4Sp7Xy31GJoASXV9T=V2rQZZv+Fnj5AGX8khng_6Q__43180.4197411568$1501868498$gmane$org@mail.gmail.com> |
--94eb2c07b5fac6ca8b0555efe598 Content-Type: text/plain; charset="UTF-8" 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 [email protected] www.rockwellcollins.com --94eb2c07b5fac6ca8b0555efe598 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hello,=C2=A0<div><br></div><div>I am attempting to set up = Disk Latency monitoring on some of our Windows 2008 servers using Nagios XI= and check_nt.=C2=A0 I am using the following command:=C2=A0</div><div><br>= </div><div><div><font face=3D"monospace, monospace">=C2=A0./check_nt -H xxx= .xxx.xxx.xxx -s "***********" -p 12489 -v COUNTER -l "\\Phys= icalDisk(0 C:)\\Avg. Disk sec/Read","C Drive Read Latency (ms) is= %0.4f" -w 0.02 -c 0.04</font></div></div><div><br></div><div>I am get= ting the following result:=C2=A0</div><div><br></div><div><div><font face= =3D"monospace, monospace">C Drive Read Latency (ms) is 0.0000 | 'C Driv= e Read Latency (ms) is %0.4f'=3D0.000000%;0.000000;0.000000;</font></di= v><div><font face=3D"monospace, monospace"><br></font></div><div><font face= =3D"arial, helvetica, sans-serif">It is always returning a value of 0.=C2= =A0 Looking at the actual perfmon readings on the server show values in the= 0.002 to 0.015 range.=C2=A0</font></div><div><font face=3D"arial, helvetic= a, sans-serif"><br></font></div><div><font face=3D"arial, helvetica, sans-s= erif">After doing some investigation with other perfmons it appears that on= ly whole numbers are being returned.=C2=A0 Likewise, it also appears that w= e can only use whole numbers for the warning and critical levels.=C2=A0 Is = this correct or is there a configuration setting I am missing.=C2=A0</font>= </div><div><font face=3D"arial, helvetica, sans-serif"><br></font></div><di= v><font face=3D"arial, helvetica, sans-serif">Thank you for any assistance = you can provide.=C2=A0</font></div><div><font face=3D"arial, helvetica, san= s-serif"><br></font></div><div><font face=3D"arial, helvetica, sans-serif">= Brian</font></div><div><font face=3D"arial, helvetica, sans-serif"><br></fo= nt></div><div><br></div>-- <br><div class=3D"gmail_signature"><div dir=3D"l= tr"><div style=3D"font-size:12.8px">Brian E Planz / Sr Systems Administrato= r / Meteorologist</div><div style=3D"font-size:12.8px"><span style=3D"font-= size:12.8px">MS 437-100, 2925 Briarpark Dr, Houston, TX, 77042, USA</span><= br></div><div style=3D"font-size:12.8px">Phone: 713-430-7175 / VPN: 430-717= 5 / Mobile 713-264-2273</div><div style=3D"font-size:12.8px"><a href=3D"mai= lto:[email protected]" target=3D"_blank">brian.e.planz@rock= wellcollins.com</a></div><div style=3D"font-size:12.8px"><a href=3D"http://= www.rockwellcollins.com/" target=3D"_blank">www.rockwellcollins.com</a></di= v></div></div> </div></div> --94eb2c07b5fac6ca8b0555efe598--