Hello,

i used the guide at http://www.linux-ha.org/PingdWithMultipleNetworks to monitor connectivity to 2 different nets and it works.

I don't like that i have to create copies of /usr/lib/heartbeat/pingd though, since it means i have to remember to update these copies manually, when i update heartbeat.

Is there an alternative way?

I have tried so far without success:
1) Symlinking:
cd /usr/lib/heartbeat
ln -s pingd pingdnet1
ln -s pingd pingdnet2

2) Using just one copy of pingd and configuring ha.cf like this:
respawn root /usr/lib/heartbeat/pingd -a pingdnet1 -m 100 -d 5s -p /var/run/pingdnet1.pid -h a.a.a.a -h b.b.b.b -h c.c.c.c respawn root /usr/lib/heartbeat/pingd -a pingdnet2 -m 100 -d 5s -p /var/run/pingdnet1.pid -h x.x.x.x -h y.y.y.y -h z.z.z.z

OS: debian/etch
heartbeat version: 2.1.3 (specifically the backport 2.1.3-6~bpo40+2 from backports.org)

Thanks in advance
Christian Charles
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to