[Nut-upsuser] APC Smart-UPS 1000

Kevin bakdong at gmail.com
Tue Feb 8 05:12:16 UTC 2011


On 07/02/2011 15:36, Arjen de Korte wrote:
> Citeren Kevin <bakdong at gmail.com>:
>
>> On 06/02/2011 21:42, Kevin wrote:
>> Ok, I've tried that. The result of "clientcmd -u apcmon -p pass123 -a 
>> apc1500 shutdown.reboot" is nothing. Nothing that I can see changes 
>> at all.
>
> Of course. Do as I asked you and it *will* make a difference.

You are quite right! I now have this line in apc-hid.c:

  { "shutdown.return", 0, 0, 
"UPS.APCGeneralCollection.APCDelayBeforeReboot", NULL, "1", HU_TYPE_CMD, 
NULL },

and get this result:

# clients/upscmd -u apcmon -p pass123 apc1500 shutdown.return
Unexpected response from upsd: ERR CMD-NOT-SUPPORTED


I have attached the output of "usbhid-ups -a apc1500 -k -DDD > 
CS500shutdown.txt 2>&1" in case it is of value.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CS500Shutdown.return.txt.zip
Type: application/x-zip-compressed
Size: 3940 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110208/5e71c2ea/attachment.bin>


More information about the Nut-upsuser mailing list