Audiable Alarm

Horms horms@vergenet.net
Wed, 19 Apr 2000 09:45:58 -0700


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