<br><div class="gmail_quote">2010/12/15 Arjen de Korte<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">Citeren &quot;Poulton, Stuart W.L.&quot;:<br>

<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
rcs-manage-1:/var/log # upsrw  phys-eaton<br>
[battery.runtime.low]<br>
Remaining battery runtime when UPS switches to LB (seconds)<br>
Type: UNKNOWN (unrecognized)<br>
</blockquote>
<br></div>
The definition in the MIB to NUT mapping is lacking a type for this variable. Clients expect it to be either a string or an enumerated value and the driver doesn&#39;t report either. This needs to be fixed in the driver, there is no workaround.<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I suspect from this that it may not be configurable.<br>
</blockquote>
<br></div>
Maybe, but until this is fixed in the driver it&#39;s a driver bug. Note that the snmp-ups driver is currently in dire need of an active developer taking over the maintenance.</blockquote><div><br>indeed, and a full rewrite is also needed, to support the subdrivers approach as in usbhid-ups.<br>
this would fix various issues and limitations, and would also unblock a few patch that are stagging in my TODO stack. <br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
 Since I don&#39;t have a SNMP capable UPS, I can&#39;t really work on it other than the occasional fix for an obvious problem.<br></blockquote></div><br>well, your NMC (in the evolution) is SNMP capable (beside the XML/HTTP channel).<br>
depending on your exact card reference and FW version, it will expose a minimum or full set of IETF + MGE MIBS.<br><br>Arjen: if needed, I can also check to send you a more suitable card, but I know that you&#39;re already quite busy.<br>
so up to you, you know who to ask ;-)<br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://powerquality.eaton.com" target="_blank">http://powerquality.eaton.com</a><br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br>