[hobbit] External scripts - template or how-to ?

Henrik Stoerner henrik at hswn.dk
Tue Oct 25 12:22:17 CEST 2005


On Tue, Oct 25, 2005 at 11:02:43AM +0200, Torben Aagaard wrote:
> On 10/25/05, Henrik Stoerner <henrik at hswn.dk> wrote:
> >
> >
> > I hate to tell people to Read The Fine Manual, but it's there:
> > http://www.hswn.dk/hobbit/help/hobbit-tips.html#scripts
> 
>  Yes - but these fine examples do not take the "testip" tag into account.
>  So, basically I need to test for the presence of "testip" to determine if
> the test should be run with $1 or $2 ?

bbhostgrep provides the "testip" tag from the bb-hosts file also, so
you can go through the $1 $2 etc. and see if there's a "testip"
keyword among them.


Regards,
Henrik




More information about the Xymon mailing list