Hello, I am running NUT on a Synology NAS with attached a USB APC UPS. I am trying to connect and shutdown a Mac OS X system. I have installed the NUT software and it looks like there is connection with the master but when battery gets low the Mac is not shutdown. I don't know if I have to configure upssched.conf and where? On the slave (Mac) ? It will be great to know before I will start trying. Kind regards, Rob van der Walle -------------- next part -------------- An HTML attachment was scrubbed... URL: <lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170606/28d52bc4/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4665 bytes Desc: not available URL: <lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170606/28d52bc4/attachment.bin>
On Tue, 6 Jun 2017, Robbie van der Walle wrote:> I am running NUT on a Synology NAS with attached a USB APC UPS.Do you have upsd and upsmon running as daemons on the Synology DSM? Does the NAS shut down (and restart) correctly when wall power fails?> I am trying to connect and shutdown a Mac OS X system.Is the Mac protected by the same APC UPS as the Synology NAS?> I have installed the NUT software and it looks like there is connection > with the master but when battery gets low the Mac is not shutdown.Do you have upsd and possibly upsmon running on the Mac? What does command ps -elf | grep -E "ups[dms]|nut" report on the Mac?>From the NAS, can you execute commands such asupsc UPS at Mac ups.status Does upsmon.conf on the NAS contain a MONITOR statement for the Mac? Do you propose shutting down on LB or after a time interval: in other words, do you need upssched? Roger
>> I am running NUT on a Synology NAS with attached a USB APC UPS. > > Do you have upsd and upsmon running as daemons on the Synology DSM? >Yes I have them both running on the Synology DSM: root 7236 1 0 Jun01 ? 00:00:16 /usr/sbin/upsd root 7741 1 0 Jun01 ? 00:00:00 /usr/sbin/upsmon root 7744 7741 0 Jun01 ? 00:00:12 /usr/sbin/upsmon> Does the NAS shut down (and restart) correctly when wall power fails?Yes it does and also the other Synology Nas which is attached via the network. It brings the Synology NAS in a safe-mode.> Is the Mac protected by the same APC UPS as the Synology NAS?Yes it is. The power cable of the Mac is connected to the APC UPS. The dataport of the APC UPS is connected via USB with the Synology NAS.> Do you have upsd and possibly upsmon running on the Mac?Standard not when I start, sudo upsmon -D, only upsmon and not upsd.> What does command ps -elf | grep -E "ups[dms]|nut? report on the Mac?With copy and paste the commando didn?t work. So I changed it. ps -elf | grep -E "ups[dms]|nut? 0 2919 2788 4106 0 31 0 2447248 10756 - S+ 0 ttys000 0:00.04 sudo upsmon -D 2:06PM 0 2920 2919 4006 0 31 0 2444528 2376 - S+ 0 ttys000 0:00.01 upsmon -D 2:06PM 0 2921 2920 106 0 31 0 2444528 2216 - S+ 0 ttys000 0:00.03 upsmon -D 2:06PM> From the NAS, can you execute commands such as > > upsc UPS at Mac ups.statusupsc UPS@<ip adres> ups.status Error: Connection failure: Connection refused> Does upsmon.conf on the NAS contain a MONITOR statement for the Mac?No it doesn?t and do I need to configure this.> Do you propose shutting down on LB or after a time interval: in other words, do you need upssched?I don?t know yet. Kind Regards, Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: <lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170607/96a32954/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3583 bytes Desc: not available URL: <lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170607/96a32954/attachment.bin>