bump go.d.plugin to v0.37.1 (#13555)
Ilya Mashchenko committed
Aug 23, 2022 at 13:15 UTC
fb5163dbb34f07552a2b2e28b3113c5f8ce7733e
4 files changed
+37
-39
health/health.d/mysql.conf
+19
-11
@@ -136,20 +136,29 @@ component: MySQL
136
137
# galera node state
138
139
- template: mysql_galera_cluster_state
139
+ template: mysql_galera_cluster_state_warn
140
on: mysql.galera_cluster_state
141
class: Errors
142
type: Database
143
component: MySQL
144
- calc: $state
144
+ calc: $donor + $joined
145
every: 10s
146
- warn: $this == 2 OR $this == 3
147
- crit: $this == 0 OR $this == 1 OR $this >= 5
146
+ warn: $this != nan AND $this != 0
147
delay: up 30s down 5m multiplier 1.5 max 1h
149
- info: galera node state \
150
- (0: Undefined, 1: Joining, 2: Donor/Desynced, 3: Joined, 4: Synced, 5: Inconsistent)
148
+ info: galera node state is either Donor/Desynced or Joined.
149
to: dba
150
151
+ template: mysql_galera_cluster_state_crit
152
+ on: mysql.galera_cluster_state
153
+ class: Errors
154
+ type: Database
155
+component: MySQL
156
+ calc: $undefined + $joining + $error
157
+ every: 10s
158
+ crit: $this != nan AND $this != 0
159
+ delay: up 30s down 5m multiplier 1.5 max 1h
160
+ info: galera node state is either Undefined or Joining or Error.
161
+ to: dba
162
163
# galera node status
164
@@ -158,11 +167,10 @@ component: MySQL
167
class: Errors
168
type: Database
169
component: MySQL
161
- calc: $wsrep_cluster_status
170
+ calc: $primary
171
every: 10s
163
- crit: $mysql_galera_cluster_state != nan AND $this != 0
172
+ crit: $this != nan AND $this != 1
173
delay: up 30s down 5m multiplier 1.5 max 1h
165
- info: galera node cluster component status \
166
- (-1: unknown, 0: primary/quorum present, 1: non-primary/quorum lost, 2: disconnected). \
167
- Any other value than primary indicates that the node is part of a nonoperational component.
174
+ info: galera node is part of a nonoperational component. \
175
+ This occurs in cases of multiple membership changes that result in a loss of Quorum or in cases of split-brain situations.
176
to: dba
packaging/go.d.checksums
+15
-15
@@ -1,16 +1,16 @@
1
11694029a24285b09ba21fa50c912b2d532832ed699a4491aac5fa15de57ef6c *config.tar.gz
2
-768af8e0b3f82ea2f61b0137758a11e4c9ee807b436324453308e7a8ba7723e2 *go.d.plugin-v0.37.0.darwin-amd64.tar.gz
3
-5490023c01603401722cc59931255206d5a21a211eaf8fee3691f483f663149c *go.d.plugin-v0.37.0.freebsd-386.tar.gz
4
-3f5c6071b8b17aaea023aaecf903bd3b74d324245ba5c62c30a88bea3d81f344 *go.d.plugin-v0.37.0.freebsd-amd64.tar.gz
5
-5e8e0c0ed958c87ce6bc9d6909c9eecb807ae1f7037c38cfd9368365631f22c2 *go.d.plugin-v0.37.0.freebsd-arm.tar.gz
6
-7533e5e8b02ad6c77e36916fc520c73381cdc7759aaf9f0af974f898b4aee551 *go.d.plugin-v0.37.0.freebsd-arm64.tar.gz
7
-ae47342554a1564979a5a60dd38b2995525ad2692692c9c63cf430dcf595da5d *go.d.plugin-v0.37.0.linux-386.tar.gz
8
-7698d39aa4c0b176a8c3754ec4755b31fd1c412c70d7831e81570b7339eed1b2 *go.d.plugin-v0.37.0.linux-amd64.tar.gz
9
-5427835eec01d86bbbd30889f448153f4662b90541befa41ad38499111d8b71b *go.d.plugin-v0.37.0.linux-arm.tar.gz
10
-af6002752e6d449ac59229e2e361b5ebfed50ab3e7f16061b3c5cc9ce3f16401 *go.d.plugin-v0.37.0.linux-arm64.tar.gz
11
-5107fb9bd65aad878ec60ed2d69cf9352571402086c2e130571a38a73ce8148d *go.d.plugin-v0.37.0.linux-mips.tar.gz
12
-72d1d6a5d4ac099045d0111f6df00ac7195635cdfd57d5bd4e541148437334ae *go.d.plugin-v0.37.0.linux-mips64.tar.gz
13
-afdd3ec48d90c051f11bfc1274e9c0352cba07e0e828b0e7ff6dd34ec52ddef8 *go.d.plugin-v0.37.0.linux-mips64le.tar.gz
14
-47441f05c229a21ceda4813544769a51b7df648884824908c2a686c9388383e6 *go.d.plugin-v0.37.0.linux-mipsle.tar.gz
15
-dc586d27291525244c0d4994da7fc2488864e12e6c26db2fbeafbc83166ed06e *go.d.plugin-v0.37.0.linux-ppc64.tar.gz
16
-8347afe69232c9b2b3b5737dc51e70a1b5e72576c6d8acace6fd5463ca90ba67 *go.d.plugin-v0.37.0.linux-ppc64le.tar.gz
2
+ca58acd71356021fe29e0ef4b3618c80adbc324c9f25efdd22211ab32b7f5df6 *go.d.plugin-v0.37.1.darwin-amd64.tar.gz
3
+79eeef5a31524a5a3e0272f0d1a86f04b78fbe4ef1c2848969bc0ffa523d1bfa *go.d.plugin-v0.37.1.freebsd-386.tar.gz
4
+b017fe7e4a5125f488e84da5d0f03b755b476d1c9029dd8a5a3ef7ff1518bb8e *go.d.plugin-v0.37.1.freebsd-amd64.tar.gz
5
+03701b384e9fc121b2cb37e297374d38b3a324864814a8fe94472cf228ca10ae *go.d.plugin-v0.37.1.freebsd-arm.tar.gz
6
+fd6181b21fd6b46b230964ae021e21642838d14db640163bbeb65f999d2c527c *go.d.plugin-v0.37.1.freebsd-arm64.tar.gz
7
+68b80a264e280b1305c84a2f946ca5883292e7ec482619e52a897b2f5e45e441 *go.d.plugin-v0.37.1.linux-386.tar.gz
8
+a04fbabe5f50c9576f4784c83b1327e6988c213590a31bca7fef9dd06c585dc3 *go.d.plugin-v0.37.1.linux-amd64.tar.gz
9
+e190e055779454e3cc472f923cd9b8cb94e2aab648ec2cc5ce01d6b02ea48fd4 *go.d.plugin-v0.37.1.linux-arm.tar.gz
10
+615b5883483acf4dbf89815b9e29ae093a79bc9c5141771318ff15978ca3f26e *go.d.plugin-v0.37.1.linux-arm64.tar.gz
11
+89a0d38748143c3ed31e71d74c3de289389306a086e637f442fe21af0118039a *go.d.plugin-v0.37.1.linux-mips.tar.gz
12
+7292c038588f01fbb75fd7e882798b7d508587f9566084ae4a24aa3bb0e5924d *go.d.plugin-v0.37.1.linux-mips64.tar.gz
13
+b39967db712c7c49eda787c33b6aee3e6ff7f05b0337460688536d4435d4befc *go.d.plugin-v0.37.1.linux-mips64le.tar.gz
14
+591f609b7213b81ddf9ec1f7f18d3b87b0fb41c31cf5aab9c12c77c658bf2b52 *go.d.plugin-v0.37.1.linux-mipsle.tar.gz
15
+fe454d86c362182a9703b2cac0457674fce8733f2f1b0021f3d0181a54d69cda *go.d.plugin-v0.37.1.linux-ppc64.tar.gz
16
+ba065f555f443eb1143fdd3c6234b6e5179c4b3eafca32298b6a2b46380b330b *go.d.plugin-v0.37.1.linux-ppc64le.tar.gz
packaging/go.d.version
+1
-1
@@ -1 +1 @@
1
-v0.37.0
1
+v0.37.1
web/gui/dashboard_info.js
+2
-12
@@ -3773,21 +3773,11 @@ netdataDashboard.context = {
3773
},
3774
3775
'mysql.galera_cluster_status': {
3776
- info:
3777
- '<code>-1</code>: unknown, ' +
3778
- '<code>0</code>: primary (primary group configuration, quorum present), ' +
3779
- '<code>1</code>: non-primary (non-primary group configuration, quorum lost), ' +
3780
- '<code>2</code>: disconnected(not connected to group, retrying).'
3776
+ info: "<p>Status of this cluster component.</p><p><b>Primary</b> - primary group configuration, quorum present. <b>Non-Primary</b> - non-primary group configuration, quorum lost. <b>Disconnected</b> - not connected to group, retrying.</p>"
3777
},
3778
3779
'mysql.galera_cluster_state': {
3784
- info:
3785
- '<code>0</code>: Undefined, ' +
3786
- '<code>1</code>: Joining, ' +
3787
- '<code>2</code>: Donor/Desynced, ' +
3788
- '<code>3</code>: Joined, ' +
3789
- '<code>4</code>: Synced, ' +
3790
- '<code>5</code>: Inconsistent.'
3780
+ info: "<p>Membership state of this cluster component.</p><p><b>Undefined</b> - undefined state. <b>Joining</b> - the node is attempting to join the cluster. <b>Donor</b> - the node has blocked itself while it sends a State Snapshot Transfer (SST) to bring a new node up to date with the cluster. <b>Joined</b> - the node has successfully joined the cluster. <b>Synced</b> - the node has established a connection with the cluster and synchronized its local databases with those of the cluster. <b>Error</b> - the node is not part of the cluster and does not replicate transactions. This state is provider-specific, check <i>wsrep_local_state_comment</i> variable for a description.</p>"
3781
},
3782
3783
'mysql.galera_cluster_weight': {