PDA

View Full Version : PATCH: Mysql auto reconnect


jrumpf
04-11-2005, 21:38
Small patch makes the zabbix_server process try to reconnect to the mysql backed vs. just exiting out. Reconnects are polled at 30 second intervals. Postgres will still exit out on failed DB queries (can't test with PG as I don't have it installed).

Should probably consider using libdbi http://libdbi.sourceforge.net/ for database portability.

James Wells
04-11-2005, 22:13
Greetings,

Excellent. Thank you. Will test it this evening and get it into CVS, unless Alexei or Eugene beat me to it.

James Wells
05-11-2005, 19:51
Thanx Jrumpf, I tested it out last night and then applied to CVS.