[Nut-upsuser] Perl UPS::Nut interface

Martin GK NUT mailling list nutmailinglist at orionltd.co.uk
Fri Aug 11 09:45:26 UTC 2006


Hi folks

First posting to this list. I discovered NUT yesterday, and as sysadmin 
of a wide collection of Unix and windows boxes hanging off APC 
Smart-UPSs I think it could help me a lot.

Using NUT version 2.0.4 running on HP Unix 11.00 - it compiled and 
installed fine, and all the basic checks in the INSTALL instructions 
work fine. However, I'd like to bring the information into our main 
intranet so it can be compiled together, and that involves the perl 
UPS::Nut interface.

I'm having problems making initial connections from the perl interface 
to upsd on another machine - the debug output looks as follows:

DEBUG: Attempting login to upsd. DEBUG: Received OK from upsd. DEBUG: 
Login error: upsd reports ERR INVALID-ARGUMENT DEBUG: Sending "LISTVARS 
apcbelsambar" to upsd DEBUG: Received "ERR UNKNOWN-COMMAND" from upsd. 
DEBUG: Object destroyed. DEBUG: Sent LOGOUT to upsd DEBUG: Received "OK 
Goodbye" from upsd

Looking at the syslog on the machine running upsd, I can see the 
connection come in and close again, but no errors. Is anyone else making 
use of the perl UPS::Nut interface and managing to get a connection?

Thanks

Martin GK



More information about the Nut-upsuser mailing list