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
In <Pine.LNX.4.44.0504052345000.19197-100000@myrradel.com> Michael Jameson <michael@myrradel.com> writes:
>First of all, you are my hero! (I'm not kidding!)
<blush> Thank you! </blush>
>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?
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).
>Is it the lack of the --report in the Net10 that makes it not recognize
>the multiple hostnames?
No the --report just decides which of the two bbtest-net runs that
sends in a status-report about bbtest-net running for the "bbtest"
column.
The BBLOCATION env. variable acts as a filter so bbtest-net only picks
up those lines in the bb-hosts file that has a matching "NET:x" tag.
So by defining the BBLOCATION variable, bbtest-net just picks out one
group of tests in the bb-hosts file, and ignores all others.
>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.
Regards,
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.
Home |
Main Index |
Thread Index