BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {bb} bbgen and conn
One problem I see with doing it this way is you now have three hosts for
one. I think that makes the display look a little out of hand. It would be
great to just have a conn and a conn2 column and there you go. I currently
use the bb-conn2 script to do this, but I don't get the larrd graph or the
advantage of trace and such using bbgen.
-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of Henrik Storner
Sent: Wednesday, August 25, 2004 10:59 AM
To: bb@bb4.com
Subject: Re: {bb} bbgen and conn
In <CCE0D6BC217E0042B396FD6FCCF3D83FF26636@mail-ncemc-a.raleigh.ncemcs.com>
"Ingersoll, Rick" <rick.ingersoll@ncemcs.com> writes:
>I know that this has been discussed in the past, but I was wondering
>if the new version of bbgen now supports conn to more than one
>interface now. Henrik I guess this really is a question for you.
Well, yes and no.
I have just looked over Ralph's fping.sh script. It defines a "list"
tag for combining multiple IP's into one "conn" test. But this can
easily be done with bbgen and the bbcombotest tool. "list" defines a
set of hostnames that must be in bb-hosts, so they each have their own
"conn" test. E.g. you have a router "r1" with two interfaces "primary"
and "backup" - with fping.sh the setup could be like this:
99.17.183.1 r1-primary #
219.29.102.1 r1-backup #
0.0.0.0 router1 # list r1-primary,r1-backup best
fping.sh then creates a router1 "conn" column which is green if either
of r1-primary or r1-backup is green.
How to do that with bbgen ? In bbgen you would have r1-primary and
r1-backup as well, and then just "0.0.0.0 router1 #" for router1. In
bbcombotest.cfg you then define how router1.conn is computed from the
other two:
router1.conn=(r1\-primary.conn || r1\-backup.conn)
(you need the backslash-escape before the dashes - see the
bbcombotest.cfg man-page).
So it is doable with the tools already in bbgen. Therefore I still
haven't decided if it's worth adding the extra code necessary to
implement the "list" and "range" tags that fping.sh has to bbgen.
Now, I agree that it might be more elegant if you could just have
something like this in bb-hosts
0.0.0.0 router1 # conn:primary=99.17.183.1|secondary=219.29.102.1
and bbtest-net would then ping both of those adresses, and report
router1.conn green if either of them were up. But on the other hand
it might be useful to setup alerting if the primary interface goes
down, even though the router is still working via the
backup-interface.
Henrik
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index