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@136.8.4.14]: connect failed: Connection failure: Connection refused Aug 3 08:40:44 localhost upsmon[1325]: Communications with UPS snmp@136.8.4.14 lost Aug 3 08:40:49 localhost upsmon[1325]: UPS [snmp@136.8.4.14]: connect failed: Connection failure: Connection refused Aug 3 08:40:49 localhost upsmon[1325]: UPS snmp@136.8.4.14 is unavailable Aug 3 08:40:54 localhost upsmon[1325]: UPS [snmp@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@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
Ok tor 2006-08-03 klockan 11:29 +0200 skrev Daniel Haas: 8<------snip-----> > > > Looks like you have to check your upsmon.conf. You should be > > monitoring GE_LP33@136.8.4.14 not smnp. Also check the ACl in > > upsd.conf if you run the monitor on another computer then the > > upsd. > > Sorry. I sent you an old ups.conf. I changed the name for Troubleshooting. Here is the actual one: > [snmp] > driver = snmp-ups > port = 136.8.4.14 >That is ok.> And here are my other (actual) configs: > > upsd.conf > ACL all 0.0.0.0/0 > ACL localhost 127.0.0.1/32 > ACL mynet 136.8.4.0/255.255.252.0 > ACCEPT localhost mynet > REJECT all > > upsd.user > [admin] > password = mypass > allowfrom = localhost > actions = SET > instcmds = ALL > > [monuser] > password = mypass > allowfrom = localhost > upsmon master > > upsmon.conf > MONITOR snmp@136.8.4.14 1 monuser mypass master >If you run the monitor on the same machine as the upsd you should have 'MONITOR snmp@localhost 1 monuser mypass master' in the upsmon.conf. The driver is talking to the ups snmpcard then the upsd talk to all the driver and upsmon talk to the upsd. That is why you have an access list to the upsd. If the monitor is on another computer, give the ip to the computer running the upsd and driver. Regards Kjell P.S. Looks like my isp is blocking mail to nut-upsusers list.
tor 2006-08-03 klockan 09:51 +0200 skrev Daniel Haas:> Hi NUT-Users, >Hi Daniel,> 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@136.8.4.14]: connect failed: Connection failure: Connection refused > Aug 3 08:40:44 localhost upsmon[1325]: Communications with UPS snmp@136.8.4.14 lostLooks like you have to check your upsmon.conf. You should be monitoring GE_LP33@136.8.4.14 not smnp. Also check the ACl in upsd.conf if you run the monitor on another computer then the upsd. Best would be to give us all configs. Regards Kjell