Hi ,
I need to monitor the size of the cluster and the wsrep_local_state_comment in 3 servers, like if synced or not (and the corresponding triggers).
So In that server, i've add in /etc/zabbix/zabbix_agentd.conf.d/userparameter_mysql.conf:
UserParameter=mysql.query,echo "show status like 'wsrep_cluster_size';"| mysql -N -uuser -ppassword
from the zabbix_server i try:
zabbix_get -s IP -k mysql.query , and returns right, like:
wsrep_cluster_size 3
everything seems ok from here.
The problem is that in "latest data" i can't get nothing from this query.. so i don't get any data from the server?
My idea is, when wsrep_cluster_size is not 3 , it returns me a trigger.
More info:
in "latest data" show me this in GRAY:
MySQL Query
mysql.query 3600 90 365 Zabbix agent (active)
(no data returned)
What i'm missing here?
thanks.
I need to monitor the size of the cluster and the wsrep_local_state_comment in 3 servers, like if synced or not (and the corresponding triggers).
So In that server, i've add in /etc/zabbix/zabbix_agentd.conf.d/userparameter_mysql.conf:
UserParameter=mysql.query,echo "show status like 'wsrep_cluster_size';"| mysql -N -uuser -ppassword
from the zabbix_server i try:
zabbix_get -s IP -k mysql.query , and returns right, like:
wsrep_cluster_size 3
everything seems ok from here.
The problem is that in "latest data" i can't get nothing from this query.. so i don't get any data from the server?
My idea is, when wsrep_cluster_size is not 3 , it returns me a trigger.
More info:
in "latest data" show me this in GRAY:
MySQL Query
mysql.query 3600 90 365 Zabbix agent (active)
(no data returned)
What i'm missing here?
thanks.


Comment