Hi,
I'm facing problems while trying to connect my DB into monitoring by my agent zabbix. According to doc. and tutorials after installing zabbix agent there should be a file under location /etc/zabbix/zabbix_agent.d/ with name "userparameter_mysql.conf".
Unfortunately I'm missing this file on every server because mentioned directory is empty. Does anyone know the solution?
Main goal is to edit parameters in this file, create new user with privilege's on mysql data base and connect it by creating file "my.cnf" as a credential authentication.
Later on goal is to monitor second DB and track if they're getting replicated correctly. By also editing "userparemeter_mysql.conf" by adding line:
"UserParameter=mysql.slavestatus[*],echo “show slave status \G;” | HOME=”Path of credentials” mysql | grep ‘$1’ | awk ‘{print $$2}’ | sed -e ‘s/^NULL$/-1/’"
Just the point is...i'm missing userparemeter_mysql.conf
Thank you for all your help
I'm facing problems while trying to connect my DB into monitoring by my agent zabbix. According to doc. and tutorials after installing zabbix agent there should be a file under location /etc/zabbix/zabbix_agent.d/ with name "userparameter_mysql.conf".
Unfortunately I'm missing this file on every server because mentioned directory is empty. Does anyone know the solution?
Main goal is to edit parameters in this file, create new user with privilege's on mysql data base and connect it by creating file "my.cnf" as a credential authentication.
Later on goal is to monitor second DB and track if they're getting replicated correctly. By also editing "userparemeter_mysql.conf" by adding line:
"UserParameter=mysql.slavestatus[*],echo “show slave status \G;” | HOME=”Path of credentials” mysql | grep ‘$1’ | awk ‘{print $$2}’ | sed -e ‘s/^NULL$/-1/’"
Just the point is...i'm missing userparemeter_mysql.conf

Thank you for all your help
Comment