<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Thanks Roger and Charles for your responses.</div><div class=""><br class=""></div><div class="">Simple question first</div><div class=""><br class=""></div><div class=""></div><blockquote type="cite" class=""><div class="">> Have you tried typing the command "/sbin/shutdown -u -h +1" directly? Does this perform a shutdown?</div></blockquote><div class=""><br class=""></div><div class="">Yes, it does shutdown the iMac.</div><div class=""><br class=""></div><div class=""></div><blockquote type="cite" class=""><div class="">> Is your System Shutdown Plan to shut down using upsmon or using the script upsched-cmd? </div></blockquote><div class=""><br class=""></div><div class="">This question undermines my reading of the documentation. I had thought that these were separate things: </div><div class=""><br class=""></div><div class=""> SHUTDOWNCMD "/sbin/shutdown -u -h +1" </div><div class=""> NOTIFYCMD /opt/local/sbin/upssched</div><div class=""><br class=""></div><div class="">I had assumed that the SHUTDOWNCMD would be used by the Nut client (upsmon) to shutdown the slave system, and that the NOTIFYCMD would be responsible for notifying users of what is going on. </div><div class=""><br class=""></div><div class="">But I am now inferring from your question, that use of the NOTIFYCMD supersedes or overrides the functionality of the former. Is that correct? So if I use a NOTIFYCMD, then I should implement the actual shutdown logic as well as the notification logic in that script, forgetting about SHUTDOWNCMD?</div><div class=""><br class=""></div><div class=""></div><blockquote type="cite" class=""><div class="">> I have never used a Synology box, but I vaguely remember them not using the NUT LB state. </div></blockquote><div class=""><br class=""></div><div class="">I _believe_ that Synology do use the low battery state – it’s certainly in the configuration files, and I have seen the low battery warning being sent to the iMac slave.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Is there some way I can test my setup without having to deplete and recharge my UPS every iteration? I have tried:</div><div class=""> upsmon –c fsd (on the master system)</div><div class="">but all that happens is the iMac repeatedly declares ‘Executing automatic power-fail shutdown’ but does not actually do anything, and nor do any of the other systems :-(. Clearly I’ve got something horribly wrong in my configurations, but being able to simulate on-battery, low-battery etc. from the UPS would really help the testing/diagnosis!</div><div class=""><br class=""></div><div class="">Thanks again for your help</div><div class=""><br class=""></div><div class="">
<div class=""><div style="font-family: Helvetica; orphans: 2; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span style="font-family: Verdana;" class=""><font color="#515151" class="">~Joe</font></span></div><div style="font-family: Helvetica; orphans: 2; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div></div></div></div></body></html>