Page 1 of 1

Plugin "check_snmp_uptime.pl" with Windows

Posted: Sat Jun 15, 2019 10:02 am
by mpedros
Hi:

When I use the "check_snmp_uptime.pl" plugin against a Linux works correctly:

Code: Select all

[root@localhost libexec]# ./check_snmp_uptime.pl -H 192.168.20.62 -C test
SNMP uptime: 0 days, 0 hours, 28 minutes, 18 seconds : WARNING
... but when I consult a Windows, it always gives me the following error:

Code: Select all

[root@localhost libexec]# ./check_snmp_uptime.pl -H 192.168.10.100 -C testwin
Argument "noSuchObject" isn't numeric in numeric le (<=) at ./check_snmp_uptime.pl line 394.
SNMP uptime: 0 days, 0 hours, 0 minutes, noSuchObject seconds : CRITICAL
Always returns as Uptime value: 0 days, 0 hours, 0 minutes. Has someone happened to?

Regards,

Re: Plugin "check_snmp_uptime.pl" with Windows

Posted: Mon Jun 17, 2019 9:46 am
by scottwilkerson
Where did you get this plugin?

Are you sure your Windows server responds to SNMP requests for the OID it is requesting?