NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Infinite
Nov 15, 2009Aspirant
NUT on OSX 10.6 [Sharing a UPS with ReadyNAS and Computers]
First off: I can not take much credit for this post, the majority of this write up was done by Egg in this post "NUT on OS X (10.5.7)" which was priceless in my effort to get this matter solved. It ...
ig_88
Feb 24, 2013Aspirant
I corrected the path above. I believe that /opt/local/* is for all the stuff you install with MacPorts. The bin directory would then be for all your binaries, and the etc directory would be for your config files. I wouldn't be surprised if the Mac doesn't see any UPS notifications while it's asleep, but you would think it would wake up once the power load shifts to the battery. It might be necessary to do some fine-tuning of upsmon.conf to make sure the NUT client can/will actually shut the system down when it needs to. I'd be interested in seeing what works for you on that score - I haven't had the opportunity to play with this much. Also, try modifying the upsmon.conf to experiment with notifications - specifically look at NOTIFYFLAG and NOTIFYCMD. By default it does write to all connected users in Terminal but it looks like it writes to syslog too. You may be able to find these messages in Console. Perhaps you can tie these into Growl or some other similar program? I don't typically use Growl but I know some people get a lot of use out of it. You could also get creative and write a script that uses NOTIFYCMD to send out an e-mail, which is probably what I should do one of these days if I have the time...
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!