Displaying 1 result from an estimated 1 matches for "email_a_online".
2017 Apr 17
3
Two UPS via SNMP at one ubunut box
...===============================================
PIPEFN /var/run/nut/upssched/upssched.pipe
LOCKFN /var/run/nut/upssched/upssched.lock
AT ONBATT buildingA EXECUTE email_A_onbatt
AT ONBATT buildingA START-TIMER shutdownA 300
AT ONLINE buildingA CANCEL-TIMER shutdownA
AT ONLINE buildingA EXECUTE email_A_online
AT ONBATT buildingB EXECUTE email_B_onbatt
AT ONBATT buildingB START-TIMER shutdownB 300
AT ONLINE buildingB CANCEL-TIMER shutdownB
AT ONLINE buildingB EXECUTE email_B_online
/bin/upssched-cmd======================================
case $1 in
email_A_onbatt)
mail -s "UPS A on battery po...