Xymon Mailing List Archive search

bb-bbexttab?

list Wim de Houwer
Wed, 19 Jan 2005 08:06:15 +0100
Message-Id: <user-3747ad7fbe5b@xymon.invalid>

Hey Bruce,

If you have server-side checks that need to be done (e.g. Snmp query to
alot of clients or in this case check if mysql server is running) 
you can add some lines to hobbitlaunch.cfg

[mysql]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD $BBHOME/ext/bb-mysql.pl
        LOGFILE $BBSERVERLOGS/bb-mysql.log
        INTERVAL 5m

This is the same as the hobbit processes themselves
Setting the environment, say that it needs hobbitd, which command to
execute, to which file to log messages, and how often to fire the
script.

I use it like this, the only thing you need to take into account is that
for shell scripts the variables as they were defined in the old BB
(grep, awk, ...) are not in the environment so you have to add them to
your script.

Cheers,

Wim

-----Original Message-----
From: Bruce Lysik [mailto:user-4e63a10f8934@xymon.invalid] 
Sent: woensdag 19 januari 2005 1:12
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] bb-bbexttab?


Hi,

Does hobbit use the bb-bbexttab file?  I'm trying to find how to define
external checks to run.

Thanks.

--
Bruce Z. Lysik  <user-4e63a10f8934@xymon.invalid>
Operations Engineer