[Nut-upsuser] Perl UPS::Nut interface

Arnaud Quette aquette.dev at gmail.com
Fri Aug 11 19:58:29 UTC 2006


[very last mail check before going away from the net, far, far in the
french alps...]

2006/8/11, Charles Lepple <clepple at gmail.com>:
> 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.

I'm thinking about it for some time, and I think that will however be usefull.
Can you log a task on alioth, and maybe take over the subject?

Arnaud
-- 
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/



More information about the Nut-upsuser mailing list