[Nut-upsuser] cyberpower ups need to manully turn on the switch

Roger Price roger at rogerprice.org
Tue May 10 20:16:18 UTC 2016


On Mon, 9 May 2016, Min Wang wrote:

> HIin centos: C="/usr/bin/upssched-cmd" 

Noted, thanks.

> here is the output of that file:
> 
>         ########### ps aux ###########
> nut       2651  0.0  0.0  43396  1116 ?        Ss   May07   0:08 /usr/sbin/upsd
> root      2654  0.0  0.0  39116  1172 ?        Ss   May07   0:00 /usr/sbin/upsmon
> nut       2655  0.0  0.0  41208  1300 ?        S    May07   0:03 /usr/sbin/upsmon

My NUT setup shows:

upsd  2859  0.0  0.0  13228   880 ? Ss avril24 3:16 /usr/lib/ups/driver/usbhid-ups -a Eaton-66781
upsd  2863  0.0  0.0  19860  1052 ? Ss avril24 0:34 /usr/sbin/upsd -u upsd
root  2866  0.0  0.0  19400   656 ? Ss avril24 0:00 /usr/sbin/upsmon
upsd  2867  0.0  0.0  19824   824 ? S  avril24 0:30 /usr/sbin/upsmon

Note the extra "upshid-ups" line.  If your driver is not running then 
perhaps that explains why the UPS shutdown command is not being sent.

What does command  grep usbhid /var/log/messages  report?

Roger


More information about the Nut-upsuser mailing list