Xymon Mailing List Archive search

Depends Question

16 messages in this thread

list Patrick Nixon · Tue, 6 Jul 2010 12:34:41 -0400 ·
Hey all,
 I'm trying to get depends working, but it's not working the way I expect it to.

<bb-hosts snippet>
10.18.16.172            standby                 # conn testip
depends=(conn:eto/conn)
10.18.16.174            eto            # conn ssh snmp testip

eto is currently red, but standby, which is down as well, is also red.


anything specific wrong with my depends statement?  Any reason why
conn wouldn't be able to depend on something else?

Thanks!
--Patrick
list Josh Luthman · Tue, 6 Jul 2010 12:41:56 -0400 ·
Looks right to me, maybe domain related (FQDN)?

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
quoted from Patrick Nixon


On Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
Hey all,
 I'm trying to get depends working, but it's not working the way I expect it to.

<bb-hosts snippet>
10.18.16.172            standby                 # conn testip
depends=(conn:eto/conn)
10.18.16.174            eto            # conn ssh snmp testip

eto is currently red, but standby, which is down as well, is also red.


anything specific wrong with my depends statement?  Any reason why
conn wouldn't be able to depend on something else?

Thanks!
--Patrick

list Patrick Nixon · Tue, 6 Jul 2010 12:49:48 -0400 ·
They're both testip

On Tue, Jul 6, 2010 at 12:41 PM, Josh Luthman
quoted from Josh Luthman
<user-4c45a83f15cb@xymon.invalid> wrote:
Looks right to me, maybe domain related (FQDN)?

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 Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
Hey all,
 I'm trying to get depends working, but it's not working the way I expect it to.

<bb-hosts snippet>
10.18.16.172            standby                 # conn testip
depends=(conn:eto/conn)
10.18.16.174            eto            # conn ssh snmp testip

eto is currently red, but standby, which is down as well, is also red.


anything specific wrong with my depends statement?  Any reason why
conn wouldn't be able to depend on something else?

Thanks!
--Patrick

list Josh Luthman · Tue, 6 Jul 2010 13:32:59 -0400 ·
In stanby's DEPENDS statement referring to eto - not the testing of the host.
quoted from Patrick Nixon

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 Tue, Jul 6, 2010 at 12:49 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
They're both testip

On Tue, Jul 6, 2010 at 12:41 PM, Josh Luthman
<user-4c45a83f15cb@xymon.invalid> wrote:
Looks right to me, maybe domain related (FQDN)?

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 Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
Hey all,
 I'm trying to get depends working, but it's not working the way I expect it to.

<bb-hosts snippet>
10.18.16.172            standby                 # conn testip
depends=(conn:eto/conn)
10.18.16.174            eto            # conn ssh snmp testip

eto is currently red, but standby, which is down as well, is also red.


anything specific wrong with my depends statement?  Any reason why
conn wouldn't be able to depend on something else?

Thanks!
--Patrick

list Patrick Nixon · Tue, 6 Jul 2010 13:42:04 -0400 ·
Josh,
 Not sure what you were saying there?

 My goal is that if eto's conn goes red, that standby's conn should go
clear if it also fails.

 Does my depends statement not appear to work in that fashion?

--Patrick

On Tue, Jul 6, 2010 at 1:32 PM, Josh Luthman
quoted from Josh Luthman
<user-4c45a83f15cb@xymon.invalid> wrote:
In stanby's DEPENDS statement referring to eto - not the testing of the host.

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 Tue, Jul 6, 2010 at 12:49 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
They're both testip

On Tue, Jul 6, 2010 at 12:41 PM, Josh Luthman
<user-4c45a83f15cb@xymon.invalid> wrote:
Looks right to me, maybe domain related (FQDN)?

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 Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
Hey all,
 I'm trying to get depends working, but it's not working the way I expect it to.

<bb-hosts snippet>
10.18.16.172            standby                 # conn testip
depends=(conn:eto/conn)
10.18.16.174            eto            # conn ssh snmp testip

eto is currently red, but standby, which is down as well, is also red.


anything specific wrong with my depends statement?  Any reason why
conn wouldn't be able to depend on something else?

Thanks!
--Patrick

list Josh Luthman · Tue, 6 Jul 2010 13:46:45 -0400 ·
I'm not certain of this because I've always used FQDN.

