Xymon Mailing List Archive search

Route Question

5 messages in this thread

list Geoff Hallford · Mon, 1 Dec 2008 13:41:19 -0500 ·
Hi All,

Does anyone know if the route tag in bb-hosts "chains"? I am trying to
configure the route dependencies the best way possible. Would this work?

Example:
Host is HostA and the path to HostA is RTR1,STCH2,RTR3.

bb-hosts Example (What I want to do):
10.20.20.21 HOBBIT
10.20.20.20 RTR1
10.30.30.30 SWCH2 route:RTR1
10.40.40.40 RTR3 route:SWCH2
10.40.40.41 HostA route:RTR3

So that if say SWCH2 goes down, I won't get alerts for RTR3 or HostA
(because the dependency "chains" from RTR3, to SWCH2 ....

OR, do I have to do it like the following (whole path, each time):

bb-hosts Example (What I don't really want to do but should work no matter
what):
10.20.20.21 HOBBIT
10.20.20.20 RTR1
10.30.30.30 SWCH2 route:RTR1
10.40.40.40 RTR3 route:RTR1,SWCH2
10.40.40.41 HostA route:RTR1,SWCH2,RTR3

Thanks! I don't have a test network device to try this, which is why I am
asking.

Geoff Hallford

'Nobody goes there anymore. It's too crowded.' --Yogi Berra
list Josh Luthman · Mon, 1 Dec 2008 13:47:30 -0500 ·
My money says it would work as expected.  To be sure simply set a static arp
entry for 10.30.30.30, switch2 and 10.20.20.20, rtr1.  You should see the
router go red and the switch go yellow.

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
quoted from Geoff Hallford


On Mon, Dec 1, 2008 at 1:41 PM, Geoff Hallford <user-dc9e7f30b1e2@xymon.invalid>wrote:
Hi All,

Does anyone know if the route tag in bb-hosts "chains"? I am trying to
configure the route dependencies the best way possible. Would this work?

Example:
Host is HostA and the path to HostA is RTR1,STCH2,RTR3.

bb-hosts Example (What I want to do):
10.20.20.21 HOBBIT
10.20.20.20 RTR1
10.30.30.30 SWCH2 route:RTR1
10.40.40.40 RTR3 route:SWCH2
10.40.40.41 HostA route:RTR3

So that if say SWCH2 goes down, I won't get alerts for RTR3 or HostA
(because the dependency "chains" from RTR3, to SWCH2 ....

OR, do I have to do it like the following (whole path, each time):

bb-hosts Example (What I don't really want to do but should work no matter
what):
10.20.20.21 HOBBIT
10.20.20.20 RTR1
10.30.30.30 SWCH2 route:RTR1
10.40.40.40 RTR3 route:RTR1,SWCH2
10.40.40.41 HostA route:RTR1,SWCH2,RTR3

Thanks! I don't have a test network device to try this, which is why I am
asking.

Geoff Hallford

'Nobody goes there anymore. It's too crowded.' --Yogi Berra
list Geoff Hallford · Mon, 1 Dec 2008 14:14:33 -0500 ·
Perfect, thanks. I just need someone's confirmation. I will disable alerting
later Today and give it a shot. I will let the list know, so that other can
know as well.

I think that should probably be added to the bb-hosts man page for the
"route:" tag, since it doesn't explain that this can work and is much better
to do.

Geoff.
quoted from Josh Luthman


On Mon, Dec 1, 2008 at 1:47 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid>wrote:
My money says it would work as expected.  To be sure simply set a static
arp entry for 10.30.30.30, switch2 and 10.20.20.20, rtr1.  You should see
the router go red and the switch go yellow.

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer


On Mon, Dec 1, 2008 at 1:41 PM, Geoff Hallford <user-dc9e7f30b1e2@xymon.invalid>wrote:
Hi All,

Does anyone know if the route tag in bb-hosts "chains"? I am trying to
configure the route dependencies the best way possible. Would this work?

Example:
Host is HostA and the path to HostA is RTR1,STCH2,RTR3.

bb-hosts Example (What I want to do):
10.20.20.21 HOBBIT
10.20.20.20 RTR1
10.30.30.30 SWCH2 route:RTR1
10.40.40.40 RTR3 route:SWCH2
10.40.40.41 HostA route:RTR3

So that if say SWCH2 goes down, I won't get alerts for RTR3 or HostA
(because the dependency "chains" from RTR3, to SWCH2 ....

OR, do I have to do it like the following (whole path, each time):

bb-hosts Example (What I don't really want to do but should work no matter
what):
10.20.20.21 HOBBIT
10.20.20.20 RTR1
10.30.30.30 SWCH2 route:RTR1
10.40.40.40 RTR3 route:RTR1,SWCH2
10.40.40.41 HostA route:RTR1,SWCH2,RTR3

Thanks! I don't have a test network device to try this, which is why I am
asking.

Geoff Hallford

'Nobody goes there anymore. It's too crowded.' --Yogi Berra
list Geoff Hallford · Mon, 1 Dec 2008 20:20:34 -0500 ·
It works as you thought and I hoped. Thanks. It will chain.
quoted from Geoff Hallford

'Nobody goes there anymore. It's too crowded.' --Yogi Berra


On Mon, Dec 1, 2008 at 2:14 PM, Geoff Hallford <user-dc9e7f30b1e2@xymon.invalid>wrote:
Perfect, thanks. I just need someone's confirmation. I will disable
alerting later Today and give it a shot. I will let the list know, so that
other can know as well.

I think that should probably be added to the bb-hosts man page for the
"route:" tag, since it doesn't explain that this can work and is much better
to do.

Geoff.


On Mon, Dec 1, 2008 at 1:47 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid>wrote:
My money says it would work as expected.  To be sure simply set a static
arp entry for 10.30.30.30, switch2 and 10.20.20.20, rtr1.  You should see
the router go red and the switch go yellow.

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer


On Mon, Dec 1, 2008 at 1:41 PM, Geoff Hallford <user-dc9e7f30b1e2@xymon.invalid>wrote:
Hi All,

Does anyone know if the route tag in bb-hosts "chains"? I am trying to
configure the route dependencies the best way possible. Would this work?

Example:
Host is HostA and the path to HostA is RTR1,STCH2,RTR3.

bb-hosts Example (What I want to do):
10.20.20.21 HOBBIT
10.20.20.20 RTR1
10.30.30.30 SWCH2 route:RTR1
10.40.40.40 RTR3 route:SWCH2
10.40.40.41 HostA route:RTR3

So that if say SWCH2 goes down, I won't get alerts for RTR3 or HostA
(because the dependency "chains" from RTR3, to SWCH2 ....

OR, do I have to do it like the following (whole path, each time):

bb-hosts Example (What I don't really want to do but should work no
matter what):
10.20.20.21 HOBBIT
10.20.20.20 RTR1
10.30.30.30 SWCH2 route:RTR1
10.40.40.40 RTR3 route:RTR1,SWCH2
10.40.40.41 HostA route:RTR1,SWCH2,RTR3

Thanks! I don't have a test network device to try this, which is why I am
asking.

Geoff Hallford

'Nobody goes there anymore. It's too crowded.' --Yogi Berra
list Josh Luthman · Mon, 1 Dec 2008 20:27:51 -0500 ·
Thank you very much for documenting that here =)
signature

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer


quoted from Geoff Hallford
On Mon, Dec 1, 2008 at 8:20 PM, Geoff Hallford <user-dc9e7f30b1e2@xymon.invalid>wrote:
It works as you thought and I hoped. Thanks. It will chain.

'Nobody goes there anymore. It's too crowded.' --Yogi Berra


On Mon, Dec 1, 2008 at 2:14 PM, Geoff Hallford <user-dc9e7f30b1e2@xymon.invalid>wrote:
Perfect, thanks. I just need someone's confirmation. I will disable
alerting later Today and give it a shot. I will let the list know, so that
other can know as well.

I think that should probably be added to the bb-hosts man page for the
"route:" tag, since it doesn't explain that this can work and is much better
to do.

Geoff.


On Mon, Dec 1, 2008 at 1:47 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid
quoted from Geoff Hallford
wrote:
My money says it would work as expected.  To be sure simply set a static
arp entry for 10.30.30.30, switch2 and 10.20.20.20, rtr1.  You should
see the router go red and the switch go yellow.

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer


On Mon, Dec 1, 2008 at 1:41 PM, Geoff Hallford <user-dc9e7f30b1e2@xymon.invalid
quoted from Geoff Hallford
wrote:
Hi All,

Does anyone know if the route tag in bb-hosts "chains"? I am trying to
configure the route dependencies the best way possible. Would this work?

Example:
Host is HostA and the path to HostA is RTR1,STCH2,RTR3.

bb-hosts Example (What I want to do):
10.20.20.21 HOBBIT
10.20.20.20 RTR1
10.30.30.30 SWCH2 route:RTR1
10.40.40.40 RTR3 route:SWCH2
10.40.40.41 HostA route:RTR3

So that if say SWCH2 goes down, I won't get alerts for RTR3 or HostA
(because the dependency "chains" from RTR3, to SWCH2 ....

OR, do I have to do it like the following (whole path, each time):

bb-hosts Example (What I don't really want to do but should work no
matter what):
10.20.20.21 HOBBIT
10.20.20.20 RTR1
10.30.30.30 SWCH2 route:RTR1
10.40.40.40 RTR3 route:RTR1,SWCH2
10.40.40.41 HostA route:RTR1,SWCH2,RTR3

Thanks! I don't have a test network device to try this, which is why I
am asking.

Geoff Hallford

'Nobody goes there anymore. It's too crowded.' --Yogi Berra