[hobbit] bb-bbexttab?
Wim De Houwer
wdehouwer at be.tiscali.com
Wed Jan 19 08:06:15 CET 2005
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:blysik at shutterfly.com]
Sent: woensdag 19 januari 2005 1:12
To: hobbit at hswn.dk
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 <blysik at shutterfly.com>
Operations Engineer
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
More information about the Xymon
mailing list