I found a lot of information how to monitor MySQL but despite MariaDB is the continuation of it, I can't make Zabbix and MariaDB to be friends.
So I have a clean installation of MariaDB and Zabbix 2.2. I have the template in Zabbix for monitoring MySQL and a couple of MySQL servers, which are successfully monitored.
I connected this template to the server with MariaDB but nothing works. In log of agent messages
But mysqld is running and socket exists! I tried to insert command
and answer was 1.
Root password is blank.
So I have a clean installation of MariaDB and Zabbix 2.2. I have the template in Zabbix for monitoring MySQL and a couple of MySQL servers, which are successfully monitored.
I connected this template to the server with MariaDB but nothing works. In log of agent messages
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
mysqladmin ping | grep -c alive
Root password is blank.
Comment