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