On 8/11/06, Martin GK NUT mailling list <[EMAIL PROTECTED]> wrote:
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

Approximately when were the Perl bindings last updated?

Prior to the 2.0 series, there was a non-hierarchical list of
variables, and I believe some other aspects of the protocol changed as
well.

Details are in docs/protocol.txt.

If there is sufficient interest, we could use SWIG to generate
Perl/Python/language-du-jour bindings from libupsclient.

--
- Charles Lepple

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to