wsrep_ready is 'ON' however status=0, when it should be 1 I believe.
[] [root@hostname telegraf.d]# curl -s localhost:9126/metrics|grep -v \#|grep wsrep_ready
mysql_wsrep_ready{host="host.skybet.net",server="127.0.0.1:3306"} 0
[] [root@hostname telegraf.d]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7640808
Server version: 5.7.26-29-57-log Percona XtraDB Cluster (GPL), Release rel29, Revision 03540a3, WSREP version 31.37, wsrep_31.37
Copyright (c) 2009-2019 Percona LLC and/or its affiliates
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
hostname:[(none)]>select * from performance_schema.global_status where variable_name like 'wsrep_ready';
+---------------+----------------+
| VARIABLE_NAME | VARIABLE_VALUE |
+---------------+----------------+
| wsrep_ready | ON |
+---------------+----------------+
1 row in set (0.00 sec)
What was the reason for closing #6416 and opening this as a duplicate?
@mrcheeky123 Can you share your plugin configuration and Telegraf version?
Looks like I have similiar situation.
[root@in_monitoring maria]# rpm -qa | grep "Maria\|galera"
MariaDB-common-10.4.8-1.el7.centos.x86_64
MariaDB-backup-10.4.8-1.el7.centos.x86_64
MariaDB-compat-10.4.8-1.el7.centos.x86_64
galera-4-26.4.2-1.rhel7.el7.centos.x86_64
MariaDB-server-10.4.8-1.el7.centos.x86_64
MariaDB-client-10.4.8-1.el7.centos.x86_64
[root@in_monitoring telegraf.d]# telegraf --config mysql.conf --test | grep wsrep_ready
2019-10-23T13:27:23Z I! Starting Telegraf 1.12.2
mysql,host=in_monitoring,server=192.168.126.251:3306 wsrep_provider_version=0i,wsrep_ready=0i,wsrep_rollbacker_thread_count=1i,wsrep_thread_count=2i 1571837243000000000
[root@in_monitoring telegraf.d]# mysql -uroot -p
-e "SHOW GLOBAL STATUS LIKE 'wsrep_ready'"
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| wsrep_ready | ON |
+---------------+-------+
mysql.conf attached - it's pretty standart.
mysql.txt
Most helpful comment
Looks like I have similiar situation.
mysql.conf attached - it's pretty standart.
mysql.txt