Just logged into my Zabbix server and noticed it was not running, so I tail'd the log file, and found it was because the database server couldn't be contacted:
This looks to be a temporary issue with the name service (the DNS servers are provided by my hosting company.) Wouldn't it be better if Zabbix didn't die, and stored the result temporarily until the database server was back up?
Also, after trying to restart the server, I get the following error in the log file:
Any ideas what this means? I deleted the log file, restarted the service and it started up OK.
I've then also got a couple of other errors for one of my custom checks -
How are 1324021 and 378221 not valid integers? This check worked fine before it crashed.
Any ideas would be appreciated.
Many thanks,
Andy
Code:
3976:20090520:152654 [Z3001] Connection to database 'zabbix' failed: [0] could not translate host name "sql-p1.networkmail.eu" to address: Temporary failure in name resolution 3976:20090520:152654 [Z3005] Query failed: [0] Result is NULL [select oid from pg_type where typname = 'bytea'] 3962:20090520:152654 One child process died. Exiting ... 3962:20090520:152801 [Z3001] Connection to database 'zabbix' failed: [0] could not translate host name "sql-p1.networkmail.eu" to address: Temporary failure in name resolution 3962:20090520:152801 [Z3005] Query failed: [0] Result is NULL [select oid from pg_type where typname = 'bytea']
Also, after trying to restart the server, I get the following error in the log file:
Code:
/opt/nmail/zabbix/sbin/zabbix_server [2589]: Semaphore [0] error in semctl(SETVAL) /opt/nmail/zabbix/sbin/zabbix_server [2589]: Unable to create mutex for log file
I've then also got a couple of other errors for one of my custom checks -
Code:
2606:20090521:235907 Item [Adelaide:bind.qcount] error: Type of received value [1324021] is not suitable for value type [Numeric (integer 64bit)] 2607:20090522:000352 Item [Hamilton:bind.qcount] error: Type of received value [378221] is not suitable for value type [Numeric (integer 64bit)]
Any ideas would be appreciated.
Many thanks,
Andy
Comment