[hobbit] Question/feature request

Eric van de Meerakker eric-list-1 at softlution.com
Mon Jul 3 16:58:39 CEST 2006


Hi Henrik,


I just redid the test with --checkresponse in stead of --check-response:

	$BBHOME/bin/bbtest-net `cat $REDOFILE` --checkresponse

That one seems to produce the desired effect: tests are stable at yellow
when I change the FTP expect setting.

I thought it might not be working properly because of the quotes in in
the "frequenttests." file. Then I removed the --checkresponse and put an
'eval' in front of that line in stead:

	eval $BBHOME/bin/bbtest-net `cat $REDOFILE`

it all works properly again (at least on my SuSE SLES9 installation). If
not a fix, at least it is a workaround...


Regards,

Eric.


Henrik Stoerner wrote:
> On Mon, Jul 03, 2006 at 02:17:43PM +0200, Eric van de Meerakker wrote:
>> I don't know if you read my previous response (see below), because it
>> got sent using the wrong mail account. But I think I've found another
>> issue: does the network retest procedure after a failed test ignore the
>> "expect" setting in bb-services?
>>
>> I tried to do some testing by deliberatly misconfiguring the expect
>> setting for the FTP test (I set it to 221 in stead of 220), and now I
>> have got a cyclical behaviour on the Hobbit server: it will turn all
>> (five) FTP service tests yellow on the next test, but within a minute
>> they all turn green again. Again five minutes later they turn yellow
>> again, back green within a minute, etc. etc. This continues to happen
>> until I put the expect 220 back in bb-services...
>>
>> I don't think this is the correct behaviour?
> 
> Doesn't sound right, I'll have to agree.
> 
> The retest procedure should use the same parameters as the normal tests,
> but your experiment shows that it might not. Just to verify this, could
> you try modifying the ~hobbit/server/ext/bbretest-net.sh script and add
> "--check-response" to the bbtest-net command in there  (after the "cat
> $REDOFILE") ?
> 
> 
> Regards,
> Henrik
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
> 



More information about the Xymon mailing list