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