If you have FQDN=true and are not using them, maybe the DEPENDS tag
isn't finding eto correct?

In your case, as it is conn, you can use route

1.2.32.4    customer.router.com # testip route:customer.cablemodem.com
quoted from Patrick Nixon

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 Tue, Jul 6, 2010 at 1:42 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
Josh,
 Not sure what you were saying there?

 My goal is that if eto's conn goes red, that standby's conn should go
clear if it also fails.

 Does my depends statement not appear to work in that fashion?

--Patrick

On Tue, Jul 6, 2010 at 1:32 PM, Josh Luthman
<user-4c45a83f15cb@xymon.invalid> wrote:
In stanby's DEPENDS statement referring to eto - not the testing of the host.

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 Tue, Jul 6, 2010 at 12:49 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
They're both testip

On Tue, Jul 6, 2010 at 12:41 PM, Josh Luthman
<user-4c45a83f15cb@xymon.invalid> wrote:
Looks right to me, maybe domain related (FQDN)?

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 Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
Hey all,
 I'm trying to get depends working, but it's not working the way I expect it to.

<bb-hosts snippet>
10.18.16.172            standby                 # conn testip
depends=(conn:eto/conn)
10.18.16.174            eto            # conn ssh snmp testip

eto is currently red, but standby, which is down as well, is also red.


anything specific wrong with my depends statement?  Any reason why
conn wouldn't be able to depend on something else?

Thanks!
--Patrick

list Patrick Nixon · Tue, 6 Jul 2010 13:54:48 -0400 ·
I read somewhere that if you use route, it does something weird with
the pings so they go through that host or something?

Let me test it and see how it behaves

--patrick

On Tue, Jul 6, 2010 at 1:46 PM, Josh Luthman
quoted from Josh Luthman
<user-4c45a83f15cb@xymon.invalid> wrote:
I'm not certain of this because I've always used FQDN.

If you have FQDN=true and are not using them, maybe the DEPENDS tag
isn't finding eto correct?

In your case, as it is conn, you can use route

1.2.32.4    customer.router.com # testip route:customer.cablemodem.com

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 Tue, Jul 6, 2010 at 1:42 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
Josh,
 Not sure what you were saying there?

 My goal is that if eto's conn goes red, that standby's conn should go
clear if it also fails.

 Does my depends statement not appear to work in that fashion?

--Patrick

On Tue, Jul 6, 2010 at 1:32 PM, Josh Luthman
<user-4c45a83f15cb@xymon.invalid> wrote:
In stanby's DEPENDS statement referring to eto - not the testing of the host.

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 Tue, Jul 6, 2010 at 12:49 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
They're both testip

On Tue, Jul 6, 2010 at 12:41 PM, Josh Luthman
<user-4c45a83f15cb@xymon.invalid> wrote:
Looks right to me, maybe domain related (FQDN)?

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 Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
Hey all,
 I'm trying to get depends working, but it's not working the way I expect it to.

<bb-hosts snippet>
10.18.16.172            standby                 # conn testip
depends=(conn:eto/conn)
10.18.16.174            eto            # conn ssh snmp testip

eto is currently red, but standby, which is down as well, is also red.


anything specific wrong with my depends statement?  Any reason why
conn wouldn't be able to depend on something else?

Thanks!
--Patrick

list Josh Luthman · Tue, 6 Jul 2010 13:57:12 -0400 ·
I've not experienced that behavior.  Use this for dsl/cable modems and
our routers for 3+ years.
quoted from Patrick Nixon

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 Tue, Jul 6, 2010 at 1:54 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
I read somewhere that if you use route, it does something weird with
the pings so they go through that host or something?

Let me test it and see how it behaves

--patrick

On Tue, Jul 6, 2010 at 1:46 PM, Josh Luthman
<user-4c45a83f15cb@xymon.invalid> wrote:
I'm not certain of this because I've always used FQDN.

If you have FQDN=true and are not using them, maybe the DEPENDS tag
isn't finding eto correct?

In your case, as it is conn, you can use route

1.2.32.4    customer.router.com # testip route:customer.cablemodem.com

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 Tue, Jul 6, 2010 at 1:42 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
Josh,
 Not sure what you were saying there?

 My goal is that if eto's conn goes red, that standby's conn should go
clear if it also fails.

 Does my depends statement not appear to work in that fashion?

