[33281] in North American Network Operators' Group
Re: Operate until failure
daemon@ATHENA.MIT.EDU (Paul Timmins)
Mon Jan 8 10:00:34 2001
Date: Mon, 8 Jan 2001 09:58:07 -0500 (EST)
From: Paul Timmins <pault@timmins.net>
Reply-To: paul@timmins.net
To: Sean Donelan <sean@donelan.com>
Cc: nanog@merit.edu
In-Reply-To: <20010108094045.10688.cpmta@c004.sfo.cp.net>
Message-ID: <Pine.GSO.4.21.0101080953370.9661-100000@ns1.workbench.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Errors-To: owner-nanog-outgoing@merit.edu
On 8 Jan 2001, Sean Donelan wrote:
> I'm aware of a variety of proprietary software shutdown programs associated
> with UPS vendors. But I'm wondering do any "open standards" exist for
> initiating soft shutdowns?
Almost all UPS's on the market twiddle with the DTR and RTS signals on the
serial port when a power failure or an imminent battery failure. You can
generally twiddle a pin on the serial cable to shut it off as well.
For APC smart UPS devices, people have reverse engineered the protocol to
communicate in smart mode and get battery voltages and the like. Do a
search for "linux UPS daemons APC" and you should find something of use
(since you will probably have to read the source code to figure out the
protocol, it helps if you know C)
-Paul
By popular request my signature has moved to
<http://198.87.147.226/paulsig.txt>
Paul Timmins
paul@timmins.net
http://www.timmins.net/
"By definition, if you don't stand up for anything, you stand for
nothing."
---Paul Timmins