On Wed, Jun 30, 2010 at 08:30:38PM -0400, Charles Lepple wrote:
> On Jun 25, 2010, at 8:56 AM, Henk van Lingen wrote:
> 
> >in ups.conf. I can read the variables using upsc. However it seems,
> >I can't actually execute  commands on the UPSses this way.
> >( upscmd  some-ups calibrate.start )
> 
> Some things I probably should have asked earlier:
> 
> 1) Is this command actually listed in the output of "upscmd -l"?

No, it lists no commands at all:

h...@swizzy:~-$ upscmd  -l snmp
Instant commands supported on UPS [snmp]:

h...@swizzy:~-$ 

Hence my initial question about any commands being available by the
way of the snmp driver.

> 2) Are you including the appropriate username/password parameters to
> upscmd? (I see two spaces after upscmd, as though you removed your
> username and password, but I figure it can't hurt to ask.)

No, but it asks for them, and I give the ones which i have in upsd.users:

h...@swizzy:~-$ upscmd snmp calibrate.start 
Username (henk): ****
Password: 
Instant command failed: Instant command not supported
h...@swizzy:~-$ 

> 3) Are there any log messages from upsd?

No.

Regards,
-- 
+----------------------------------------------------------------------+
|  (o-  Henk van Lingen                       Utrecht, The Netherlands |
|  /\                                       http://henk.vanlingen.net/ |
| v_/_                              http://www.tuxtown.net/netiquette/ |
+ Using Outlook ? -> http://home.in.tum.de/~jain/software/oe-quotefix/ +

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

Reply via email to