--Patrick

On Tue, Jul 6, 2010 at 1:32 PM, Josh Luthman
<user-4c45a83f15cb@xymon.invalid> wrote:
In stanby's DEPENDS statement referring to eto - not the testing of the host.

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 Tue, Jul 6, 2010 at 12:49 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
They're both testip

On Tue, Jul 6, 2010 at 12:41 PM, Josh Luthman
<user-4c45a83f15cb@xymon.invalid> wrote:
Looks right to me, maybe domain related (FQDN)?

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 Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon <user-1f2406f832af@xymon.invalid> wrote:
Hey all,
 I'm trying to get depends working, but it's not working the way I expect it to.

<bb-hosts snippet>
10.18.16.172            standby                 # conn testip
depends=(conn:eto/conn)
10.18.16.174            eto            # conn ssh snmp testip

eto is currently red, but standby, which is down as well, is also red.


anything specific wrong with my depends statement?  Any reason why
conn wouldn't be able to depend on something else?

Thanks!
--Patrick

list Wiskbroom · Tue, 6 Jul 2010 14:35:09 -0400 ·
I have nothing to add to this thread, but it looks like "depends" might be helpful for a problem I am currently having with a pair of servers, whereby one at a time will show a process as running, the other not.  So as long as one of these machines is running this app, the color should stay green.

.vp
quoted from Josh Luthman
I've not experienced that behavior. Use this for dsl/cable modems and
our routers for 3+ years.

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 Tue, Jul 6, 2010 at 1:54 PM, Patrick Nixon  wrote:
I read somewhere that if you use route, it does something weird with
the pings so they go through that host or something?

Let me test it and see how it behaves

--patrick

On Tue, Jul 6, 2010 at 1:46 PM, Josh Luthman
 wrote:
I'm not certain of this because I've always used FQDN.

If you have FQDN=true and are not using them, maybe the DEPENDS tag
isn't finding eto correct?

In your case, as it is conn, you can use route

1.2.32.4    customer.router.com # testip route:customer.cablemodem.com

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 Tue, Jul 6, 2010 at 1:42 PM, Patrick Nixon  wrote:
Josh,
 Not sure what you were saying there?

 My goal is that if eto's conn goes red, that standby's conn should go
clear if it also fails.

 Does my depends statement not appear to work in that fashion?

--Patrick

On Tue, Jul 6, 2010 at 1:32 PM, Josh Luthman
 wrote:
In stanby's DEPENDS statement referring to eto - not the testing of the host.

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 Tue, Jul 6, 2010 at 12:49 PM, Patrick Nixon  wrote:
They're both testip

On Tue, Jul 6, 2010 at 12:41 PM, Josh Luthman
 wrote:
Looks right to me, maybe domain related (FQDN)?

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 Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon  wrote:
Hey all,
 I'm trying to get depends working, but it's not working the way I expect it to.


10.18.16.172            standby                 # conn testip
depends=(conn:eto/conn)
10.18.16.174            eto            # conn ssh snmp testip

eto is currently red, but standby, which is down as well, is also red.


anything specific wrong with my depends statement?  Any reason why
conn wouldn't be able to depend on something else?

Thanks!
--Patrick

list Geoff Hallford · Tue, 6 Jul 2010 15:57:09 -0400 ·
I have always used "route" and it works perfectly if conn is all you care
about. I have never actually gotten "depends" to work. It doesn't make the
ping go through any host you put in route and it also chains properly to
make it easier. Example:

10.10.10.10  server1 # conn route:network1
20.20.20.20  network1 # conn route:network2
30.30.30.30  network2 # conn

If the route to server1 is: hobbit -> network2 -> network1 -> server1

The above statement works, that if network2 is down ... network1 and server1
go blank :)
quoted from Wiskbroom


On Tue, Jul 6, 2010 at 2:35 PM, <user-ddebaeecde97@xymon.invalid> wrote:
I have nothing to add to this thread, but it looks like "depends" might be
helpful for a problem I am currently having with a pair of servers, whereby
one at a time will show a process as running, the other not.  So as long as
one of these machines is running this app, the color should stay green.

.vp
I've not experienced that behavior. Use this for dsl/cable modems and
our routers for 3+ years.

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 Tue, Jul 6, 2010 at 1:54 PM, Patrick Nixon  wrote:
I read somewhere that if you use route, it does something weird with
the pings so they go through that host or something?

