Bonjour Luc,<br><br>I've made a quick test with NUT 2.2.2 and a PW9120 + ConnectUPS Web/SNMP Card V4.26<br>I get the following :<br>battery.charge: 100.0<br>battery.runtime: 23040.0<br>battery.runtime.low: 2<br>battery.voltage: 26.3<br>
<a href="http://driver.name">driver.name</a>: snmp-ups<br>driver.parameter.mibs: ietf<br>driver.parameter.pollinterval: 2<br>driver.parameter.port: <a href="http://166.99.224.144">166.99.224.144</a><br>driver.version: 2.2.2<br>
driver.version.internal: 0.421 (mib: ietf 1.2)<br>input.frequency: 50.0<br>input.phases: 1.0<br>input.voltage: 236.0<br>output.frequency: 50.0<br>output.phases: 1.0<br>output.realpower: 0.3<br>output.voltage: 230.0<br>ups.firmware: FP: 2.60 INV: 2.60<br>
ups.firmware.aux: ConnectUPS Web/SNMP Card V4.26<br>ups.load: 0.0<br>ups.mfr: Powerware Corporation<br>ups.model: PW9120<br>ups.power: 3.0<br>ups.serial: ID: RA384A0447 , Msg: 05147361-5591 <br>ups.status: OL<br><br>
It seems that your missing data are there.<br>Can you make a test with 2.2.2 to check?<br>If there is no changes, can you send back an smpwalk of the ietf mib and the powerware mibs please?<br><br>thanks,<br>Arnaud<br><br>
<div class="gmail_quote">2008/6/16 Comtois, Luc <<a href="mailto:lcomtois@ebarrette.com">lcomtois@ebarrette.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="FR-CA">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Bonjour Arnaud,</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA">Both servers are using ietf, here is what I am getting form the
2 versions:</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">***** OLD 0.41*****</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> battery.runtime: 1080.0</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> battery.runtime.low: 3</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> battery.voltage: 154.0</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> <a href="http://driver.name" target="_blank">driver.name</a>: snmp-ups</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> driver.parameter.mibs: ietf</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> driver.parameter.port: <a href="http://172.30.1.48" target="_blank">172.30.1.48</a></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> driver.version: 2.0.5</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> driver.version.internal: 0.41</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">*Lost* input.frequency: 60.0</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">*Lost* input.voltage: 115.0</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">*Lost* output.voltage: 120.0</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ups.firmware: ConnectUPS Web/SNMP Card V4.20</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ups.firmware.aux: FP: 1.70</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">*Lost* ups.load: 81.0 </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ups.mfr: Powerware Corporation</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ups.model: Powerware Profile</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ups.power: 2290.0</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ups.status: OL</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ***** NEW 0.42 ******</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> battery.runtime: 1080.0</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> battery.runtime.low: 3</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> battery.voltage: 154.0</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> <a href="http://driver.name" target="_blank">driver.name</a>: snmp-ups</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> driver.parameter.mibs: ietf</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">*new* driver.parameter.pollinterval: 2</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> driver.parameter.port: <a href="http://172.30.1.48" target="_blank">172.30.1.48</a></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> driver.version: 2.2.1-</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> driver.version.internal: 0.42 (mib: ietf 1.2)</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">*new* input.phases: 2.0</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">*new* output.frequency: 59.9</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">*new* output.phases: 2.0</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ups.firmware: FP: 1.70</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ups.firmware.aux: ConnectUPS Web/SNMP Card V4.20</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ups.mfr: Powerware Corporation</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ups.model: Powerware Profile</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ups.power: 2344.0</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">*new* ups.serial: ID: TV115W0011, Msg: PF0821114UE0000</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> ups.status: OL</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Luc Comtois</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> Arnaud Quette
[mailto:<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>] <br>
<b>Sent:</b> June-13-08 9:29 AM<br>
<b>To:</b> Comtois, Luc<br>
<b>Cc:</b> <a href="mailto:nut-upsdev@lists.alioth.debian.org" target="_blank">nut-upsdev@lists.alioth.debian.org</a><br>
<b>Subject:</b> <a href="mailto:lcomtois@ebarrette.com" target="_blank">lcomtois@ebarrette.com</a> - Bayesian Filter detected spam - Re:
[Nut-upsdev] Nut-snmp 0.42 vs 0.41</span></p>
</div>
<p> </p>
<p style="margin-bottom: 12pt;">Bonjour Luc,</p>
<div>
<p>2008/6/12 Comtois, Luc <<a href="mailto:lcomtois@ebarrette.com" target="_blank">lcomtois@ebarrette.com</a>>:</p>
<div>
<div>
<p>I am using nut-snmp driver on ubuntu 8.04 to query a Powerware ConnectUPS
Web/SNMP Card V4.20.</p>
<p> </p>
<p>With 0.41 I used to be able to query these field that are now gone with
0.42:</p>
<p> </p>
<p>input.frequency</p>
<p>input.voltage</p>
<p>output.voltage</p>
<p>ups.load</p>
<p> </p>
<p>Any idea how I can get ups.load back ?</p>
</div>
</div>
</div>
<p>without having dug (I've not taken care of this driver for
an eternity), you're possibly using the Powerware mib (at least implicitly by
not specifying otherwise), while the ietf one mgith be more suitable to get the
needed data...<br>
you should see which mib is used from the upsc output.<br>
and you can override this by adding "mibs=ietf" in your ups.conf.<br>
<br>
I'm currently firing up a pw with such a card to check and continue my training
on these products. The above assertion seems confirmed...<br>
<br>
Arnaud<br>
-- <br>
Linux / Unix Expert R&D - MGE Office Protection Systems - <a href="http://www.mgeops.com" target="_blank">http://www.mgeops.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://people.debian.org/%7Eaquette/" target="_blank">http://people.debian.org/~aquette/</a><br>
Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><font color="#888888">
--<br>
Conseiller Municipal - Saint Bernard du Touvet -<br>
<a href="http://www.SaintBernardDuTouvet.fr/" target="_blank">http://www.SaintBernardDuTouvet.fr/</a><br>
en charge de la Communication, de l'Informatique et des Technologies </font></p>
</div>
</div>
</blockquote></div><br><br>