Hello,
I have inherited a Zabbix installation and have been going through and trying to determine the cause of the error I'm getting that reads "Error connecting to database : Unknown MySQL server host 'zabbix-db' (111). There are other databases on the zabbix-db server that are currently servicing other apps and they seem to have no issues. I have a main zabbix server, a MySQL database server (which would be called zabbix-db) and a zabbixpoller machine. So in all there are 3 zabbix hosts in my setup. Database, main server, and a poller. All are VMs. Saturday 11-5 (6:45) evening I stopped getting any more notifications from the system. I didn't notice this until the next day have been trying to track down the issue of why there isn't a database connection any longer. I have checked MySQL and the database is still present on the server.
There have been no DNS changes, software updates, or IP address changes. The servers have been very dependable for close to a year. I'm looking for the best place to start troubleshooting this issue since nothing has changed and the only person to make such a change would be me. I have all servers backed up with Veeam as they are all virtual but would like to get to the root of the issue before just restoring the VM (whichever one has the issue). I'm new to zabbix and would appreciate if someone could point me in the right direction here.
I will add to this and post some logs. MySQL is running and listening on the zabbix-db server. Not having set this up from scratch I'll be taking a look at the application server PHP config to make sure nothing has changed.
Thanks,
J
I have inherited a Zabbix installation and have been going through and trying to determine the cause of the error I'm getting that reads "Error connecting to database : Unknown MySQL server host 'zabbix-db' (111). There are other databases on the zabbix-db server that are currently servicing other apps and they seem to have no issues. I have a main zabbix server, a MySQL database server (which would be called zabbix-db) and a zabbixpoller machine. So in all there are 3 zabbix hosts in my setup. Database, main server, and a poller. All are VMs. Saturday 11-5 (6:45) evening I stopped getting any more notifications from the system. I didn't notice this until the next day have been trying to track down the issue of why there isn't a database connection any longer. I have checked MySQL and the database is still present on the server.
There have been no DNS changes, software updates, or IP address changes. The servers have been very dependable for close to a year. I'm looking for the best place to start troubleshooting this issue since nothing has changed and the only person to make such a change would be me. I have all servers backed up with Veeam as they are all virtual but would like to get to the root of the issue before just restoring the VM (whichever one has the issue). I'm new to zabbix and would appreciate if someone could point me in the right direction here.
I will add to this and post some logs. MySQL is running and listening on the zabbix-db server. Not having set this up from scratch I'll be taking a look at the application server PHP config to make sure nothing has changed.
Thanks,
J
Comment