statalently
Dabbler
- Joined
- Oct 11, 2019
- Messages
- 35
UPS: Cyberpower ol1500rtxl2u
Hi there,
I have connected my UPS to my FreeNAS server by USB and I see communication using upsc in the shell. However, the FreeNAS does not shut down once the UPS goes on battery. Judging by the logs, the upsmon detects that the UPS goes on battery, then upssched fires a SHUTDOWN event, but nothing more. Can anyone help me please?
Thank you!
Logs
Services -> UPS -> Settings
Hi there,
I have connected my UPS to my FreeNAS server by USB and I see communication using upsc in the shell. However, the FreeNAS does not shut down once the UPS goes on battery. Judging by the logs, the upsmon detects that the UPS goes on battery, then upssched fires a SHUTDOWN event, but nothing more. Can anyone help me please?
Thank you!
Logs
Code:
Jan 9 10:04:31 freenas-bk-new usbhid-ups[14469]: Startup successful Jan 9 10:04:31 freenas-bk-new upsd[14470]: listening on 0.0.0.0 port 3493 Jan 9 10:04:31 freenas-bk-new upsd[14470]: Connected to UPS [ups]: usbhid-ups-ups Jan 9 10:04:31 freenas-bk-new upsd[14470]: /usr/local/etc/nut/cmdvartab not found - disabling descriptions Jan 9 10:04:31 freenas-bk-new upsd[14471]: Startup successful Jan 9 10:04:31 freenas-bk-new upsmon[14494]: Startup successful Jan 9 10:04:31 freenas-bk-new upsd[14471]: User upsmon@127.0.0.1 logged into UPS [ups] Jan 9 10:04:31 freenas-bk-new upslog[14517]: Startup successful Jan 9 10:05:02 freenas-bk-new upsmon[14495]: UPS ups on battery Jan 9 10:05:02 freenas-bk-new upssched[14807]: Executing command: EMAIL Jan 9 10:05:02 freenas-bk-new upssched[14816]: Timer daemon started Jan 9 10:05:02 freenas-bk-new upssched[14816]: New timer: SHUTDOWN (1 seconds) Jan 9 10:05:03 freenas-bk-new upssched[14816]: Event: SHUTDOWN Jan 9 10:05:19 freenas-bk-new upssched[14816]: Timer queue empty, exiting
Services -> UPS -> Settings
- UPS Mode: Master
- Cyber Power Systems ups 2 Value 1500ELCD-RU USB (usbhid-ups) (but have tried others)
- Port: /dev/uhid0 (have also tried ugen1.4)
- Shutdown mode: UPS goes on battery
- Shutdown timer: 1 (for testing)
- Shutdown command: /sbin/shutdown -p now
- Monitor user: upsmon
- Monitor password: fixmepass
- Remote monitor: check