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

Ivan Kuznetsov kia at solvo.ru
Mon Apr 7 13:27:14 UTC 2014


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 ups-address 
.1.3.6.1.4.1.232

Ivan

07.04.2014 15:45, Philippe Andersson пишет:
> Hello Arnaud,
>
> On 05/04/14 22:01, Arnaud Quette wrote:
>> Philippe, Ivan,
>>
>> please see https://github.com/networkupstools/nut/issues/118
>> and send back your data.
> I've pasted the requested files in github, but the auto-formatting may
> have damaged them, so here they are.
>
> Also, when I ran gen-snmp-subdriver.sh, it gave me the following message:
>
> -----------------------<cut>-------------------------
> snmp_build: unknown failuresnmpget: Error building ASN.1 representation
> (Can't build OID for variable)
> -----------------------<cut>-------------------------
>
> Not sure whether this invalidates the resulting files.



More information about the Nut-upsuser mailing list