<div dir="ltr">Hi there,<br><br>Seeing an odd behaviour when running upsmon -c fsd to test my Raspberry Pi (running Jesse Lite) setup as a upsmon master, attached via USB to an APC Back-UPS XS1300.<div><br></div><div>The Raspberry Pi is plugged into the Master outlet on the APC.</div><div><br></div><div>The UPS clicks onto battery (and the fan spins up) for a few minutes, then resets, then repeats again, while finally remaining on AC power afterwards.</div><div><br></div><div>The result is that my test ESXi server never quite boots up, before losing power, and finally booting up again once the UPS is stable.<br>







<div><br></div><div>The FINALDELAY is set to 60, everything else is default across the board (besides LISTEN directive, obviously), mode is set to netserver.</div></div><div><br></div><div>At this point, I don't know if this is an issue with the UPS or if this is a known behaviour when using -c fsd.</div><div><br></div><div>There's another UPS I'm going to try this afternoon (including an Eaton).</div><div><br></div><div><br></div><div>Here's an output of grep -irn 'ups' /var/log/syslog on the Raspberry Pi:</div><div><br></div><div><div>512:Apr 26 14:21:40 raspberrypi upsmon[566]: Signal 10: User requested FSD</div><div><br></div><div>513:Apr 26 14:21:40 raspberrypi upsd[561]: Client <a href="mailto:upsmon_local@127.0.0.1">upsmon_local@127.0.0.1</a> set FSD on UPS [APC]</div><div>514:Apr 26 14:21:49 raspberrypi upsd[561]: User <a href="mailto:upsmon_remote@10.1.21.102">upsmon_remote@10.1.21.102</a> logged out from UPS [APC]</div><div>515:Apr 26 14:21:56 raspberrypi upsmon[566]: Host sync timer expired, forcing shutdown</div><div>516:Apr 26 14:21:56 raspberrypi upsmon[566]: Executing automatic power-fail shutdown</div><div>517:Apr 26 14:21:56 raspberrypi upsmon[566]: Auto logout and shutdown proceeding</div><div><br></div><div><br></div><div>717:Apr 26 14:23:07 raspberrypi systemd[1]: Started Various fixups to make systemd work better on Debian.</div><div>788:Apr 26 14:23:07 raspberrypi kernel: [    4.070522] usb 1-1.4: Product: Back-UPS XS 1300G FW:864.L8 .D USB FW:L8 </div><div>791:Apr 26 14:23:07 raspberrypi kernel: [    4.308623] hid-generic 0003:051D:0002.0001: hiddev0,hidraw0: USB HID v1.00 Device [American Power Conversion Back-UPS XS 1300G FW:864.L8 .D USB FW:L8 ] on usb-20980000.usb-1.4/input0</div><div>893:Apr 26 14:23:12 raspberrypi systemd[1]: Starting Network UPS Tools - power device driver controller...</div><div>901:Apr 26 14:23:12 raspberrypi upsdrvctl[535]: Using subdriver: APC HID 0.95</div><div>902:Apr 26 14:23:13 raspberrypi upsdrvctl[535]: Network UPS Tools - Generic HID driver 0.38 (2.7.2)</div><div>903:Apr 26 14:23:13 raspberrypi upsdrvctl[535]: USB communication driver 0.32</div><div>904:Apr 26 14:23:13 raspberrypi upsdrvctl[535]: Network UPS Tools - UPS driver controller 2.7.2</div><div>905:Apr 26 14:23:13 raspberrypi usbhid-ups[547]: Startup successful</div><div>906:Apr 26 14:23:13 raspberrypi systemd[1]: Started Network UPS Tools - power device driver controller.</div><div>911:Apr 26 14:23:13 raspberrypi systemd[1]: Starting Network UPS Tools - power devices information server...</div><div>927:Apr 26 14:23:13 raspberrypi upsd[557]: listening on 10.1.21.144 port 3493</div><div>928:Apr 26 14:23:13 raspberrypi upsd[557]: listening on 127.0.0.1 port 3493</div><div>929:Apr 26 14:23:13 raspberrypi upsd[557]: Connected to UPS [APC]: usbhid-ups-APC</div><div>930:Apr 26 14:23:13 raspberrypi upsd[562]: Startup successful</div><div>931:Apr 26 14:23:13 raspberrypi upsd[557]: fopen /var/run/nut/upsd.pid: No such file or directory</div><div>932:Apr 26 14:23:13 raspberrypi upsd[557]: listening on 10.1.21.144 port 3493</div><div>933:Apr 26 14:23:13 raspberrypi upsd[557]: listening on 127.0.0.1 port 3493</div><div>934:Apr 26 14:23:13 raspberrypi systemd[1]: Started Network UPS Tools - power devices information server.</div><div>935:Apr 26 14:23:13 raspberrypi upsd[557]: Connected to UPS [APC]: usbhid-ups-APC</div><div>936:Apr 26 14:23:14 raspberrypi systemd[1]: Starting Network UPS Tools - power device monitor and shutdown controller...</div><div>943:Apr 26 14:23:14 raspberrypi upsmon[563]: fopen /var/run/nut/upsmon.pid: No such file or directory</div><div>944:Apr 26 14:23:14 raspberrypi upsmon[563]: Using power down flag file /etc/killpower</div><div>945:Apr 26 14:23:14 raspberrypi upsmon[563]: UPS: APC@localhost (master) (power value 1)</div><div>946:Apr 26 14:23:14 raspberrypi systemd[1]: PID file /var/run/nut/upsmon.pid not readable (yet?) after start.</div><div>947:Apr 26 14:23:14 raspberrypi upsmon[566]: Startup successful</div><div>949:Apr 26 14:23:14 raspberrypi upsmon[567]: Init SSL without certificate database</div><div>950:Apr 26 14:23:14 raspberrypi systemd[1]: Started Network UPS Tools - power device monitor and shutdown controller.</div><div>958:Apr 26 14:23:14 raspberrypi upsd[562]: User <a href="mailto:upsmon_local@127.0.0.1">upsmon_local@127.0.0.1</a> logged into UPS [APC]</div><div><br></div><div>960:Apr 26 14:24:39 raspberrypi upsmon[567]: Poll UPS [APC@localhost] failed - Write error: Broken pipe</div><div>961:Apr 26 14:24:39 raspberrypi upsmon[567]: Communications with UPS APC@localhost lost</div><div>963:Apr 26 14:24:44 raspberrypi upsd[562]: User <a href="mailto:upsmon_local@127.0.0.1">upsmon_local@127.0.0.1</a> logged into UPS [APC]</div><div>964:Apr 26 14:24:44 raspberrypi upsmon[567]: Communications with UPS APC@localhost established</div><div>995:Apr 26 14:23:07 raspberrypi systemd[1]: Started Various fixups to make systemd work better on Debian.</div><div>1207:Apr 26 14:23:07 raspberrypi kernel: [    4.109123] usb 1-1.4: Product: Back-UPS XS 1300G FW:864.L8 .D USB FW:L8 </div><div>1210:Apr 26 14:23:07 raspberrypi kernel: [    4.351677] hid-generic 0003:051D:0002.0001: hiddev0,hidraw0: USB HID v1.00 Device [American Power Conversion Back-UPS XS 1300G FW:864.L8 .D USB FW:L8 ] on usb-20980000.usb-1.4/input0</div><div>1338:Apr 26 14:23:12 raspberrypi systemd[1]: Starting Network UPS Tools - power device driver controller...</div><div>1346:Apr 26 14:23:12 raspberrypi upsdrvctl[532]: Using subdriver: APC HID 0.95</div><div>1347:Apr 26 14:23:12 raspberrypi upsdrvctl[532]: Network UPS Tools - Generic HID driver 0.38 (2.7.2)</div><div>1348:Apr 26 14:23:12 raspberrypi upsdrvctl[532]: USB communication driver 0.32</div><div>1349:Apr 26 14:23:12 raspberrypi upsdrvctl[532]: Network UPS Tools - UPS driver controller 2.7.2</div><div>1350:Apr 26 14:23:12 raspberrypi usbhid-ups[543]: Startup successful</div><div>1351:Apr 26 14:23:12 raspberrypi systemd[1]: Started Network UPS Tools - power device driver controller.</div><div>1356:Apr 26 14:23:13 raspberrypi systemd[1]: Starting Network UPS Tools - power devices information server...</div><div>1365:Apr 26 14:23:13 raspberrypi upsd[554]: fopen /var/run/nut/upsd.pid: No such file or directory</div><div>1366:Apr 26 14:23:13 raspberrypi upsd[554]: listening on 10.1.21.144 port 3493</div><div>1367:Apr 26 14:23:13 raspberrypi upsd[554]: listening on 127.0.0.1 port 3493</div><div>1369:Apr 26 14:23:13 raspberrypi upsd[554]: Connected to UPS [APC]: usbhid-ups-APC</div><div>1376:Apr 26 14:23:13 raspberrypi upsd[559]: Startup successful</div><div>1377:Apr 26 14:23:13 raspberrypi systemd[1]: Started Network UPS Tools - power devices information server.</div><div>1378:Apr 26 14:23:13 raspberrypi upsd[554]: listening on 10.1.21.144 port 3493</div><div>1379:Apr 26 14:23:13 raspberrypi upsd[554]: listening on 127.0.0.1 port 3493</div><div>1380:Apr 26 14:23:13 raspberrypi upsd[554]: Connected to UPS [APC]: usbhid-ups-APC</div><div>1381:Apr 26 14:23:13 raspberrypi systemd[1]: Starting Network UPS Tools - power device monitor and shutdown controller...</div><div>1388:Apr 26 14:23:13 raspberrypi upsmon[560]: fopen /var/run/nut/upsmon.pid: No such file or directory</div><div>1389:Apr 26 14:23:13 raspberrypi upsmon[560]: Using power down flag file /etc/killpower</div><div>1390:Apr 26 14:23:13 raspberrypi upsmon[560]: UPS: APC@localhost (master) (power value 1)</div><div>1391:Apr 26 14:23:13 raspberrypi systemd[1]: PID file /var/run/nut/upsmon.pid not readable (yet?) after start.</div><div>1392:Apr 26 14:23:13 raspberrypi upsmon[563]: Startup successful</div><div>1394:Apr 26 14:23:13 raspberrypi upsmon[564]: Init SSL without certificate database</div><div>1395:Apr 26 14:23:13 raspberrypi systemd[1]: Started Network UPS Tools - power device monitor and shutdown controller.</div><div>1403:Apr 26 14:23:14 raspberrypi upsd[559]: User <a href="mailto:upsmon_local@127.0.0.1">upsmon_local@127.0.0.1</a> logged into UPS [APC]</div><div><br></div><div>1405:Apr 26 14:25:50 raspberrypi upsmon[564]: Poll UPS [APC@localhost] failed - Write error: Broken pipe</div><div>1406:Apr 26 14:25:50 raspberrypi upsmon[564]: Communications with UPS APC@localhost lost</div><div>1408:Apr 26 14:25:55 raspberrypi upsd[559]: User <a href="mailto:upsmon_local@127.0.0.1">upsmon_local@127.0.0.1</a> logged into UPS [APC]</div><div>1409:Apr 26 14:25:55 raspberrypi upsmon[564]: Communications with UPS APC@localhost established</div><div>1410:Apr 26 14:26:33 raspberrypi upsd[559]: User <a href="mailto:upsmon_remote@10.1.21.145">upsmon_remote@10.1.21.145</a> logged into UPS [APC]</div><div>1411:Apr 26 14:26:48 raspberrypi upsd[559]: User <a href="mailto:upsmon_remote@10.1.21.102">upsmon_remote@10.1.21.102</a> logged into UPS [APC]</div></div></div>