Ad Widget

Collapse

Zabbix Server Dies after DB connection fails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anrstone
    Member
    • Oct 2009
    • 61

    #1

    Zabbix Server Dies after DB connection fails

    I have a set-up where the DB is sitting on a separate box from the Zabbix server. Occasionally the connection fails to the DB (Postrgres 8 running on Windows). Clearly Zabbix Server can no longer talk to the DB and fails as follows:

    Code:
    30548:20100218:121733 [Z3001] Connection to database 'zabbix' failed: [0] could not connect to server: No route to host
            Is the server running on host "XX.XX.XX.XX" and accepting
            TCP/IP connections on port 5432?
    
    30548:20100218:121733 [Z3005] Query failed: [0] Result is NULL [select oid from pg_type where typname = 'bytea']
    30548:20100218:121733 [Z3005] Query failed: [0] PGRES_FATAL_ERROR: [select oid from pg_type where typname = 'bytea']
    30512:20100218:121733 One child process died. Exiting ...
    30512:20100218:121735 ZABBIX Server stopped. ZABBIX 1.6.6 (revision 7836).
    I have 2 questions as a result. Is there a way of getting the Zabbix server to send an email prior to this failure so we can spot it happening. And secondly is there a way to configure a retry if this happens again?

    Thanks
  • anrstone
    Member
    • Oct 2009
    • 61

    #2
    Don't worry it was a basic scoolboy error

    We already have a DR system but that wasn't reporting the live system failure correctly...

    Comment

    Working...