<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><blockquote type="cite" class="">I see upsd and the first upsmon are running as "root".  They are often run as user "nut" or "upsd”.<br class=""></blockquote><br class="">Apparently Synology has implemented it standard like this. <br class=""><br class="">Upsmon.conf on the Synology NAS:<br class=""><br class="">RUN_AS_USER root<br class=""><br class="">I suppose this needs to be changed from a security point of view. <div class=""><br class=""></div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">I don't know the Synology NAS, but I guess that unless it is shutdown completely, it will still draw power.  Will the safe-mode drain the UPS completely, leading to a crash?</blockquote><div class=""><br class=""></div>Good question and I don’t know the answer yet. <br class=""><br class="">This is what I can find about safe-mode means that all services are stopped and volumes (unmounted). So I quess it is not completely shut down and wil draw still power. </div><div class=""><br class=""></div><div class="">I have to examine this.  </div><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class="">Out of curiosity, when you shut down the NAS, do you run the command<br class="">"upsdrvctl shutdown" ?  Do you see or hear anything to suggest that the delayed UPS shutdown has happened?</blockquote><br class="">I don’t know where to search to answer this. The delayed UPS shutdown means that Synology NAS will turn off the UPS after the delay? </div><span class=""><br class=""></span><span class=""><br class="">ups.delay.shutdown Interval to wait after shutdown with delay command (seconds). Shutdown of what?  I don’t know what is means. <br class=""><br class=""><br class=""></span><span class=""><div class=""><blockquote type="cite" class="">Now for the Mac: You will need to have upsmon running on the Mac<br class="">with a MONITOR declaration of the form<br class=""><br class="">  MONITOR UPS@NAS 1 <upsmaster> <password> slave<br class=""><br class="">Setting "slave" says that upsmon on the Mac is to shutdown the Mac as soon as LB is detected in the NAS.</blockquote><div class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">On the Mac I have in upsmon.conf </span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">MONITOR ups@<ip address> 1 <user> <password> slave</span></div><br class=""><span style="font-family: ArialMT;" class="">2. On the NAS, use command</span><br style="font-family: ArialMT;" class=""><br style="font-family: ArialMT;" class=""><span style="font-family: ArialMT;" class="">  upsrw -s battery.charge.low=80 -u upsmaster -s sekret UPS</span><br style="font-family: ArialMT;" class=""><br style="font-family: ArialMT;" class=""><span style="font-family: ArialMT;" class="">to set the low limit very high during testing.  This will speed up your testing.  You can reset it to something else later.</span><br style="font-family: ArialMT;" class=""><br class=""></div><div class="">When I run this command:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">upsc ups@localhost:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">battery.charge.low: 10</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><span class="">The commando upsrw cannot be found on the Synology NAS? <br class=""></span></div><span class=""><div class=""><br class=""></div></span><span class=""><div class=""><br class=""></div></span></span><br class=""></div></body></html>