[Nut-upsuser] Perl UPS::Nut interface

Charles Lepple clepple at gmail.com
Fri Aug 11 12:53:08 UTC 2006


On 8/11/06, Martin GK NUT mailling list <nutmailinglist at orionltd.co.uk> 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



More information about the Nut-upsuser mailing list