I've missed one more comment (see the end of the mail) 2011/11/8 Arnaud Quette <[email protected]>
> Hi Mathieu, > > > 2011/11/7 Mathieu Simon <[email protected]> > >> G'day >> >> I'm currently using NUT on Debian squeeze box in the same subnet with an >> IBM >> 3000 HV (branded Eaton 5125 with Web/SNMP card), now I wanted to get our >> storage appliance running NexentaStor 3.1 set up to be using NUT too. >> Nexenta- >> Stor is an OpenSolaris / illumos-based appliance OS currently using >> NUT packages >> from ubuntu hardy. >> >> My question here is whether I'm running into a >> - network configuration (Firewall) problem? >> - config error? >> - problem in the package? >> >> NUT version: 2.4.1 >> Packages installed: snmp, nut, nut-snmp >> OS: SunOS 5.11 NexentaOS_134f (NexentaStor 3.1.1) >> >> I have set up the IBM in ups.conf as follows >> [ibm3000_1] >> driver = snmp-ups >> port = <ip-of-ups> >> mibs = pw >> pollfreq = 30 >> community = public >> snmp_version = v1 >> desc = "Rack 1: main network ups" >> >> When I startt NUT, dmesg spits out, before SMF turns nut into maintenance: >> Nov 7 13:36:05 museion upsd[18640]: [ID 702911 daemon.error] Can't >> connect to UPS [ibm3000_1] (snmp-ups-ibm3000_1): No such file or >> directory >> >> When launching snmp-ups driver directly using I get >> root@nexenta1:/# /lib/nut/snmp-ups -D -a ibm3000_1 >> Network UPS Tools - Generic SNMP UPS driver 0.44 (2.4.1) >> debug level is '1' >> SNMP UPS driver : entering upsdrv_initups() >> load_mib2nut: using pw mib >> pw MIB wasn't found on <ip-of-ups> >> >> Network: The UPS is in another subnet. Our network guy has opened port >> 161 betwe >> en the 2 boxes, and I can also do a 'snmpget' from nexenta >> and fetch some data with an OID of the UPS. i.e.: >> root@nexenta1:/# snmpget -v1 -c public <ip-of-ups> >> .1.3.6.1.4.1.534.1.6.1.0 >> SNMPv2-SMI::enterprises.534.1.6.1.0 = INTEGER: 35 (which is the battery >> temp) >> >> If anyone could point me in the right direction, how to debug further, >> I'd be grateful. >> > > first of all, IBM support in NUT is still on my (Eaton) TODO list... > > I've (very) quickly looked at it, and should be able to provide something > quickly. > That said: > - 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. > > 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". > And this OID is also not available: > > $ snmpget -v1 -c public <ip-of-ups> .1.3.6.1.4.1.534.1 > Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: iso.3.6.1.4.1.534.1 > > I'll check all this when I have a bit more time, and will update you as > soon as possible. > <http://arnaud.quette.free.fr/> IETF MIB is also implemented, so in the meantime, you will be able to use it (with "mibs = ietf" in ups.conf) and get the following output: battery.charge: 92.00 battery.current: 0.00 battery.runtime: 21420.00 battery.runtime.low: 180.00 battery.temperature: 0.00 battery.voltage: 41.00 beeper.status: enabled device.mfr: IBM device.model: IBM 1440VA/1000W Rack HV UPS device.type: ups driver.name: snmp-ups driver.parameter.mibs: ietf driver.parameter.pollinterval: 2 driver.parameter.port: 166.99.224.166 driver.version: 2.6.1 driver.version.internal: 0.50 (mib: ietf 1.3) input.bypass.phases: 0.00 input.current: 0.00 input.frequency: 49.90 input.frequency.nominal: 50.00 input.phases: 1.00 input.realpower: 0.00 input.transfer.high: 286.00 input.transfer.low: 160.00 input.voltage: 239.00 input.voltage.nominal: 230.00 output.current: 0.00 output.frequency: 0.00 output.frequency.nominal: 50.00 output.phases: 1.00 output.power.nominal: 1440.00 output.realpower: 0.00 output.realpower.nominal: 1000.00 output.voltage: 0.00 output.voltage.nominal: 230.00 ups.firmware: INV: 01.02.0012 ups.firmware.aux: Network Management Card V6.00 01.05.0001 ups.load: 0.00 ups.mfr: IBM ups.model: IBM 1440VA/1000W Rack HV UPS ups.start.auto: yes ups.status: OFF ups.test.result: done and passed ups.timer.reboot: -1 ups.timer.shutdown: -1 ups.timer.start: -1 Note that I haven't made any tests, so feedback is welcome. cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

