[Nut-upsuser] SNMP UPS: NETYS RT 1/1 UPS

Ing. Ján ONDREJ jan.ondrej at upjs.sk
Mon Oct 15 07:38:02 UTC 2012


Hello,

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 have also an NetVision-5.01-5.0x-unix.mib file, which doesn't help too.

When trying to force netvision driver to snmp-ups command, it fails with:

[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(.1.3.6.1.4.1.4555.1.1.1.1.1.1.0)
   0.059889     [local] unhandled ASN 0x5 received from .1.3.6.1.4.1.4555.1.1.1.1.1.1.0
   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.

				SAL

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 results. 
> 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 snmp
> > 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 '.1.3.6.1.4.1.2254.2.4'!
> > Please report it to NUT developers, with an 'upsc' output for your device.
> > 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 1.3.6.1.2.1.33.1.2.3.0
> > [local] unhandled ASN 0x5 received from 1.3.6.1.2.1.33.1.2.6.0
> > [local] unhandled ASN 0x5 received from 1.3.6.1.2.1.33.1.3.3.1.4.1
> > [local] unhandled ASN 0x5 received from 1.3.6.1.2.1.33.1.3.3.1.5.1
> > [local] unhandled ASN 0x5 received from 1.3.6.1.2.1.33.1.4.4.1.4.1
> > [local] unhandled ASN 0x5 received from 1.3.6.1.2.1.33.1.5.3.1.3.1
> > [local] unhandled ASN 0x5 received from 1.3.6.1.2.1.33.1.5.3.1.4.1
> > [local] unhandled ASN 0x5 received from 1.3.6.1.2.1.33.1.5.3.1.5.1
> > [local] unhandled ASN 0x5 received from 1.3.6.1.2.1.33.1.6.3.8
> > [local] unhandled ASN 0x6 received from 1.3.6.1.2.1.33.1.7.1.0
> > [local] unhandled ASN 0x5 received from 1.3.6.1.2.1.33.1.9.6.0
> > [local] unhandled ASN 0x5 received from 1.3.6.1.2.1.33.1.9.7.0
> > [local] unhandled ASN 0x5 received from 1.3.6.1.2.1.33.1.9.9.0
> > [local] unhandled ASN 0x5 received from 1.3.6.1.2.1.33.1.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
> 
> 






More information about the Nut-upsuser mailing list