Ad Widget

Collapse

PATCH: Mysql auto reconnect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jrumpf
    Junior Member
    • Nov 2005
    • 9

    #1

    PATCH: Mysql auto reconnect

    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.
    Attached Files
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,

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

    Comment

    • James Wells
      Senior Member
      • Jun 2005
      • 664

      #3
      Thanx Jrumpf, I tested it out last night and then applied to CVS.
      Unofficial Zabbix Developer

      Comment

      Working...