Check_nt uptime return wrong value
Posted: Mon Mar 09, 2015 9:52 am
Hi everyone,
I have the nsclient version 0.4.3.88 on my entire organization, monitored by the last nagios core, I use the check_nt plugin, with some basic checks and i've problems with the UPTIME command.
It will often return a wrong value, the value is like a floating number where, for example, 70000 is equal to 7. Here's my test:
command for testing (i did a check more times in one minute):
results:
can you tell me how to fix the problem?
I have the nsclient version 0.4.3.88 on my entire organization, monitored by the last nagios core, I use the check_nt plugin, with some basic checks and i've problems with the UPTIME command.
It will often return a wrong value, the value is like a floating number where, for example, 70000 is equal to 7. Here's my test:
command for testing (i did a check more times in one minute):
Code: Select all
./check_nt -H host -p 12489 -s password -v UPTIME -l secondsCode: Select all
System Uptime - 392 day(s) 6 hour(s) 8 minute(s) |uptime=33890897
System Uptime - 392 day(s) 6 hour(s) 8 minute(s) |uptime=33890898
System Uptime - 392 day(s) 6 hour(s) 8 minute(s) |uptime=33890899
System Uptime - 3 day(s) 22 hour(s) 8 minute(s) |uptime=338909