dbcheck.pl
list Venkatesh Subbaramu
Hi All , I am new to hobbit and Perl . We are looking at implementation the "dbcheck.pl" script for monitoring Oracle and SQL Server databases .I had few questions regarding the script * Is there any documentation available for the script ? * What does the following in the ini file mean ? How do I read it ? * valtocheck=2:10::>:1;2:0::>:1:SYS;2:100:50:<:1:TEST:=;2:50:100:>:1:TEST:! * What does the following mean and why does this setting not report SYSTEM table space * tb.SYSTEM = 101:101 # don't report SYSTEM tablespace problem for all databases * I felt the script to be cryptic and any help for understanding the code better at least from a basic troubleshooting perspective is greatly welcome Regards, Venkatesh **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***
list Cure4All
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
list Cure4All
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