2010/6/24 Fabio Papa <[email protected]> > Il giorno mar, 22/06/2010 alle 16.06 +0200, Arjen de Korte ha scritto: > > Citeren Fabio Papa <[email protected]>: > > > > > Hi again, > > > ok, I've found the problem. The issue is here, in > > > drivers/netvision-mib.c: > > > > > > #define NETVISION_OID_BATTERYSTATUS > > > ".1.3.6.1.4.1.4555.1.1.1.1.2.1.0" > > > static info_lkp_t netvision_batt_info[] = { > > > { 2, "" }, /* battery normal */ > > > { 3, "LB" }, /* battery low */ > > > { 4, "LB" }, /* battery depleted */ > > > { 5, "" }, /* battery discharging */ > > > { 6, "RB" }, /* battery failure */ > > > { 0, "NULL" } > > > }; > > > > No. This problem was reported before > > > > > https://alioth.debian.org/tracker/index.php?func=detail&aid=312364&group_id=30602&atid=411542 > > > > As you can see, the resolution is in the netvision_output_info info > element. > > > > > As you can see, labels for values 2 and 5 are empty. This is bothering > > > upsmon. I took the old values from 2.4.1 (they were in a .h file > before) > > > which were OL for 2 and OB for 5, recompiled and it all works! > > > I can submit a patch if you like, but it's quite easy to add those 4 > > > char by hand... > > > > This was fixed in the development version almost four months ago, so > > no patch is needed. Thanks anyway. > > > > Best regards, Arjen > > Hi, > that's good to know, but I wonder why no stable release is out with the > patch in place. As it is, there are distro out (like lucid in my case) > with non working snmp driver, at least not for netvision. >
the lack of manpower, and the numerous tasks with a much higher priority than the above (sorry for you) seems to be a good explanation. now, the FLOSS movement is good enough to provide other means of support: file a bug on Launchpad Ubuntu pointing this patch: http://boxster.ghz.cc/projects/nut/changeset/2367 Chuck will hopefully have more time than me. cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

