LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] UPS signalling

[ILUG] UPS signalling

Conor Daly conor.daly at oceanfree.net
Thu Sep 7 20:07:29 IST 2000


On Thu, Sep 07, 2000 at 11:38:48AM +0100 or so it is rumoured hereabouts, 
Declan Grady thought:
> Hi,
> Mabye a bit off-topic...
> I have an APC smart-ups which talks to a SCO box, and does auto-shutdown
> after a certain length of time on battery.
> 
> I also have a redhat box on the same ups, but no communication with the
> ups.. How could I get it to do an orderly poweroff as well ? .. Is there
> some way I can get the SCO box to tell it to poweroff ?
> 

One obvious way is to have the SCO box email root at redhat.box with a
suitable subject.  Have redhat root's .procmail fire off a shutdown script 
on receipt of one of these messages.  

You'd need to do some accounting for the time it takes for an email to get
delivered and acted upon though.  Maybe have some kind of "Hold on, I
didn't mean that!" escape available also.  

-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell