BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} bbgen and multiple ip addresses -- stuck



Hi Henrik,

On Wed, 6 Apr 2005, Henrik Storner wrote:

> And presumably you want the ping test to run on both IP's ?
> 
> 
> I'd suggest this setup:

First of all, you are my hero!  (I'm not kidding!)

You are absolutely correct in what I was trying to accomplish.  I have 
followed your suggestion, and it is working perfectly.

I only have two questions below.

> 
> 10.0.0.1        myrradel.com    # NET:Net10 noconn testip BBDISPLAY BBPAGER BBNET pop3
> 216.218.224.14  myrradel.com    # NET:Ext conn=worst,10.0.0.1 http://www.myrradel.com dig smtp
> 
> This setup splits the network tests in two, so you'll need to run the
> bbtest-net twice from the bb-network.sh script. One group of tests
> handle the internal IP's (10.x.x.x), the other group handles the
> external IP's. Your bb-network.sh would do something like
> 
>     # Check the 10.x.x.x IP's
>     BBLOCATION=Net10 $BBHOME/bin/bbtest-net --noping --checkresponse
> 
>     # Check the external IP's
>     BBLOCATION=Ext $BBHOME/bin/bbtest-net --ping --report --checkresponse
> 

Why is it necessary to actually break it into two different network tests, 
instead of just putting noconn on the first, and conn=worset,etc. on the 
second?  Why do they need to be in two different NET definitions?  (I 
tried it without the separate NET definitions, and while it seemed to work 
for most of the hosts, a few of them still had the same problem.  So 
obviously splitting it up into the two tests was significant.)

Is it the lack of the --report in the Net10 that makes it not recognize 
the multiple hostnames?  (I find it strange that it did work somewhat, 
when I didn't split into the multiple networks.  But, since your method 
worked completely, I'm not going to caught up on my mixed results.)

And second, now that I have it nice and green as it should be, and both 
sets of ip addresses are being tested correctly, is there any way to 
combine the results onto a single line?  Right now, I get a separate 
duplicate line, because of the second ip address (though all the tests 
show on both lines).


> So the first one would do your "pop3" test only, the second one would
> run the ping, http, dig and smtp tests.
> 
> The "conn=worst,10.0.0.1" is for making the ping test check both
> adresses and report them together in a single status report - so you
> will truly have a check of both IP's.
> 


Again, thank you so much!  I have read through an insane amount of 
documentation and mailing list archives over the last 2 weeks, and could 
not find what you just showed me.  Your help is much appreciated!

-Michael

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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