[Nut-upsuser] Arch Linux and Tripp Lite web snmp card issues.

Arnaud Quette aquette.dev at gmail.com
Wed Feb 26 20:56:45 UTC 2014

2014-02-26 1:03 GMT+01:00 Charles Lepple <clepple at gmail.com>:

> On Feb 25, 2014, at 4:23 PM, Arnaud Quette wrote:
> gen-snmp-subdriver.sh simply hasn't done its job, for some reasons.
> well, 1 clear is that's it not a completed effort... at all
> but, still IIRC, it should have produced at least a bit more
> Hi Arnaud,

Hi Charles

> I may not have been specific enough in my description.

I completely overlooked that point while focusing on the new subdrv
consideration. sorry...

The crash that Jason saw is with the version of snmp-ups that is currently
> in Git - including the new 'xppc' MIB, but the NULL pointer in question is
> also in 'delta_ups'.
> Given that mib2nut[i]->oid_auto_check is only used for the "classic" OID
> check, I think we can just add a special case to check for NULL, and
> continue the loop if oid_auto_check has not been provided.

you're fully right indeed!
but the root cause (and solution) is probably deeper:

however, there is still some doc completion needed for the subdriver
and lot more on this still-too-experimental code :-/

all in all, I'll have to complete quickly #20 specs:

@Jason: could you please try with the latest git master?

@Jason: how have you called the script?
> could you please also send an archive including:
> - the results of the adapted commands on #L73, #L74
> https://github.com/networkupstools/nut/blob/master/scripts/subdriver/gen-snmp-subdriver.sh
> - your mib file
> Jason,
> this would still be useful to address the issue of gen-snmp-subdriver not
> parsing things correctly.

to be continued...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140226/7b186de6/attachment.html>

More information about the Nut-upsuser mailing list