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:
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
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).
Thanks
Comment