[Fwd: Audiable Alarm]
Medi Montaseri
medi@sanlight.com
Thu, 20 Apr 2000 14:13:50 -0700
--------------D0734420BF193091873FB4C6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
While I think this is cute, but you need think more industrial. Computers are
usually
in computer rooms or data centers. So what if a node beeps at 3 AM in some data
center.
That is not how you get informed of an event.
But overall, now you know how to write a shell scripts that beeps.
Kirk Lawson wrote:
> 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
>
> ------------------------------------------------------------------------------
> Linux HA Web Site:
> http://linux-ha.org/
> Linux HA HOWTO:
> http://metalab.unc.edu/pub/Linux/ALPHA/linux-ha/High-Availability-HOWTO.html
> ------------------------------------------------------------------------------
--
=====================================================================
Medi Montaseri, Software Eng, medi@sanlight.com
=====================================================================
--------------D0734420BF193091873FB4C6
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
While I think this is cute, but you need think more industrial. Computers
are usually
<br>in computer rooms or data centers. So what if a node beeps at 3 AM
in some data center.
<br>That is not how you get informed of an event.
<p>But overall, now you know how to write a shell scripts that beeps.
<p>Kirk Lawson wrote:
<blockquote TYPE=CITE>OK, after much work and no small amount of frustration,
I have come up
<br>with a "solution."
<p>It's entirely /bin/sh script based, but does create a "daemon" that
will
<br>beep and is start/stopped from a /etc/rc.d/init.d control prog.
I've
<br>even managed to cobble together a quick (and dirty) installation script.
<p>It's not sophisticated. It's not pretty. But it works.
<p>Where should I stick the .z so that better coders than I can fix this
<br>cludge solution?
<p>Peace favor your sword,
<br> -Kirk
<p>"I have little patience with people who take the Bill of Rights for
<br>granted. The Bill of Rights, contained in the first ten amendments
to
<br>the Constitution, is every American's guarantee of freedom."
<br> -President Harry S. Truman
<p> -----Original Message-----
<br>From: Horms
<br>Sent: Wednesday, April 19, 2000 9:45 AM
<br>To: Kirk Lawson; Linux-HA
<br>Subject: Re: Audiable Alarm
<p>On Mon, May 26, 2036 at 06:58:16PM -0500, Kirk Lawson wrote:
<br>>
<br>> Just started experimenting with the heartbeat package. Seems
real
<br>nice.
<br>>
<br>> Question: How could I make the failover node generate an audiable
alarm
<br>
<p>> (say with the system speaker) every second or so when it's in failover
<br>
<p>> mode? For instance, maybe add a script that reapeats a 'wall
<br>"Failover"'
<br>> or 'printf "\a"' every second when the node is in failover and then
<br>> terminates it when it's returned the IP.
<p>If you define a resource (a script) that produces an audiable alarm
<br>then this can be specified in the ha-resources file and will
<br>be started and stoped.
<p> --
<br>Horms
<p>------------------------------------------------------------------------------
<br>Linux HA Web Site:
<br> <a href="http://linux-ha.org/">http://linux-ha.org/</a>
<br>Linux HA HOWTO:
<br> <a href="http://metalab.unc.edu/pub/Linux/ALPHA/linux-ha/High-Availability-HOWTO.html">http://metalab.unc.edu/pub/Linux/ALPHA/linux-ha/High-Availability-HOWTO.html</a>
<br>------------------------------------------------------------------------------</blockquote>
<pre>--
=====================================================================
Medi Montaseri, Software Eng, medi@sanlight.com
=====================================================================</pre>
</html>
--------------D0734420BF193091873FB4C6--