I shutdown my mysql server and zabbix_server went down more or less imediately < 2 sek.
I was expecting the zabbix_server to send me an e-mail and then try to contact mysql as soon as it went up again. As I read that zabbix watchdog should do for me.
[root@spik zabbix]# zabbix_server --version
ZABBIX Server (daemon) v1.4.2 (20 August 2007)
Compilation time: Sep 5 2007 14:38:19
Extract from the server log:
7373:20070911:173538 Query failed:MySQL server has gone away [2006]
7391:20070911:173543 Query::select druleid,iprange,delay,nextcheck,name,status
from drules where status=0 and nextcheck<=1189524943 and mod(druleid,1)=0 and d
ruleid>=100000000000000*0 and druleid<=(100000000000000*0+99999999999999)
7391:20070911:173543 Query failed:MySQL server has gone away [2006]
7385:20070911:173543 Failed to connect to database: Error: Can't connect to My
SQL server on 'bi.sthlm.se.eds.com' (111) [2003]
7369:20070911:173543 One child process died. Exiting ...
7369:20070911:173545 ZABBIX Server stopped
Our mysql server is actually very stable and is even though residing on an HA. Nevertheles it would be such a nice feature if this would work. That would make it easier for us to maintain our MySQL server, which by the way doesn't reside on the same machine as the Zabbix server.
What do you guys say, any suggestions?
/Gustav Karlman
I was expecting the zabbix_server to send me an e-mail and then try to contact mysql as soon as it went up again. As I read that zabbix watchdog should do for me.
[root@spik zabbix]# zabbix_server --version
ZABBIX Server (daemon) v1.4.2 (20 August 2007)
Compilation time: Sep 5 2007 14:38:19
Extract from the server log:
7373:20070911:173538 Query failed:MySQL server has gone away [2006]
7391:20070911:173543 Query::select druleid,iprange,delay,nextcheck,name,status
from drules where status=0 and nextcheck<=1189524943 and mod(druleid,1)=0 and d
ruleid>=100000000000000*0 and druleid<=(100000000000000*0+99999999999999)
7391:20070911:173543 Query failed:MySQL server has gone away [2006]
7385:20070911:173543 Failed to connect to database: Error: Can't connect to My
SQL server on 'bi.sthlm.se.eds.com' (111) [2003]
7369:20070911:173543 One child process died. Exiting ...
7369:20070911:173545 ZABBIX Server stopped
Our mysql server is actually very stable and is even though residing on an HA. Nevertheles it would be such a nice feature if this would work. That would make it easier for us to maintain our MySQL server, which by the way doesn't reside on the same machine as the Zabbix server.
What do you guys say, any suggestions?
/Gustav Karlman
Comment