Xymon Mailing List Archive search

External scripts - template or how-to ?

list Henrik Størner
Tue, 25 Oct 2005 12:22:17 +0200
Message-Id: <user-a36e988afa9b@xymon.invalid>

On Tue, Oct 25, 2005 at 11:02:43AM +0200, Torben Aagaard wrote:
On 10/25/05, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> 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