Greetings all,
I have two RHEL8 servers both running mariadb, one replicating to the other. I'm new to Zabbix so I've been following the provided tutorials. Using that information I have mysql monitoring on the replicated server returning information correctly, which is great to see. I went on to configure the master server and although Zabbix is working for the OS level reporting, it will not connect to the database
When the zabbix-agent starts the following appears in /var/log/messages
This will repeat until I stop the zabbix service stops, so I'm fairly certain this is zabbix failing to login using the .my.cnf file found in /var/lib/zabbix
.my.cnf contains the following;
I have tried completely removing the agent and starting from scratch at least twice now with no luck, so I was wondering how I might better go about fault finding this problem?
Thanks.
I have two RHEL8 servers both running mariadb, one replicating to the other. I'm new to Zabbix so I've been following the provided tutorials. Using that information I have mysql monitoring on the replicated server returning information correctly, which is great to see. I went on to configure the master server and although Zabbix is working for the OS level reporting, it will not connect to the database
When the zabbix-agent starts the following appears in /var/log/messages
Code:
Aug 10 17:10:04 localhost mariadbd[1216595]: 2024-08-10 17:10:04 182 [Warning] Aborted connection 182 to db: 'unconnected' user: 'unauthenticated' host: 'localhost' (This connection closed normally without authentication)
.my.cnf contains the following;
Code:
[client] protocol=tcp user='zbx_monitor' password='REMOVED'
Thanks.

Comment