[Nut-upsdev] Snmp-ups/netvision driver for Socomec UPS

Arnaud Quette aquette.dev at gmail.com
Tue May 15 08:19:57 UTC 2012


2012/5/14 Ivan Kuznetsov <kia at solvo.ru>:
> Hello Arnaud

Hello Ivan,

> I can confirm that version 2.6.3 with the patch succeffully works with
> Socomec NetVision Web/SNMP adaptor.

ok, I've applied your original patch only (Ie "9" for ecomode) to the
trunk, r590.
thanks

> The adaptor shows the projected battery runtime
> (1.3.6.1.4.1.4555.1.1.1.1.2.3.0) only in 1 minute intervals and constantly
> returns -60 (-1 minute) when UPS is on line power. The "Low battery" flag is
> raised when runtime is last 1 min. It can be too little for some
> applications to shut down but I can't find an adjustment method.
>
> I'm still not know what is output status 8 (standby).

standby is another word for "offline" type UPS:
http://en.wikipedia.org/wiki/Uninterruptible_power_supply#Offline_.2F_standby

in your context, this may either be the type of the UPS, or a mode (as
for the ecomode) in which the UPS is running (Ie lower quality, but a
bit more efficient)

> 24.04.2012 17:59, Arnaud Quette пишет:
>>
>>
>> 2012/4/16 Ivan Kuznetsov <kia at solvo.ru <mailto:kia at solvo.ru>>
>>
>>
>>    Hello
>>
>>
>> Hello Ivan,
>>
>>    We have an Socomec Sicon Netys PR3000 UPS equipped with NetVision
>>    Web/SNMP adaptor. I try to monitor the ups using snmp-ups driver and
>>    netvision mibs set. The snmp-ups driver starts correctly and
>>    connects to the UPS, upsd confirms it, but upsmon constantly shows
>>    "No communication" error
>>
>>    I think the cause is the SNMP adapter reports the UPS status as "ECO
>>    mode" (snmpget .1.3.6.1.4.1.4555.1.1.1.1.4.1.__0 returns 9), but
>>
>>    snmp-ups does not correctly process this. Here is output of
>>    'snmp-ups -a socomec -u nut -D':
>>
>>    Network UPS Tools - Generic SNMP UPS driver 0.50 (2.6.1)
>>       0.000000     debug level is '1'
>>       0.000260     SNMP UPS driver : entering upsdrv_initups()
>>       0.027868     load_mib2nut: trying netvision mib
>>       0.029798     load_mib2nut: using netvision mib
>>       0.031731     Detected NETYS 3 kVA on host 192.168.0.227 (mib:
>>    netvision 0.1)
>>       0.031751     SNMP UPS driver : entering upsdrv_initinfo()
>>       0.031785     getting data: ups.mfr
>>    (.1.3.6.1.4.1.4555.1.1.1.1.1.__3.0)
>> (...)

why are these OIDs exposing "__"?

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/



More information about the Nut-upsdev mailing list