[Nut-upsuser] Connectiion to UPS via SNMP
Daniel Haas
spass.haas at web.de
Thu Aug 3 07:51:49 UTC 2006
Hi NUT-Users,
we work with a GE LP 33 UPS and an Advanced SNMP WEB Interface Card. This card supports the RFC1628 Definition.
So I think this combination work together with NUT and the snmp-driver, correct?
I installed the networkupstools on my Debian Sarge with apt-get (nut & nut-snmp).
After configuration I start the upsd and upsmon. I get following output in /var/log/syslog:
...
Aug 3 08:40:44 localhost upsd[1321]: Connected to UPS [snmp]: snmp-ups-136.8.4.14
Aug 3 08:40:44 localhost snmp-ups[1320]: Startup successful
Aug 3 08:40:44 localhost upsd[1321]: Data for UPS [snmp] is stale - check driver
Aug 3 08:40:44 localhost upsd[1322]: Startup successful
Aug 3 08:40:44 localhost upsmon[1324]: Startup successful
Aug 3 08:40:44 localhost upsmon[1325]: UPS [snmp at 136.8.4.14]: connect failed: Connection failure: Connection refused
Aug 3 08:40:44 localhost upsmon[1325]: Communications with UPS snmp at 136.8.4.14 lost
Aug 3 08:40:49 localhost upsmon[1325]: UPS [snmp at 136.8.4.14]: connect failed: Connection failure: Connection refused
Aug 3 08:40:49 localhost upsmon[1325]: UPS snmp at 136.8.4.14 is unavailable
Aug 3 08:40:54 localhost upsmon[1325]: UPS [snmp at 136.8.4.14]: connect failed: Connection failure: Connection refused
Aug 3 08:41:14 localhost last message repeated 4 times
Aug 3 08:41:16 localhost upsd[1322]: UPS [snmp] data is no longer stale
Aug 3 08:41:19 localhost upsmon[1325]: UPS [snmp at 136.8.4.14]: connect failed: Connection failure: Connection refused
...
After reading the NGs, I checked my ups.conf. I tested some more arguments (which should be Default)
[GE_LP33]
driver=snmp-ups
port=192.168.178.25
#mib=ietf
#community=public
--> I get the same error on syslog
After that I tested the access to the UPS via snmp
snmpwalk -c public -v 1 -Os 192.168.178.25
--> I get all the information of the MIB.
So what else can I do?
I also read in this NG, that it is not possible to shutdown the servers via NUT (upsmon) and SNMP. Is this correct?
It is very important for me, because thats exactly what I want to do.
Thanks for your help
Daniel
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
More information about the Nut-upsuser
mailing list