[hobbit] find-host/bbhostgrep with page/subpage and includes

Dominique Frise Dominique.Frise at unil.ch
Sat Apr 1 14:41:23 CEST 2006


Henrik Stoerner wrote:
> 
> That's a bug. Attached a patch to fix it.
> 
> 

I would'nt expect such a quick reaction on saturdays!
Thank you for the fix!


> 
> This is really a configuration problem. When using the "prefer" tag, you
> also tell bbhostgrep to look at only the "preferred" entry in the
> bb-hosts file. So you really should have put the network tests on the
> preferred entry in bb-hosts.
> 
> bbtest-net takes a somewhat more cautious approach, and performs all of
> the network tests it sees.
> 
> But I agree that it is a trap that is easy to fall into. So perhaps 
> bbhostgrep should ignore the "prefer" ? At least when looking for
> tests to run, which is what it will commonly be used to do. So
> I've added an enhancement to bbhostgrep which does that.
>

Thanks again for all these explanations.
The prefer tag is now on the network test line and bbhostgrep work as 
expected.


Dominique



More information about the Xymon mailing list