Xymon Mailing List Archive search

Alerting when "dialup" host from clear to green

list Josh Luthman
Sun, 20 Jun 2010 17:28:13 -0400
Message-Id: <user-31160ca090d2@xymon.invalid>

Vegas never sleeps and they seem to be doing pretty good =)

I now have this:

172.16.10.49	airosfallback.ubnt.com # testip dialup
172.17.16.15	nodhcp.ubnt.com  # testip depends=(conn:airosfallback.ubnt.com)

The second host (nodhcp) is showing up red.  The syntax looks correct
to me...from the docs...

depends=(testA:host1/test1,host2/test2),(testB:host3/test3),[...]

Do we know if the clear condition should act as we expect in this case?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

“Success is not final, failure is not fatal: it is the courage to
continue that counts.”
--- Winston Churchill


On Sun, Jun 20, 2010 at 6:38 AM, Xymon User in Richmond
<user-24d6f8323faa@xymon.invalid> wrote:
On Sun, June 20, 2010 04:55, Josh Luthman wrote:
I have this host:

172.16.10.49  foo.bar.com # testip dialup

Which is only used when a device fails to find a DHCP server.  Is
there any way to be alerted when this goes from clear to green?  COLOR
does not accept green and RECOVERED it seems is only from red to green
(we all know about the yellow to green "bug").
You're up at 5am Sunday thinking about this?  Eek.

Don't see how to do it directly, but what about:
172.17.16.15 nodhcp.foo.bar.com # testip depends=(conn:foo.bar.com)

That should go red whenever foo.bar.com goes green.  Assuming you don't
actually have a pingable host on 172.17.16.15, which is rather obscure
RFC1918 space.