Wed, 18 Apr 2001 11:32:01 +0200
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.
The heartbeat media should be redundant, meaning have as many as
It is _not_ intended to be used as an indicator for an interface
If you have just one heartbeat path and that path fails, _both_ nodes
will think they are the remaining ones and the backup node will activate
its resources, but the former primary node won't release its resources.
So you end up with _two_ active nodes. Not good, especially if you use a
> 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.
You may want to have a look at mon, a multi-purpose monitoring tool: