[Nut-upsuser] SNMP UPS: NETYS RT 1/1 UPS
aquette.dev at gmail.com
Thu Oct 18 19:02:36 UTC 2012
2012/10/15 Ing. Ján <jan.ondrej at upjs.sk>
thanks for reply. We tested shutdown, but UPS's initial battery capacity is
> 0%, after power loss, battery started to "charge", capacity is increasing.
> When NUT shuts down my server? When UPS is over 95% of it's capacity? :-)
I'm not sure to completely understand the use case and issue!
could you please elaborate?
> I have also an NetVision-5.01-5.0x-unix.mib file, which doesn't help too.
was it provided with the unit?
could you please send the MIB file, provided with your device, in
a quick search on the net led me to the Delta MIB:
When trying to force netvision driver to snmp-ups command, it fails with:
this is a different 'netvision', for Socomec units.
> [root at kvm1 ~]# snmp-ups -a local -x mibs=netvision -DDDDD
> Network UPS Tools - Generic SNMP UPS driver 0.66 (2.6.4)
> 0.000000 debug level is '5'
> 0.000380 SNMP UPS driver : entering upsdrv_initups()
> 0.000396 SNMP UPS driver : entering nut_snmp_init(snmp-ups)
> 0.051354 SNMP UPS driver : entering load_mib2nut(netvision)
> 0.051374 load_mib2nut: trying classic method with 'netvision' mib
> 0.051383 Entering nut_snmp_get_str()
> 0.051390 nut_snmp_get(.220.127.116.11.4.1.4518.104.22.168.22.214.171.124)
> 0.059889 [local] unhandled ASN 0x5 received from
> 0.059933 Unknown mibs value: netvision
> I also tested an older version of SNMP interface for this UPS, but looks
> like there are communication problems between UPS and older SNMP interface.
> With this new one I can see actual values over web interface, but not using
> snmp-ups driver.
there is no need to do so.
while your UPS also provide data using a proprietary MIB, it also support
(partially) the IETF MIB, as seen in your first mail.
your unit seems well detected and supported, minus a few things.
your battery.charge is indeed "0 %", but the OID serving it is there, so we
have no way to determine that it's buggy.
on the UPS shutdown, everything is explained here:
the conclusion is that, as told by Gregor, your unit should not have any
issue with the shutdown.
but it's true that the support of your unit with the IETF MIB is not fully
a better support could come from the proprietary MIB, but I've personally
no time to devote to this currently.
that said, the task is not that hard, even for a non-programmer.
if you to have a run, let me know.
otherwise, drop the following output (in compressed form) on the list, for
potential future processing:
$ snmpwalk -v1 -c XXX 192.168.14.10 .126.96.36.199.4.1.2254.2.4
$ snmpwalk -Os -v1 -c XXX 192.168.14.10 .188.8.131.52.4.1.2254.2.4
the latter will requires the MIB file to actually display the OID string
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.fr
> On Mon, Oct 15, 2012 at 07:27:30AM +0000, Friedrich, Gregor wrote:
> > Hello
> > I have the same problem. There are 2 MIBs shipped with the ups
> (attached). I copied these in /usr/share/netsnmp/mibs folder , but no
> > The general UPS-status (OL...) is supported... automatic shutdown is
> working in my test system.
> > Regards Gregor
> > >
> > > Hello,
> > >
> > > I have an NETYS RT 1/1 UPS, which is not fully supported. Starting
> > > driver displays:
> > >
> > > [root at kvm1 ~]# snmp-ups -a local
> > > Network UPS Tools - Generic SNMP UPS driver 0.66 (2.6.4)
> > > Duplicate driver instance detected! Terminating other driver!
> > > No matching MIB found for sysOID '.184.108.40.206.4.1.2254.2.4'!
> > > Please report it to NUT developers, with an 'upsc' output for your
> > > Going back to the classic MIB detection method.
> > > Detected NETYS RT 1/1 UPS on host 192.168.14.10 (mib: ietf 1.4)
> > > [local] unhandled ASN 0x5 received from 220.127.116.11.18.104.22.168.2.3.0
> > > [local] unhandled ASN 0x5 received from 22.214.171.124.126.96.36.199.2.6.0
> > > [local] unhandled ASN 0x5 received from 188.8.131.52.184.108.40.206.220.127.116.11.1
> > > [local] unhandled ASN 0x5 received from 18.104.22.168.22.214.171.124.126.96.36.199.1
> > > [local] unhandled ASN 0x5 received from 188.8.131.52.184.108.40.206.220.127.116.11.1
> > > [local] unhandled ASN 0x5 received from 18.104.22.168.22.214.171.124.126.96.36.199.1
> > > [local] unhandled ASN 0x5 received from 188.8.131.52.184.108.40.206.220.127.116.11.1
> > > [local] unhandled ASN 0x5 received from 18.104.22.168.22.214.171.124.126.96.36.199.1
> > > [local] unhandled ASN 0x5 received from 188.8.131.52.184.108.40.206.6.3.8
> > > [local] unhandled ASN 0x6 received from 220.127.116.11.18.104.22.168.7.1.0
> > > [local] unhandled ASN 0x5 received from 22.214.171.124.126.96.36.199.9.6.0
> > > [local] unhandled ASN 0x5 received from 188.8.131.52.184.108.40.206.9.7.0
> > > [local] unhandled ASN 0x5 received from 220.127.116.11.18.104.22.168.9.9.0
> > > [local] unhandled ASN 0x5 received from 22.214.171.124.126.96.36.199.9.10.0
> > >
> > > Here is output of upsc command:
> > >
> > > [root at kvm1 ~]# /etc/init.d/ups start
> > > Spustenie ovládača radiča UPS: [ OK ]
> > > Spustenie upsd: [ OK ]
> > > Spustenie sledovania UPS (server): [ OK ]
> > > [root at kvm1 ~]# upsc local
> > > battery.charge: 0.00
> > > battery.temperature: 33.00
> > > battery.voltage: 55.00
> > > device.mfr: Delta
> > > device.model: NETYS RT 1/1 UPS
> > > device.type: ups
> > > driver.name: snmp-ups
> > > driver.parameter.pollinterval: 2
> > > driver.parameter.port: 192.168.14.10
> > > driver.version: 2.6.4
> > > driver.version.internal: 0.66 (mib: ietf 1.4)
> > > input.bypass.frequency: 49.90
> > > input.bypass.phases: 1.00
> > > input.frequency: 49.90
> > > input.frequency.nominal: 5.00
> > > input.phases: 1.00
> > > input.voltage: 2320.00
> > > input.voltage.nominal: 230.00
> > > output.current: 2.30
> > > output.frequency: 49.90
> > > output.frequency.nominal: 5.00
> > > output.phases: 1.00
> > > output.power.nominal: 2200.00
> > > output.voltage: 2290.00
> > > output.voltage.nominal: 230.00
> > > ups.beeper.status: enabled
> > > ups.firmware: 1.1
> > > ups.firmware.aux: 2.0h
> > > ups.load: 300.00
> > > ups.mfr: Delta
> > > ups.model: NETYS RT 1/1 UPS
> > > ups.status: OL
> > > ups.test.result: done and passed
> > > ups.timer.reboot: 0
> > > ups.timer.shutdown: 0
> > > ups.timer.start: 0
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nut-upsuser