Let me test it and see how it behaves

--patrick

On Tue, Jul 6, 2010 at 1:46 PM, Josh Luthman
 wrote:
I'm not certain of this because I've always used FQDN.

If you have FQDN=true and are not using them, maybe the DEPENDS tag
isn't finding eto correct?

In your case, as it is conn, you can use route

1.2.32.4    customer.router.com # testip route:customer.cablemodem.com

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 Tue, Jul 6, 2010 at 1:42 PM, Patrick Nixon  wrote:
Josh,
 Not sure what you were saying there?

 My goal is that if eto's conn goes red, that standby's conn should go
clear if it also fails.

 Does my depends statement not appear to work in that fashion?

--Patrick

On Tue, Jul 6, 2010 at 1:32 PM, Josh Luthman
 wrote:
In stanby's DEPENDS statement referring to eto - not the testing of
the host.

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 Tue, Jul 6, 2010 at 12:49 PM, Patrick Nixon  wrote:
They're both testip

On Tue, Jul 6, 2010 at 12:41 PM, Josh Luthman
 wrote:
Looks right to me, maybe domain related (FQDN)?

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 Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon  wrote:
Hey all,
 I'm trying to get depends working, but it's not working the way I
expect it to.


10.18.16.172            standby                 # conn testip
depends=(conn:eto/conn)
10.18.16.174            eto            # conn ssh snmp testip

eto is currently red, but standby, which is down as well, is also
red.


anything specific wrong with my depends statement?  Any reason why
conn wouldn't be able to depend on something else?

Thanks!
--Patrick

list Johan Sjöberg · Tue, 6 Jul 2010 22:03:06 +0200 ·
Yes, route works fine.
We always use it when monitoring stuff over VPN, to avoid getting 50 e-mails if the VPN goes down.

But my experience is that conn for the "routed" hosts go yellow, not clear, if the "router" doesn't respond to ping. Could be worth considering if you have alerts configured for yellow.

/Johan
quoted from Geoff Hallford

From: Geoff Hallford [mailto:user-dc9e7f30b1e2@xymon.invalid]
Sent: den 6 juli 2010 21:57
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Depends Question

I have always used "route" and it works perfectly if conn is all you care about. I have never actually gotten "depends" to work. It doesn't make the ping go through any host you put in route and it also chains properly to make it easier. Example:

10.10.10.10  server1 # conn route:network1
20.20.20.20  network1 # conn route:network2
30.30.30.30  network2 # conn

If the route to server1 is: hobbit -> network2 -> network1 -> server1

The above statement works, that if network2 is down ... network1 and server1 go blank :)

On Tue, Jul 6, 2010 at 2:35 PM, <user-ddebaeecde97@xymon.invalid<mailto:user-ddebaeecde97@xymon.invalid>> wrote:

I have nothing to add to this thread, but it looks like "depends" might be helpful for a problem I am currently having with a pair of servers, whereby one at a time will show a process as running, the other not.  So as long as one of these machines is running this app, the color should stay green.

.vp
I've not experienced that behavior. Use this for dsl/cable modems and
our routers for 3+ years.

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 Tue, Jul 6, 2010 at 1:54 PM, Patrick Nixon  wrote:
I read somewhere that if you use route, it does something weird with
the pings so they go through that host or something?

Let me test it and see how it behaves

--patrick

On Tue, Jul 6, 2010 at 1:46 PM, Josh Luthman
 wrote:
I'm not certain of this because I've always used FQDN.

If you have FQDN=true and are not using them, maybe the DEPENDS tag
isn't finding eto correct?

In your case, as it is conn, you can use route

1.2.32.4    customer.router.com<http://customer.router.com>; # testip route:customer.cablemodem.com<http://customer.cablemodem.com>;
quoted from Geoff Hallford

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 Tue, Jul 6, 2010 at 1:42 PM, Patrick Nixon  wrote:
Josh,
 Not sure what you were saying there?

 My goal is that if eto's conn goes red, that standby's conn should go
clear if it also fails.

 Does my depends statement not appear to work in that fashion?

--Patrick

On Tue, Jul 6, 2010 at 1:32 PM, Josh Luthman
 wrote:
