Hi Mathieu,<br><br><div class="gmail_quote">2011/11/7 Mathieu Simon <span dir="ltr"><<a href="mailto:mathieu.sim@gmail.com" target="_blank">mathieu.sim@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
G'day<br>
<br>
I'm currently using NUT on Debian squeeze box in the same subnet with an IBM<br>
3000 HV (branded Eaton 5125 with Web/SNMP card), now I wanted to get our<br>
storage appliance running NexentaStor 3.1 set up to be using NUT too. Nexenta-<br>
Stor is an OpenSolaris / illumos-based appliance OS currently using<br>
NUT packages<br>
from ubuntu hardy.<br>
<br>
My question here is whether I'm running into a<br>
- network configuration (Firewall) problem?<br>
- config error?<br>
- problem in the package?<br>
<br>
NUT version: 2.4.1<br>
Packages installed: snmp, nut, nut-snmp<br>
OS: SunOS 5.11 NexentaOS_134f (NexentaStor 3.1.1)<br>
<br>
I have set up the IBM in ups.conf as follows<br>
[ibm3000_1]<br>
driver = snmp-ups<br>
port = <ip-of-ups><br>
mibs = pw<br>
pollfreq = 30<br>
community = public<br>
snmp_version = v1<br>
desc = "Rack 1: main network ups"<br>
<br>
When I startt NUT, dmesg spits out, before SMF turns nut into maintenance:<br>
Nov 7 13:36:05 museion upsd[18640]: [ID 702911 daemon.error] Can't<br>
connect to UPS [ibm3000_1] (snmp-ups-ibm3000_1): No such file or<br>
directory<br>
<br>
When launching snmp-ups driver directly using I get<br>
root@nexenta1:/# /lib/nut/snmp-ups -D -a ibm3000_1<br>
Network UPS Tools - Generic SNMP UPS driver 0.44 (2.4.1)<br>
debug level is '1'<br>
SNMP UPS driver : entering upsdrv_initups()<br>
load_mib2nut: using pw mib<br>
pw MIB wasn't found on <ip-of-ups><br>
<br>
Network: The UPS is in another subnet. Our network guy has opened port 161 betwe<br>
en the 2 boxes, and I can also do a 'snmpget' from nexenta<br>
and fetch some data with an OID of the UPS. i.e.:<br>
root@nexenta1:/# snmpget -v1 -c public <ip-of-ups> .1.3.6.1.4.1.534.1.6.1.0<br>
SNMPv2-SMI::enterprises.534.1.6.1.0 = INTEGER: 35 (which is the battery temp)<br>
<br>
If anyone could point me in the right direction, how to debug further,<br>
I'd be grateful.<br></blockquote></div><br>first of all, IBM support in NUT is still on my (Eaton) TODO list...<br><br>I've (very) quickly looked at it, and should be able to provide something quickly.<br>That said:<br>
- the sysOID is buggy (fix scheduled) and pointing wrongly the MGE MIB (iso.3.6.1.4.1.705.1), which is not implemented on this device.<br><br>Moreover, the NUT version you're using is using a simple "try and fail" test, that tries to match against ".1.3.6.1.4.1.534.1".<br>
And this OID is also not available:<br>$ snmpget -v1 -c public <ip-of-ups> .1.3.6.1.4.1.534.1<br>
Error in packet<br>Reason: (noSuchName) There is no such variable name in this MIB.<br>
Failed object: iso.3.6.1.4.1.534.1<br><br>I'll check all this when I have a bit more time, and will update you as soon as possible.<br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&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>