Re: [Nut-upsuser] snmp-ups sends status OL OB on HP R3000 UPS with AF465A management card [UPDATE]

2014-04-07 Thread Philippe Andersson
Arnaud, Ivan, Please find attached a set of patches that represent the changes I made to fix the issue on NUT ver. 2.6.5. At least, the UPS now properly reports OL, OB DISCHRG and OL CHRG when appropriate. Of course, it still won't report Low Batt, as there doesn't seem to be an OID for that any

[Nut-upsuser] snmp-ups sends status OL OB on HP R3000 UPS with AF465A management card [UPDATE]

2014-04-07 Thread Ivan Kuznetsov
Hi I think an ineteresting OIDs begins from .1.3.6.1.4.1.232. To make a correct output you need 2 MIB files: CPQPOWER.MIB (you have it :) and CPQHOST.MIB. Put them in a separate folder (e.g. mibs-folder/) and add -M to the command line: snmpwalk -v 1 -c public -Os -M +mibs-folder/ -m ALL

Re: [Nut-upsuser] snmp-ups sends status OL OB on HP R3000 UPS with AF465A management card [UPDATE]

2014-04-05 Thread Arnaud Quette
Philippe, Ivan, please see https://github.com/networkupstools/nut/issues/118 and send back your data. cheers Arno ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] snmp-ups sends status OL OB on HP R3000 UPS with AF465A management card [UPDATE]

2014-02-27 Thread Philippe Andersson
Additional question: I noticed on the HP Website that the latest version of CPQPOWER.MIB (1.76, dated Sept. 19, 2013) was more recent than the related file (./drivers/compaq-mib.c) in the NUT driver. Is the MIB structure as implemented on the management card perhaps no longer in line with the NUT