[Nut-upsuser] Apple Mac slave

Robbie van der Walle
Wed, 07 Jun 2017 15:46:28 -0000

>> 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.status

upsc 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:
<http://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:
<http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170607/96a32954/attachment.bin>