Good morning, evening or night.
I'm currently implementing a new Zabbix environment at my company, we are going from a 6.0 LTS setup with a mysql db on the same machine as the zabbix_server to a cloud setup, a few important details:
Zabbix server vm SO is a Oracle Linux 8.
The database is an Azure MySQL Managed Database on version 8.4,
Zabbix Server is 10.190.33.9 and DB is 10.190.34.9
I currently can connect from the server to the DB using mysql just fine, but zabbix won't connect to the database, stating the following error:
47589:20250808:103011.322 VMware monitoring: YES
947589:20250808:103011.322 SMTP authentication: YES
947589:20250808:103011.322 ODBC: YES
947589:20250808:103011.322 SSH support: YES
947589:20250808:103011.322 IPv6 support: YES
947589:20250808:103011.322 TLS support: YES
947589:20250808:103011.322 ******************************
947589:20250808:103011.322 using configuration file: /etc/zabbix/zabbix_server.conf
947589:20250808:103011.331 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to MySQL server on 'xyz.mysql.database.azure.com' (13)
947589:20250808:103011.331 database is down: reconnecting in 10 seconds
My conf file is using the following parameters:
ListenPort=10051
SocketDir=/run/zabbix
DBHost:xyz.mysql.database.azure.com
DBName=zabbix
DBPassword=said password for the user, tried it and works in mysql
DBPort=3306
DBTLSConnect=required
I've tried messing with the configs, not using DBTLSConnect at all, it is the same error.
Tried using verify_ca or verify_full with a valid crt and pem, I get an error saying my installation doesn't support it.
I'm truly out of ideas here, does anyone have any troubleshooting ideas?
I'm currently implementing a new Zabbix environment at my company, we are going from a 6.0 LTS setup with a mysql db on the same machine as the zabbix_server to a cloud setup, a few important details:
Zabbix server vm SO is a Oracle Linux 8.
The database is an Azure MySQL Managed Database on version 8.4,
Zabbix Server is 10.190.33.9 and DB is 10.190.34.9
I currently can connect from the server to the DB using mysql just fine, but zabbix won't connect to the database, stating the following error:
47589:20250808:103011.322 VMware monitoring: YES
947589:20250808:103011.322 SMTP authentication: YES
947589:20250808:103011.322 ODBC: YES
947589:20250808:103011.322 SSH support: YES
947589:20250808:103011.322 IPv6 support: YES
947589:20250808:103011.322 TLS support: YES
947589:20250808:103011.322 ******************************
947589:20250808:103011.322 using configuration file: /etc/zabbix/zabbix_server.conf
947589:20250808:103011.331 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to MySQL server on 'xyz.mysql.database.azure.com' (13)
947589:20250808:103011.331 database is down: reconnecting in 10 seconds
My conf file is using the following parameters:
ListenPort=10051
SocketDir=/run/zabbix
DBHost:xyz.mysql.database.azure.com
DBName=zabbix
DBPassword=said password for the user, tried it and works in mysql
DBPort=3306
DBTLSConnect=required
I've tried messing with the configs, not using DBTLSConnect at all, it is the same error.
Tried using verify_ca or verify_full with a valid crt and pem, I get an error saying my installation doesn't support it.
I'm truly out of ideas here, does anyone have any troubleshooting ideas?
Comment