On 11/16/06, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:
What if you set up two bogus addresses (host A and host B) with Host B
dependent on Host A. Hobbit should show two failed tests, but Host B
will be yellow and Host A will be red.
That is exactly what I tried and both went red. Check below my exact
entries of bb-hosts related to this
-----Original Message-----
From: Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid]
Sent: Thursday, November 16, 2006 3:01 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Re: how to test route tag
On 11/16/06, user-c102b8958c7a@xymon.invalid <user-c102b8958c7a@xymon.invalid>
wrote:
What if you just sent in a red/yellow status from the commandline to
test the trigger?
That did not help. I think fping has to find it not reachable.
-----Original Message-----
From: Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid]
Sent: Thursday, November 16, 2006 1:56 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Re: how to test route tag
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?
changing the IP of hosts won't do the test with route tag (or depend
tag for that matter). In other words if I have real setup like this,
considering they are real IPs
1.2.3.4 hostA # testip route:routerB
1.2.3.5 routerB # testip
There is no way I can just change the IPs to some fake IPs to do the
yellow test.
Anyone know of a trick?
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?
Thanks
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu