Hi there

I have a problem with my mysql.monitor script. If executed, it logs that to
messages:

Aug 22 11:06:55 linuxweb21 mon[4175]: failure for phoebe mysql 1124701615
_ListTables is deprecated, use $dbh->tables() at
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/DBD/mysql.pm line
280.

Here the mysql-related entry in mon.cf:
---------------------------------------------------------------------------
        service mysql
                description Check, if db is accessible
                depend phoebe:ping
                interval 60s
                monitor mysql.monitor  --mode mysql --username=user
--password=pw --database=test --port=3306
                period RESTART: wd {Sun-Sat}
                        alert mail.alert -S "MASTER: MySQL NOT accessible!!
Trying to restart..." [EMAIL PROTECTED]
                        alert mysql_restart.alert
                        alertafter 2
                        upalert mail.alert -S "MASTER: MySQL is back again!"
[EMAIL PROTECTED]
                        upalertafter 30s
                period RESTART_FAILED: wd {Sun-Sat}
                        alert mail.alert -S "MASTER: Restart MySQL failed!!
Bringing down heartbeat for takeover... If backup node can do that"
[EMAIL PROTECTED]
                        alert bring-ha-down.alert
                        alertafter
4
-----------------------------------------------------------------------------

Is this a perl related problem or something else?

I'm running FC4 2.6.11-1.1369_FC4smp.

Before that, i reinstalled my server, but used the old configuration of all
services, as mon. Also the mon and alert scripts are the same. 
What could be the reason of my problem?

Thanks for advice





-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to