In stanby's DEPENDS statement referring to eto - not the testing of the host.

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 Tue, Jul 6, 2010 at 12:49 PM, Patrick Nixon  wrote:
They're both testip

On Tue, Jul 6, 2010 at 12:41 PM, Josh Luthman
 wrote:
Looks right to me, maybe domain related (FQDN)?

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 Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon  wrote:
Hey all,
 I'm trying to get depends working, but it's not working the way I expect it to.


10.18.16.172            standby                 # conn testip
depends=(conn:eto/conn)
10.18.16.174            eto            # conn ssh snmp testip

eto is currently red, but standby, which is down as well, is also red.


anything specific wrong with my depends statement?  Any reason why
conn wouldn't be able to depend on something else?

Thanks!
--Patrick

list Patrick Nixon · Tue, 6 Jul 2010 16:28:58 -0400 ·
Thanks for all the insight into this.

route works as advertised

I wonder if anyone has actually gotten the depends tag working correctly.


On Tue, Jul 6, 2010 at 4:03 PM, Johan Sjöberg
quoted from Johan Sjöberg
<user-74c177c1220d@xymon.invalid> wrote:
Yes, route works fine.

We always use it when monitoring stuff over VPN, to avoid getting 50 e-mails
if the VPN goes down.


But my experience is that conn for the “routed” hosts go yellow, not clear,
if the “router” doesn’t respond to ping. Could be worth considering if you
have alerts configured for yellow.


/Johan


From: Geoff Hallford [mailto:user-dc9e7f30b1e2@xymon.invalid]
Sent: den 6 juli 2010 21:57
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Depends Question


I have always used "route" and it works perfectly if conn is all you care
about. I have never actually gotten "depends" to work. It doesn't make the
ping go through any host you put in route and it also chains properly to
make it easier. Example:

10.10.10.10  server1 # conn route:network1
20.20.20.20  network1 # conn route:network2
30.30.30.30  network2 # conn

If the route to server1 is: hobbit -> network2 -> network1 -> server1

The above statement works, that if network2 is down ... network1 and server1
go blank :)

On Tue, Jul 6, 2010 at 2:35 PM, <user-ddebaeecde97@xymon.invalid> wrote:

I have nothing to add to this thread, but it looks like "depends" might be
helpful for a problem I am currently having with a pair of servers, whereby
one at a time will show a process as running, the other not.  So as long as
one of these machines is running this app, the color should stay green.

.vp
I've not experienced that behavior. Use this for dsl/cable modems and
our routers for 3+ years.

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 Tue, Jul 6, 2010 at 1:54 PM, Patrick Nixon  wrote:
I read somewhere that if you use route, it does something weird with
the pings so they go through that host or something?

Let me test it and see how it behaves

--patrick

On Tue, Jul 6, 2010 at 1:46 PM, Josh Luthman
 wrote:
I'm not certain of this because I've always used FQDN.

If you have FQDN=true and are not using them, maybe the DEPENDS tag
isn't finding eto correct?

In your case, as it is conn, you can use route

1.2.32.4    customer.router.com # testip route:customer.cablemodem.com

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 Tue, Jul 6, 2010 at 1:42 PM, Patrick Nixon  wrote:
Josh,
 Not sure what you were saying there?

 My goal is that if eto's conn goes red, that standby's conn should go
clear if it also fails.

 Does my depends statement not appear to work in that fashion?

--Patrick

On Tue, Jul 6, 2010 at 1:32 PM, Josh Luthman
 wrote:
In stanby's DEPENDS statement referring to eto - not the testing of
the host.

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 Tue, Jul 6, 2010 at 12:49 PM, Patrick Nixon  wrote:
They're both testip

On Tue, Jul 6, 2010 at 12:41 PM, Josh Luthman
 wrote:
Looks right to me, maybe domain related (FQDN)?

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 Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon  wrote:
Hey all,
 I'm trying to get depends working, but it's not working the way I
expect it to.


10.18.16.172            standby                 # conn testip
depends=(conn:eto/conn)
10.18.16.174            eto            # conn ssh snmp testip

eto is currently red, but standby, which is down as well, is also
red.


anything specific wrong with my depends statement?  Any reason why
conn wouldn't be able to depend on something else?

Thanks!
--Patrick

