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/upsmonNote 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
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

