[Nut-upsuser] NUT for laptop
Dan Mahoney, System Admin
danm at prime.gushi.org
Wed May 7 16:28:01 UTC 2008
On Wed, 7 May 2008, Arnaud Quette wrote:
> 2008/5/2 Emard <davoremard at gmail.com>:
>> On Fri, May 02, 2008 at 09:29:28AM +0200, Arnaud Quette wrote:
>> > Hi Emard,
>> >
>> > 2008/5/2 Emard <davoremard at gmail.com>:
>> >> HI all
>> >>
>> >> How to setup nut to use and monitor laptop battery on linux?
>> >> (/proc/acpi/battery/BAT0/state)
>> >
>> > why would you do so? there is nothing to gain doing so (no
>>
>> Laptop may be considered a replacement (or "hot-spare") for the
>> if a real nut server in the production setup goes down.
>>
>> > master/slave conf possible).
>>
>> Why not? Machines (slaves) on the network may be on dumb ups-es with
>> no management link, and be connected to network with a nut running on
>> a laptop (master) which 'knows' power fail condition and serve
>> dumb ups machines, shutting them down few minutes after power failure.
>> Much better than dumb ups alone.
That's actually a pretty brilliant idea.
Ghetto, but brilliant.
Much like hanging an old cell phone off a Nagios server via serial cable
so it can send SMS alerts directly, as opposed to worrying about
connectivity failover, etc (getting signal inside a datacenter
cabinet notwithstanding)...so at least when monitoring from the inside,
you know the difference between a link failure and a power fail.
-Dan
--
"This Is Not Goodbye!"
-DM, August 11th 2001, 10 PMish Chicago Time
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
More information about the Nut-upsuser
mailing list