Audiable Alarm
Kirk Lawson
lklawson@heapy.com
Thu, 20 Apr 00 16:13:00 -0500
OK, after much work and no small amount of frustration, I have come up
with a "solution."
It's entirely /bin/sh script based, but does create a "daemon" that will
beep and is start/stopped from a /etc/rc.d/init.d control prog. I've
even managed to cobble together a quick (and dirty) installation script.
It's not sophisticated. It's not pretty. But it works.
Where should I stick the .z so that better coders than I can fix this
cludge solution?
Peace favor your sword,
-Kirk
"I have little patience with people who take the Bill of Rights for
granted. The Bill of Rights, contained in the first ten amendments to
the Constitution, is every American's guarantee of freedom."
-President Harry S. Truman
-----Original Message-----
From: Horms
Sent: Wednesday, April 19, 2000 9:45 AM
To: Kirk Lawson; Linux-HA
Subject: Re: Audiable Alarm
On Mon, May 26, 2036 at 06:58:16PM -0500, Kirk Lawson wrote:
>
> Just started experimenting with the heartbeat package. Seems real
nice.
>
> Question: How could I make the failover node generate an audiable alarm
> (say with the system speaker) every second or so when it's in failover
> mode? For instance, maybe add a script that reapeats a 'wall
"Failover"'
> or 'printf "\a"' every second when the node is in failover and then
> terminates it when it's returned the IP.
If you define a resource (a script) that produces an audiable alarm
then this can be specified in the ha-resources file and will
be started and stoped.
--
Horms