network monitoring?

Alan Robertson alanr@unix.sh
Thu, 19 Apr 2001 11:48:58 -0600


David Lang wrote:
> 
> Ok, now I have hearbeat up and working.
> 
> has anyone written scripts to monitor network connectivity?
> 
> I am useing this for firewalls and I want it to failover if one of the
> ehternet connections fail.
> 
> currently if I set it to heartbeat on both connections then it will not
> failover unless both connections fail.
> 
> I could write a script that pings out from each box to other machines on
> the network and then kills hearbeat if there is no response, but if
> someone else has done work in this area I don't want to duplicate it.

Various people have written scripts to do this.  I don't remember who, but
it should be in the archive.

Heartbeat itself monitors network connections, and you can tell when they
come and go by attaching through the heartbeat API.

	-- Alan Robertson
	   alanr@unix.sh