I've attempted to configure mysql checks with zabbix, using the built-in checks, and followed various guides on configuring them.
i'm still struggling to get it working.
long story short, if i run a test on the sql server, then i get results.
zabbix_agentd -t "mysql.status[Bytes_sent]"
via the zabbix server to that host (mysql runs on a different server than zabbix), results in 1 of 4 errors:
most of the mysql checks get
slow queries gets
mysql.ping gets
and mysql uptime gets
i'm still struggling to get it working.
long story short, if i run a test on the sql server, then i get results.
zabbix_agentd -t "mysql.status[Bytes_sent]"
mysql.status[Bytes_sent] [t|944637332]
most of the mysql checks get
"cannot convert value to numeric type"
"Value "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)" of type "string" is not suitable for value type "Numeric (unsigned)""
Value "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!
0" of type "string" is not suitable for value type "Numeric (unsigned)"
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!
0" of type "string" is not suitable for value type "Numeric (unsigned)"
Value "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)" of type "string" is not suitable for value type "Numeric (unsigned)"
Comment