Network shutdown when UPS kicks in?

Discussion in 'OS X Mountain Lion (10.8)' started by marc.garcia, Jan 26, 2013.

  1. marc.garcia macrumors regular

    Joined:
    Jul 26, 2010
    #1
    Hello,

    I have a NAS which as a APC UPS attached. It can notify remote computers when the UPS kicks in. I've even configured my Mac mini's IP address (see http://i29.tinypic.com/eanww6.png). Can anybody comment on how to configure my Mac so it actually listens to those remote messages comming from the UPS?

    thanks
     
  2. marc.garcia thread starter macrumors regular

    Joined:
    Jul 26, 2010
    #2
    Ok, update on my progress. Still far from the desired setup though.

    Starting from the NAS, I discovered that it broadcasts ups status messages over the network using NUT http://www.networkupstools.org/

    Of course, to make things a little more complex, there is no built/installer for Mac, it looks like one has to start "playing piano" and either install it over Fink or Macports. I tried both approaches and, after lots of steps and compiling stuff, the former did not work. The latter did and I think NUT is installed correctly now.

    I went ahead and configured one configuration file called upsmon.conf and I now my Mac even receives events from my NAS when I simulate a power cut, but it won't react to the messages it gets.

    So, I'm approximately 80% through. Now I need to figure out the following: 1. how to start upmon during boot. 2. How to make the Mac act upon received messages (tune current behavior) 3. Make it work even when the Mac is asleep.

    Can anybody give a hand? I would appreciate it.

    Thanks
     

Share This Page