Problems with fractional numbers in reports.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Reface
Posts: 1
Joined: Tue Sep 04, 2012 6:31 am

Problems with fractional numbers in reports.

Post by Reface »

FreeBSD 8.3+nagiod-3.3.1
I have problem with fractional numbers in reports form NSClient++-0.3.9.
For example:
/usr/local/nagios/libexec/check_nt -H 10.10.10.2 -p 12489 -v USEDDISKSPACE -l "c"
c:\ - total: 60.00 Gb - used: 34.40 Gb (57%) - free 25.60 Gb (43%) | 'c:\ Used Space'=34.40Gb;0.00;0.00;0.00;60.00
It's ok.
But:
/usr/local/nagios/libexec/check_nt -H 10.10.10.2 -p 12489 -v COUNTER -l "\\PhysicalDisk(0 C:)\\Avg.Disk sec/Write"
0
It is impossible! If I open perfmon in Windows Server 2008 R2 SP1, I see that the values are 0.001, 0.012, 0.024 sec. How can I see this fractional numbers in Nagios report?
Locked