[Nut-upsuser] upssched script doesn't start on event
Roger Price
roger at rogerprice.org
Mon Jun 25 09:26:25 UTC 2012
On Mon, 25 Jun 2012, Anna Skorokhodova (Yandex) wrote:
> Can't make upssched notify me on event occured.
Hello Anna, Does the script /usr/local/bin/upssched-cmd get called?
What happens if you place a command such as
# Debugging: Log all calls to this script
logger -t upssched-cmd Calling upssched-cmd $1
at the top of the script? Does syslog record anything?
Roger
> -------------
> upssched.conf:
> CMDSCRIPT /usr/local/bin/upssched-cmd
> PIPEFN /var/run/nut/upssched/upssched.pipe
> LOCKFN /var/run/nut/upssched/upssched.lock
> AT ONBATT * EXECUTE onbatt
> AT ONBATT * START-TIMER onbatt_timer 120
> AT ONLINE * CANCEL-TIMER onbatt_timer
> AT ONLINE * EXECUTE online
> AT FSD * EXECUTE fsd
More information about the Nut-upsuser
mailing list