<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="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=""><div class=""><blockquote type="cite" class="" style="font-family: ArialMT;"><blockquote type="cite" class="">After the first test and the NAS is restarted I had to change the setting battery.charge.low again to 80 <br class=""></blockquote><br class="">Does the NAS DSM reset battery.charge.low to 10 or is it internal to the UPS?  You will have to experiment by disconnecting the UPS control lead from the NAS and connecting it (if possible) to the Mac.  After setting to 80 and a power off-on cycle is the value 80 or 10?</blockquote><br class="" style="font-family: ArialMT;"></div><div class="">Ok I will have try this.  I am also searching on the NAS if it set somehow. </div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><blockquote type="cite" class="">3. Users from the NAS are warned, not yet the Mac user.  Only when executing automatic power-fail shutdown. <br class=""></blockquote><br class="">In upsmon.conf on the Mac, what are the values of NOTIFYMSG ONBATT and NOTIFYFLAG ONBATT?  Does program wall work on the Mac? It fails on a lot of Linux boxes with graphical interfaces - to get a message to the user, you have to use notify-send, which means setting up upssched.</blockquote></div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><br class=""></div></div><span class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class=""><br class=""></span></div>#NOTIFYMSG ONBAT <br class=""><br class="">NOTIFYFLAG ONBATT EXEC<br class=""><br class=""></span><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">Does program wall work on the Mac?</blockquote><br class=""></div><div class="">file testwall:</div><div class=""><br class=""></div><div class="">hallo </div><div class=""><br class=""></div><div class="">tried: wall testwall and result:</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">Broadcast Message from                                        </span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">        (/dev/ttys002) at 11:28 CEST...                                        </span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255); min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;">                                                                               </span><br class="webkit-block-placeholder"></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">hallo<span class="Apple-tab-span" style="white-space: pre;">    </span>                          </span></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">So wall work in a terminal only. </div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">It fails on a lot of Linux boxes with graphical interfaces - to get a message to the user, you have to use notify-send, which means setting up upssched.<br class=""></blockquote><br class=""></div><div class=""><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;"># NOTIFYCMD <command></span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255); min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">NOTIFYCMD /sw/sbin/upssched</span></div></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class="" style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><span class="">Results second test 1 after changing on NAS, Control Panel Hardware & Power, Power recovery, Restart automatically after a power failure. And changing on the Mac, system preferences, energy saver, start up automatically after a power failure. </span><div class=""><br class=""></div><div class=""><div class=""><span class=""><br class=""></span></div><div class=""><span class="">1 Pull power cord</span></div><div class=""><span class=""><br class=""></span></div><div class=""><span class="">2 Ups beeps NAS and Mac work</span></div><div class=""><span class=""><br class=""></span></div><div class=""><span class="">3 NAS users warned. Mac not</span></div><div class=""><span class=""><br class=""></span></div><div class=""><span class="">4 low bat, first slave Mac shutdown.  Than Master NAS shutdown. ( report in log NAS, server is on battery, server going to safe shutdown) </span></div><div class=""><span class=""><br class=""></span></div><div class=""><span class="">5 UPS shutdown after 29 seconds. </span></div><div class=""><span class=""><br class=""></span></div><div class=""><span class="">6 reconnect power </span></div><div class=""><span class=""><br class=""></span></div><div class=""><span class="">7 NAS now starts up but Mac doesn’t </span></div><div class=""><span class=""><br class=""></span></div><div class=""><span class=""><br class=""></span><span class=""><br class=""></span><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">Kind Regards,</div><div class=""><br class=""></div></div></div></div>Rob</div><div class=""><br class="Apple-interchange-newline">
</div>

<br class=""></body></html>