lausser / check_hpasm

A plugin (monitoring-plugin, not nagios-plugin, see also http://is.gd/PP1330) which checks the hardware health of HP Proliant Servers. (May also be used for other devices which implement the CPQHLTH mib)
http://labs.consol.de/nagios/check_hpasm/
GNU General Public License v2.0
16 stars 18 forks source link

check_hpasm has issues with memory when using SNMPv3 #10

Open L-B opened 9 years ago

L-B commented 9 years ago

When switching check_hpasm from SNMPv2 to SNMPv3, it stops working properly: there are two uninitialized variables errors. The SNMP target is a Windows 2008 host. The system where check_hpasm is running is on RHEL6. I'm using v4.7.1.1. snmpwalk works fine using either version of the protocol, and I don't see any obvious differences between the results.

$ /usr/lib64/nagios/plugins/check_hpasm --protocol=3  -H server -t 60 --username=user --authpassword=password --privpassword=password --authprotocol=sha --privprotocol=aes 
Use of uninitialized value in numeric lt (<) at /usr/lib64/nagios/plugins/check_hpasm line 2894.
Use of uninitialized value $hpboard in numeric ne (!=) at /usr/lib64/nagios/plugins/check_hpasm line 2900.
WARNING - status of all 0 dimms is n/a (please upgrade firmware), System: 'proliant dl380p gen8', S/N: 'CZxxxxxWN', ROM: 'P70 07/01/2015'