[Nut-upsdev] SNMP on HP UPS

Arjen de Korte nut+devel at de-korte.org
Mon Aug 31 13:30:36 UTC 2009


Citeren Philip Ward <p.g.ward op stir.ac.uk>:

[...]

> Therefore I have created af401amib.h which is just a modified copy of
> ietfmib.h.

In that case, I very much doubt that it is needed to add another MIB  
to snmp-ups. Unsupported OIDs are meant to be ignored. Unless they  
happen to be the one that is used to check if the MIB is supported of  
course, this shouldn't cause the driver to exit at any time.

> Here are the differences between ietfmib and af401amib

[...]

> Since the SNMP driver complains and exits if it tries to access a value
> that is not supported it was necessary to completely remove upsupported
> items from the specification.

The SNMP driver *will* complain about unsupported OIDs (unfortunately,  
telling you that it is an error), but should proceed anyhow.

Could you post the output of

     /path/to/snmp-ups -DDD -a upsname

for the original (unmodified) snmp-ups driver?

Best regards, Arjen
-- 
Please keep list traffic on the list




More information about the Nut-upsdev mailing list