list Buchan Milne · Tue, 6 Jul 2010 22:45:08 +0100 ·
quoted from Patrick Nixon
On Tuesday, 6 July 2010 21:28:58 Patrick Nixon wrote:
Thanks for all the insight into this.

route works as advertised

I wonder if anyone has actually gotten the depends tag working correctly.
If there is no evidence that it is working correclty, please file a bug ...

Regards,
Buchan
list Josh Luthman · Tue, 6 Jul 2010 17:48:40 -0400 ·
Does anyone have depends statements that for sure work?
quoted from Buchan Milne

On 7/6/10, Buchan Milne <user-9b139aff4dec@xymon.invalid> wrote:
On Tuesday, 6 July 2010 21:28:58 Patrick Nixon wrote:
Thanks for all the insight into this.

route works as advertised

I wonder if anyone has actually gotten the depends tag working correctly.
If there is no evidence that it is working correclty, please file a bug ...

Regards,
Buchan

-- 
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
list Wiskbroom · Wed, 7 Jul 2010 09:46:52 -0400 ·

Thanks all;

In my situation, we have a pair of servers where one of the two must be running a process, that is what we monitor; the existence of the process running, not the availability of the host.

Any suggestions anyone?

Thank you,

.vp
quoted from Patrick Nixon

I have always used "route" and it works perfectly if conn is all you care about. I have never actually gotten "depends" to work. It doesn't make the ping go through any host you put in route and it also chains properly to make it easier. Example:


10.10.10.10 server1 # conn route:network1
20.20.20.20 network1 # conn route:network2
30.30.30.30 network2 # conn

If the route to server1 is: hobbit -> network2 -> network1 -> server1

The above statement works, that if network2 is down ... network1 and server1 go blank :)


On Tue, Jul 6, 2010 at 2:35 PM,> wrote:


I have nothing to add to this thread, but it looks like "depends" might be helpful for a problem I am currently having with a pair of servers, whereby one at a time will show a process as running, the other not. So as long as one of these machines is running this app, the color should stay green.


.vp

I've not experienced that behavior. Use this for dsl/cable modems and
our routers for 3+ years.
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 Tue, Jul 6, 2010 at 1:54 PM, Patrick Nixon wrote:
I read somewhere that if you use route, it does something weird with
the pings so they go through that host or something?
Let me test it and see how it behaves
--patrick
On Tue, Jul 6, 2010 at 1:46 PM, Josh Luthman
wrote:
I'm not certain of this because I've always used FQDN.
If you have FQDN=true and are not using them, maybe the DEPENDS tag
isn't finding eto correct?
In your case, as it is conn, you can use route
1.2.32.4 customer.router.com # testip route:customer.cablemodem.com
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 Tue, Jul 6, 2010 at 1:42 PM, Patrick Nixon wrote:
Josh,
Not sure what you were saying there?
My goal is that if eto's conn goes red, that standby's conn should go
clear if it also fails.
Does my depends statement not appear to work in that fashion?
--Patrick
On Tue, Jul 6, 2010 at 1:32 PM, Josh Luthman
wrote:
In stanby's DEPENDS statement referring to eto - not the testing of the host.
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 Tue, Jul 6, 2010 at 12:49 PM, Patrick Nixon wrote:
They're both testip
On Tue, Jul 6, 2010 at 12:41 PM, Josh Luthman
wrote:
Looks right to me, maybe domain related (FQDN)?
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 Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon wrote:
Hey all,
I'm trying to get depends working, but it's not working the way I expect it to.
10.18.16.172 standby # conn testip
depends=(conn:eto/conn)
10.18.16.174 eto # conn ssh snmp testip
eto is currently red, but standby, which is down as well, is also red.
anything specific wrong with my depends statement? Any reason why
conn wouldn't be able to depend on something else?
Thanks!
--Patrick
list Buchan Milne · Wed, 7 Jul 2010 16:23:22 +0100 ·
quoted from Wiskbroom
On Wednesday, 7 July 2010 14:46:52 user-ddebaeecde97@xymon.invalid wrote:
Thanks all;

In my situation, we have a pair of servers where one of the two must be
 running a process, that is what we monitor; the existence of the process
 running, not the availability of the host.

Any suggestions anyone?
Running under clustering software, or not?

(using depends on combotest or similar for this is not elegant, as there could 
be other process checks which you want to alarm on on both servers).

Regards,
Buchan