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
> >> 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?
>
> Because you wanted the pop3 test to run against the 10.x IP, and the
> smtp test to run against the 216.x IP. If the ping-test was all that
> you wanted to duplicate, you could get away with just the special
> "conn=worst,IP1,IP2,...." entry and a single line.
>
> But when doing network tests apart from the "conn" test, in one run of
> bbtest-net each host can have only one IP-address. So if you want to
> test network services on multiple IP's, then you need to split them up
> like this. (The "conn" test is an exception that was made specifically
> for this).
Hi Henrik,
But even if I wanted to split up the tests, why does the following not
work?:
10.0.0.1 myrradel.com # noconn testip BBDISPLAY BBPAGER BBNET pop3
216.218.224.14 myrradel.com # conn=worst,10.0.0.1 http://www.myrradel.com dig smtp
I guess what I'm not understanding is what made it necessary to make a
leap to splitting it up into multiple network-test definitions.
If I'm understanding you correctly, is it that aside from the conn test,
when I place it on multiple lines like above, the tests for both lines
are really going to use the same ip address?
Maybe it was just coincidence, but I thought that when I had it like
above, the proper tests were being called on the proper ip addresses.
But, I may have just thought they were, and missed what was really
happening.
> >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).
>
> Put a "nodisp" tag on one of the lines.
Perfect!
Thanks again!
-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