I found the problem with the previous reported error. I have another
question about the READ.FIRST file.
What does it mean by;
"The scripts will not recognize the hobbit include directive so, on
the bb-hosts on your client, you have to put che host you're checking
in a bb-hosts file directly (you can leave them in a include fine on
the hobbit server)."
I set up my bb-hosts "0.0.0.0 mysql # noconn dbcheck" from the hobbit
client. The setting from hobbit server is "0.0.0.0 mysql #".
Reference:
"If you want to run those scripts in a Hobbit Client instead of
running them on the server you have to modify the bb-hosts file on the
server and put also a bb-hosts file on the client machine. The scripts
will not recognize the hobbit include directive so, on the bb-hosts on
your client, you have to put che host you're checking in a bb-hosts
file directly (you can leave them in a include fine on the hobbit
server).
Edit your hobbitclient.cfg file to include the hosts/database/wlserver
you want to check (see the README.script for further instructions)."
On Fri, Jan 25, 2013 at 12:17 PM, Cure4All <user-0ccd3c844281@xymon.invalid> wrote:
Hello,
I need help setting up MySQL monitor in Hobbit. I followed the
instructions from "hobbit-perl-client.1.21.tar", but when I try to run
./dbcheck.pl, I'm getting the following error.
root at xxxxxx:/usr/lib/hobbit/client/ext# ./dbcheck.pl
Fri Jan 25 12:08:35 2013:ERROR: Could not close the DISABLED directory
handle: No such file or directory
Hobbit version 4.3.0-0.beta2
Usage: /usr/lib/hobbit/client/bin/bb [--debug]
[--proxy=http://ip.of.the.proxy:port/] RECIPIENT DATA
RECIPIENT: IP-address, hostname or URL
DATA: Message to send, or "-" to read from stdin
root at xxxxxx:/usr/lib/hobbit/client/ext# echo $BBHOME
/usr/lib/hobbit/client
root at xxxxxx:/usr/lib/hobbit/client/ext# echo $BB
/usr/lib/hobbit/client
root at xxxxxx:/usr/lib/hobbit/client/ext# echo $BBTMP
/usr/lib/hobbit/client
root at xxxxxx:/usr/lib/hobbit/client/ext# echo $BBVAR
/usr/lib/hobbit/client