djoole
Contributor
- Joined
- Oct 3, 2011
- Messages
- 158
Hi,
I've plugged and APC Back-UPS 550 ES on my NAS.
Communication seems to be ok, but FreeNAS doesn't trigger shutdown when timer is finished.
Also, it doesn't send an email as configured.
Config is :
FreeNAS-8.0.1-RELEASE-amd64 (8081)
Identifier : ups
Driver : APC Back-UPS Pro USB USB (usbhid-ups)
Port : /dev/ugen3.3
Shutdown mode : UPS goes on battery
Shutdown timer : 300
UPS Master User Password : fixmepass
Send Email Status Updates : checked
To email : my email
Email Subject : UPS report generated by %h
Log when UPS goes on battery and on line again :
Apr 22 15:18:22 nas upsmon[2970]: UPS ups on battery
Apr 22 15:18:22 nas upssched[19846]: Timer daemon started
Apr 22 15:18:22 nas upssched[19846]: New timer: ONBATT (300 seconds)
Apr 22 15:18:22 nas upssched[19845]: Executing command: EMAIL
Apr 22 15:18:22 nas upssched[19845]: exec_cmd(/usr/local/bin/custom-upssched-cmd EMAIL) returned 127
Apr 22 15:23:22 nas upssched[19846]: Event: ONBATT
Apr 22 15:23:22 nas upssched[19846]: exec_cmd(/usr/local/bin/custom-upssched-cmd ONBATT) returned 127
Apr 22 15:23:37 nas upssched[19846]: Timer queue empty, exiting
Apr 22 15:28:57 nas upsmon[2970]: UPS ups on line power
Apr 22 15:28:57 nas upssched[20429]: Timer daemon started
Apr 22 15:28:57 nas upssched[20429]: Cancel ONBATT, event: ONLINE
Apr 22 15:28:57 nas upssched[20429]: exec_cmd(/usr/local/bin/custom-upssched-cmd ONLINE) returned 127
Apr 22 15:28:57 nas upssched[20429]: Cancel LOWBATT, event: ONLINE
Apr 22 15:28:57 nas upssched[20429]: exec_cmd(/usr/local/bin/custom-upssched-cmd ONLINE) returned 127
I've plugged and APC Back-UPS 550 ES on my NAS.
Communication seems to be ok, but FreeNAS doesn't trigger shutdown when timer is finished.
Also, it doesn't send an email as configured.
Config is :
FreeNAS-8.0.1-RELEASE-amd64 (8081)
Identifier : ups
Driver : APC Back-UPS Pro USB USB (usbhid-ups)
Port : /dev/ugen3.3
Shutdown mode : UPS goes on battery
Shutdown timer : 300
UPS Master User Password : fixmepass
Send Email Status Updates : checked
To email : my email
Email Subject : UPS report generated by %h
Log when UPS goes on battery and on line again :
Apr 22 15:18:22 nas upsmon[2970]: UPS ups on battery
Apr 22 15:18:22 nas upssched[19846]: Timer daemon started
Apr 22 15:18:22 nas upssched[19846]: New timer: ONBATT (300 seconds)
Apr 22 15:18:22 nas upssched[19845]: Executing command: EMAIL
Apr 22 15:18:22 nas upssched[19845]: exec_cmd(/usr/local/bin/custom-upssched-cmd EMAIL) returned 127
Apr 22 15:23:22 nas upssched[19846]: Event: ONBATT
Apr 22 15:23:22 nas upssched[19846]: exec_cmd(/usr/local/bin/custom-upssched-cmd ONBATT) returned 127
Apr 22 15:23:37 nas upssched[19846]: Timer queue empty, exiting
Apr 22 15:28:57 nas upsmon[2970]: UPS ups on line power
Apr 22 15:28:57 nas upssched[20429]: Timer daemon started
Apr 22 15:28:57 nas upssched[20429]: Cancel ONBATT, event: ONLINE
Apr 22 15:28:57 nas upssched[20429]: exec_cmd(/usr/local/bin/custom-upssched-cmd ONLINE) returned 127
Apr 22 15:28:57 nas upssched[20429]: Cancel LOWBATT, event: ONLINE
Apr 22 15:28:57 nas upssched[20429]: exec_cmd(/usr/local/bin/custom-upssched-cmd ONLINE) returned 127