<p>Hi Arnaud,</p>
<p>Sure I am willing to take this up. Will need guidance on how to get started as I am new to doing stuff like SNMP walks.<br>
Just lead the way :) .<br>
</p>
<div class="gmail_quote">On Mar 23, 2011 5:29 PM, &quot;Arnaud Quette&quot; &lt;<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>&gt; wrote:<br type="attribution">&gt; Hi John,<br>&gt; <br>&gt; 2011/3/16 John Huong &lt;<a href="mailto:jahuong@gmail.com">jahuong@gmail.com</a>&gt;<br>
&gt; <br>&gt;&gt; Hi,<br>&gt;&gt;<br>&gt;&gt; Just started using NUT with a Liebert PSI-XR 3000 with an Intellislot web<br>&gt;&gt; card.<br>&gt;&gt;<br>&gt;&gt; It seems I can&#39;t get it to run properly.<br>&gt;&gt;<br>
&gt;&gt; I am using NUT 2.6.0 built from source on Ubuntu 8.0.4 .<br>&gt;&gt;<br>&gt;&gt; My build parameters are :<br>&gt;&gt;<br>&gt;&gt; ./configure --enable-strip<br>&gt;&gt; --with-linux-hiddev=/usr/include/linux/hiddev.h<br>
&gt;&gt; --with-udev-dir=/lib/udev \<br>&gt;&gt;            --prefix=/usr \<br>&gt;&gt;            --exec-prefix=/ \<br>&gt;&gt;            --sysconfdir=/etc/nut \<br>&gt;&gt;            --mandir=/usr/share/man \<br>&gt;&gt;            --libdir=/lib \<br>
&gt;&gt;            --includedir=/usr/include \<br>&gt;&gt;            --without-ssl \<br>&gt;&gt;            --with-dev \<br>&gt;&gt;            --enable-static \<br>&gt;&gt;            --with-statepath=/var/run/nut \<br>
&gt;&gt;            --with-altpidpath=/var/run/nut \<br>&gt;&gt;            --with-drvpath=/lib/nut \<br>&gt;&gt;            --with-htmlpath=/usr/share/nut/www \<br>&gt;&gt;            --with-pidpath=/var/run/nut \<br>&gt;&gt;            --datadir=/usr/share/nut \<br>
&gt;&gt;            --with-pkgconfig-dir=/usr/lib/pkgconfig \<br>&gt;&gt;            --with-user=nut --with-group=nut<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; I get this when I run upsdrvctl start<br>&gt;&gt;<br>&gt;&gt; Detected LiebertPSI on host 192.168.0.11 (mib: ietf 1.3)<br>
&gt;&gt; [liebertpsiweb] unhandled ASN 0x6 recieved from 1.3.6.1.2.1.33.1.7.1.0<br>&gt;&gt;<br>&gt;&gt; Then when I run /etc/init.d/nut I get<br>&gt;&gt;<br>&gt;&gt;  * Starting Network UPS Tools                                            [<br>
&gt;&gt; OK ]<br>&gt;&gt;<br>&gt;&gt; Broadcast Message from <a href="mailto:nut@mail.sop.com.my">nut@mail.sop.com.my</a><br>&gt;&gt;        (somewhere) at 1:02 ...<br>&gt;&gt;<br>&gt;&gt; Communications with UPS liebertpsiweb@localhost lost<br>
&gt;&gt;<br>&gt;&gt; Running upsc liebertpsiweb@localhost gets me :<br>&gt;&gt;<br>&gt;&gt; battery.charge: 100.00<br>&gt;&gt; battery.current: 0.00<br>&gt;&gt; battery.runtime: 0.00<br>&gt;&gt; battery.runtime.low: 120.00<br>
&gt;&gt; battery.temperature: 30.00<br>&gt;&gt; battery.voltage: 55.00<br>&gt;&gt; beeper.status: enabled<br>&gt;&gt; device.mfr: Emerson Network Power<br>&gt;&gt; device.model: LiebertPSI<br>&gt;&gt; device.type: ups<br>
&gt;&gt; <a href="http://driver.name">driver.name</a>: snmp-ups<br>&gt;&gt; driver.parameter.mibs: auto<br>&gt;&gt; driver.parameter.pollinterval: 2<br>&gt;&gt; driver.parameter.port: 192.168.0.11<br>&gt;&gt; driver.version: 2.6.0<br>
&gt;&gt; driver.version.internal: 0.50 (mib: ietf 1.3)<br>&gt;&gt; input.bypass.phases: 0.00<br>&gt;&gt; input.current: 0.00<br>&gt;&gt; input.frequency: 50.00<br>&gt;&gt; input.frequency.nominal: 50.00<br>&gt;&gt; input.phases: 1.00<br>
&gt;&gt; input.realpower: 0.00<br>&gt;&gt; input.transfer.high: 0.00<br>&gt;&gt; input.transfer.low: 0.00<br>&gt;&gt; input.voltage: 247.00<br>&gt;&gt; input.voltage.nominal: 2300.00<br>&gt;&gt; output.current: 0.00<br>&gt;&gt; output.frequency: 50.00<br>
&gt;&gt; output.frequency.nominal: 50.00<br>&gt;&gt; output.phases: 1.00<br>&gt;&gt; output.power.nominal: 0.00<br>&gt;&gt; output.realpower: 0.00<br>&gt;&gt; output.realpower.nominal: 0.00<br>&gt;&gt; output.voltage: 249.00<br>
&gt;&gt; output.voltage.nominal: 2300.00<br>&gt;&gt; ups.firmware: EX000842<br>&gt;&gt; ups.firmware.aux: 2.39.CP504.ABE.00<br>&gt;&gt; ups.load: 17.00<br>&gt;&gt; ups.mfr: Emerson Network Power<br>&gt;&gt; ups.model: LiebertPSI<br>
&gt;&gt; ups.start.auto: no<br>&gt;&gt; ups.status:<br>&gt;&gt; ups.test.result: done and passed<br>&gt;&gt; ups.timer.reboot: -1<br>&gt;&gt; ups.timer.shutdown: -1<br>&gt;&gt; ups.timer.start: -1<br>&gt;&gt;<br>&gt;&gt; What can I do or is this particular model not supported?<br>
&gt;&gt;<br>&gt; <br>&gt; the support for this unit, and more generally Liebert SNMP support, doesn&#39;t<br>&gt; yet exist.<br>&gt; <br>&gt; the best for you is to check the MIB(s) supported, since Liebert may provide<br>
&gt; its own, with a basic RFC 1628 (aka IETF MIB) supplement.<br>&gt; <br>&gt; if you&#39;re willing to work on this, we will help you.<br>&gt; The idea is to create a lookup table between SNMP data and values to the NUT<br>
&gt; ones, as done for example here (look for &quot;snmp_info_t&quot;):<br>&gt; <a href="http://svn.debian.org/wsvn/nut/trunk/drivers/eaton-mib.c">http://svn.debian.org/wsvn/nut/trunk/drivers/eaton-mib.c</a><br>&gt; <br>&gt; So, send us back an SNMP walk of the device, and start checking for creating<br>
&gt; this mapping.<br>&gt; Note that you may want to work with Philip Tait<br>&gt; <a href="http://lists.alioth.debian.org/pipermail/nut-upsdev/2011-February/005255.html">http://lists.alioth.debian.org/pipermail/nut-upsdev/2011-February/005255.html</a><br>
&gt; <a href="http://lists.alioth.debian.org/pipermail/nut-upsdev/2011-February/005263.html">http://lists.alioth.debian.org/pipermail/nut-upsdev/2011-February/005263.html</a><br>&gt; <br>&gt; Have a special look at the 2nd thread!<br>
&gt; <br>&gt; cheers,<br>&gt; Arnaud<br>&gt; -- <br>&gt; Linux / Unix Expert R&amp;D - Eaton - <a href="http://powerquality.eaton.com">http://powerquality.eaton.com</a><br>&gt; Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>
&gt; Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>&gt; Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br></div>