Xymon Mailing List Archive search

how to test depends tag

list Asif Iqbal
Tue, 14 Nov 2006 15:55:43 -0500
Message-Id: <user-9c3bc5bdfc31@xymon.invalid>

On 11/14/06, Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> wrote:
Is there a way to quick test the depends tag besides changing the
host's ip to a fake one that the service depends on?

In other words if depends=(testA:host1/test1) I can change the host1's
ip in bb-hosts to test if depends working. Is there any other less
crude way to test it?
Hmm I changed the ip of host1 but still see hostA conn green

1.2.3.4 hostA.domain.net # conn depends=(conn:host1.domain.net/conn)
2.3.4.5 host1.domain.net # testip

I chaged the ip 2.3.4.5 to a non exist 1.1.1.1 ip and host1 conn went
red. But hostA still showing green

(all ips are masked here)

Thanks

--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu