Hi,
i'm using an APC Back-UPS Pro 900 via USB. Connection seems to be fine but FreeNAS 8 didn't shutdown after UPS goes on battery and i didn't get an email notification.
Here are the details:
FreeNAS build: FreeNAS-8.0.4-RELEASE-p2-x64 (11367)
UPS: APC Back-UPS Pro 900 (connected via USB 2.0)
UPS Config (Web-GUI)
Output from /var/log/messages: cat /var/log/messages | grep ups
As one can see FreeNAS detects at 16:38 that the UPS is on battery, but didn't do a shutdown as expected. After 2 minutes i put the power-cord back to the device and at 16:40 FreeNAS detects it (UPS ups on line power).
What can i do that FreeNAS shuts down my server after 30 seconds when it detects that the UPS is on battery?
Thanks in advance.
stoerte
i'm using an APC Back-UPS Pro 900 via USB. Connection seems to be fine but FreeNAS 8 didn't shutdown after UPS goes on battery and i didn't get an email notification.
Here are the details:
FreeNAS build: FreeNAS-8.0.4-RELEASE-p2-x64 (11367)
UPS: APC Back-UPS Pro 900 (connected via USB 2.0)
UPS Config (Web-GUI)
Code:
Identifier: ups Driver: APC ups 2 Back-UPS Pro USB USB (usbhid-ups) Port: /dev/ugen0.3 Shutdown mode: UPS goes on battery Shutdown timer: 30 UPS Master User Password: fixmepass Send Email Status Updates: checked To email: my email adress Email subject: UPS report generated by %h
Output from /var/log/messages: cat /var/log/messages | grep ups
Code:
Jun 22 16:37:43 freenas freenas[1833]: Executing: /usr/sbin/service ix-ups quietstart Jun 22 16:37:43 freenas upsd[1655]: mainloop: Interrupted system call Jun 22 16:37:43 freenas freenas: Connected to UPS [ups]: usbhid-ups-ups Jun 22 16:37:43 freenas freenas[1833]: Executing: /usr/sbin/service nut_upsmon restart Jun 22 16:37:43 freenas freenas: Stopping nut_upsmon. Jun 22 16:37:43 freenas upsmon[1667]: upsmon parent: read Jun 22 16:37:43 freenas freenas: Starting nut_upsmon. Jun 22 16:37:43 freenas freenas: UPS: ups (master) (power value 1) Jun 22 16:37:43 freenas freenas[1833]: Executing: /usr/sbin/service nut_upslog restart Jun 22 16:37:43 freenas freenas: Stopping nut_upslog. Jun 22 16:37:43 freenas freenas: Starting nut_upslog. Jun 22 16:37:44 freenas freenas[1833]: Executing: /bin/pgrep -F /var/db/nut/upsd.pid upsd Jun 22 16:37:49 freenas freenas[1833]: Executing: /usr/sbin/service ix-ups quietstart Jun 22 16:37:50 freenas upsd[3155]: mainloop: Interrupted system call Jun 22 16:37:50 freenas freenas[1833]: Executing: /usr/sbin/service nut_upsmon restart Jun 22 16:37:50 freenas freenas: Stopping nut_upsmon. Jun 22 16:37:50 freenas upsmon[3182]: upsmon parent: read Jun 22 16:37:50 freenas freenas: Will not 'start' nut_upsmon because nut_upsmon_enable is NO. Jun 22 16:37:50 freenas freenas[1833]: Executing: /usr/sbin/service nut_upslog restart Jun 22 16:37:50 freenas freenas: Stopping nut_upslog. Jun 22 16:37:50 freenas freenas: Will not 'start' nut_upslog because nut_upslog_enable is NO. Jun 22 16:37:50 freenas freenas[1833]: Executing: /bin/pgrep -F /var/db/nut/upsd.pid upsd Jun 22 16:38:05 freenas freenas[1833]: Executing: /usr/sbin/service ix-ups quietstart Jun 22 16:38:05 freenas freenas: nut not running? (check /var/db/nut/upsd.pid). Jun 22 16:38:05 freenas freenas: Connected to UPS [ups]: usbhid-ups-ups Jun 22 16:38:05 freenas freenas[1833]: Executing: /usr/sbin/service nut_upsmon restart Jun 22 16:38:05 freenas freenas: nut_upsmon not running? (check /var/db/nut/upsmon.pid). Jun 22 16:38:05 freenas freenas: Starting nut_upsmon. Jun 22 16:38:05 freenas freenas: UPS: ups (master) (power value 1) Jun 22 16:38:05 freenas freenas[1833]: Executing: /usr/sbin/service nut_upslog restart Jun 22 16:38:06 freenas freenas: nut_upslog not running? (check /var/db/nut/upslog.pid). Jun 22 16:38:06 freenas freenas: Starting nut_upslog. Jun 22 16:38:06 freenas freenas[1833]: Executing: /bin/pgrep -F /var/db/nut/upsd.pid upsd Jun 22 16:38:26 freenas upsmon[3595]: UPS ups on battery Jun 22 16:40:46 freenas upsmon[3595]: UPS ups on line power
As one can see FreeNAS detects at 16:38 that the UPS is on battery, but didn't do a shutdown as expected. After 2 minutes i put the power-cord back to the device and at 16:40 FreeNAS detects it (UPS ups on line power).
What can i do that FreeNAS shuts down my server after 30 seconds when it detects that the UPS is on battery?
Thanks in advance.
stoerte