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 ...
kitus
Mar 03, 2013Aspirant
ig-88 wrote: 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.
I think it actually notices that event. You seem to be pretty busy. I don't really need to figure out this whole thing just yet. I would appreciate it if you simply log back when you have more time. I think I would be cool to work together on this.
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.
In that file there certainly is a "shutdown" statement but I can't seem to be able to replicate a shutdown event, or I do but the Mac simply ignores the whole thing. That's why I'm suggesting we work together on this if you ever get around to it.
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
There must be a GUI somewhere. You are right indeed, but it sounds like to much fiddling, right? I'm not a command line guru and I don't feel comfortable... need some guidance I guess.
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...
Again, I just ask you to revisit this thread if you ever decide to tackle this. I don't feel I can do this on my own.
Thanks for responding to my request :)
Related Content
NETGEAR Academy

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