Citeren Philip Ward <[email protected]>:

[...]

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


_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to