Answer the question
In order to leave comments, you need to log in
Why can't zabbix get response from MySQL query?
I create a folder /var/lib/zabbix
Under the zabbix user I run
mysql_config_editor set --login-path=local --host=localhost --user=user --password
UserParameter=mySQLelement, mysql --login-path=local -N -B -e 'select count(*) from database;' db
zabbix_agentd -t "mySQLelement"
mySQLelement [t|15]
Received value [ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'db']
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question