BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} BB ext with long interval between runs turns purple
fuser9bb@hotpop.com wrote:
Any help on this?
----- Original Message ----- From: <fuser9bb@hotpop.com>
To: <bb@bb4.com>
Sent: Sunday, January 30, 2005 10:39 AM
Subject: {bb} BB ext with long interval between runs turns purple
I am running bb1.9e on FreeBSD 4.10.
I have several custom extensions that I wrote to monitor our MySQL
servers. One of the extensions does a mysqlcheck once an hour against
all of the MySQL databases. I have the script defined in
etc/bb-bbexttab as:
mysql.example.com : bb-mysqlstat.sh bb-mysqlcheck.sh;3600
So once an hour bb-mysqlcheck.sh runs. However, after 25-30 minutes
the status turns purple on the display. I really don't want to run
this test more than once an hour. How do I make it so that this test
doesn't have to run more often? I do want purple reports for normal
checks (e.g., disk, bb-mysqlstat.sh), so I'm hoping I don't have to
change a global value.
I think you have just forgotten a ":" in this definition.
Right entry should be:
mysql.example.com : : bb-mysqlstat.sh bb-mysqlcheck.sh;3600
This will run the bb-mysqlstat.sh script every 5 minutes (if
BBSLEEP=300) and bb-mysqlcheck.sh every hour.
Remember that you have to set "status+60" in bb-mysqlcheck.sh.
Otherwise the test will become puple after 30 minutes (default).
See "6.9 Setting a Time To Live to a status message" in the bb helpfile.
I hope this will help you.
Fabian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index