SNMP Check Plugin bug
Posted: Thu Aug 21, 2014 10:23 pm
Nagios xi 2014R1.4
Please fix this problem. Version check in all the check_snmp plugins is broken.
It is comparing integer with string.
Please fix this problem. Version check in all the check_snmp plugins is broken.
It is comparing integer with string.
Code: Select all
[nagios@nagiosdevxi1 libexec]$ ./check_snmp_storage.pl -V
check_snmp_storage version : 1.3.2
[nagios@nagiosdevxi1 libexec]$ ./check_snmp_storage.pl -H 10.104.28.124 -C xxxxx --v2c -m '^[CDEF]:' -w 80 -c 95 -f
Argument "v6.0.1" isn't numeric in numeric lt (<) at ./check_snmp_storage.pl line 407.
Argument "v6.0.1" isn't numeric in numeric lt (<) at ./check_snmp_storage.pl line 481.
D:\ Label:ZRMSSEL_EN Serial Number bce4043c: 100%used(411MB/411MB) C:\ Label: Serial Number dcbc060b: 34%used(2779MB/8182MB) (>95%) : CRITICAL | 'D:\_Label:ZRMSSEL_EN__Serial_Number_bce4043c'=411MB;329;391;0;411 'C:\_Label:__Serial_Number_dcbc060b'=2779MB;6545;7772;0;8182
[nagios@nagiosdevxi1 libexec]$