diff options
-rw-r--r-- | health/health.d/mysql.conf | 30 | ||||
-rw-r--r-- | packaging/go.d.checksums | 30 | ||||
-rw-r--r-- | packaging/go.d.version | 2 | ||||
-rw-r--r-- | web/gui/dashboard_info.js | 14 |
4 files changed, 37 insertions, 39 deletions
diff --git a/health/health.d/mysql.conf b/health/health.d/mysql.conf index 34452d9831..6b705c34da 100644 --- a/health/health.d/mysql.conf +++ b/health/health.d/mysql.conf @@ -136,20 +136,29 @@ component: MySQL # galera node state - template: mysql_galera_cluster_state + template: mysql_galera_cluster_state_warn on: mysql.galera_cluster_state class: Errors type: Database component: MySQL - calc: $state + calc: $donor + $joined every: 10s - warn: $this == 2 OR $this == 3 - crit: $this == 0 OR $this == 1 OR $this >= 5 + warn: $this != nan AND $this != 0 delay: up 30s down 5m multiplier 1.5 max 1h - info: galera node state \ - (0: Undefined, 1: Joining, 2: Donor/Desynced, 3: Joined, 4: Synced, 5: Inconsistent) + info: galera node state is either Donor/Desynced or Joined. to: dba + template: mysql_galera_cluster_state_crit + on: mysql.galera_cluster_state + class: Errors + type: Database +component: MySQL + calc: $undefined + $joining + $error + every: 10s + crit: $this != nan AND $this != 0 + delay: up 30s down 5m multiplier 1.5 max 1h + info: galera node state is either Undefined or Joining or Error. + to: dba # galera node status @@ -158,11 +167,10 @@ component: MySQL class: Errors type: Database component: MySQL - calc: $wsrep_cluster_status + calc: $primary every: 10s - crit: $mysql_galera_cluster_state != nan AND $this != 0 + crit: $this != nan AND $this != 1 delay: up 30s down 5m multiplier 1.5 max 1h - info: galera node cluster component status \ - (-1: unknown, 0: primary/quorum present, 1: non-primary/quorum lost, 2: disconnected). \ - Any other value than primary indicates that the node is part of a nonoperational component. + info: galera node is part of a nonoperational component. \ + This occurs in cases of multiple membership changes that result in a loss of Quorum or in cases of split-brain situations. to: dba diff --git a/packaging/go.d.checksums b/packaging/go.d.checksums index 01489b4093..285ad90dfc 100644 --- a/packaging/go.d.checksums +++ b/packaging/go.d.checksums @@ -1,16 +1,16 @@ 11694029a24285b09ba21fa50c912b2d532832ed699a4491aac5fa15de57ef6c *config.tar.gz -768af8e0b3f82ea2f61b0137758a11e4c9ee807b436324453308e7a8ba7723e2 *go.d.plugin-v0.37.0.darwin-amd64.tar.gz -5490023c01603401722cc59931255206d5a21a211eaf8fee3691f483f663149c *go.d.plugin-v0.37.0.freebsd-386.tar.gz -3f5c6071b8b17aaea023aaecf903bd3b74d324245ba5c62c30a88bea3d81f344 *go.d.plugin-v0.37.0.freebsd-amd64.tar.gz -5e8e0c0ed958c87ce6bc9d6909c9eecb807ae1f7037c38cfd9368365631f22c2 *go.d.plugin-v0.37.0.freebsd-arm.tar.gz -7533e5e8b02ad6c77e36916fc520c73381cdc7759aaf9f0af974f898b4aee551 *go.d.plugin-v0.37.0.freebsd-arm64.tar.gz -ae47342554a1564979a5a60dd38b2995525ad2692692c9c63cf430dcf595da5d *go.d.plugin-v0.37.0.linux-386.tar.gz -7698d39aa4c0b176a8c3754ec4755b31fd1c412c70d7831e81570b7339eed1b2 *go.d.plugin-v0.37.0.linux-amd64.tar.gz -5427835eec01d86bbbd30889f448153f4662b90541befa41ad38499111d8b71b *go.d.plugin-v0.37.0.linux-arm.tar.gz -af6002752e6d449ac59229e2e361b5ebfed50ab3e7f16061b3c5cc9ce3f16401 *go.d.plugin-v0.37.0.linux-arm64.tar.gz -5107fb9bd65aad878ec60ed2d69cf9352571402086c2e130571a38a73ce8148d *go.d.plugin-v0.37.0.linux-mips.tar.gz -72d1d6a5d4ac099045d0111f6df00ac7195635cdfd57d5bd4e541148437334ae *go.d.plugin-v0.37.0.linux-mips64.tar.gz -afdd3ec48d90c051f11bfc1274e9c0352cba07e0e828b0e7ff6dd34ec52ddef8 *go.d.plugin-v0.37.0.linux-mips64le.tar.gz -47441f05c229a21ceda4813544769a51b7df648884824908c2a686c9388383e6 *go.d.plugin-v0.37.0.linux-mipsle.tar.gz -dc586d27291525244c0d4994da7fc2488864e12e6c26db2fbeafbc83166ed06e *go.d.plugin-v0.37.0.linux-ppc64.tar.gz -8347afe69232c9b2b3b5737dc51e70a1b5e72576c6d8acace6fd5463ca90ba67 *go.d.plugin-v0.37.0.linux-ppc64le.tar.gz +ca58acd71356021fe29e0ef4b3618c80adbc324c9f25efdd22211ab32b7f5df6 *go.d.plugin-v0.37.1.darwin-amd64.tar.gz +79eeef5a31524a5a3e0272f0d1a86f04b78fbe4ef1c2848969bc0ffa523d1bfa *go.d.plugin-v0.37.1.freebsd-386.tar.gz +b017fe7e4a5125f488e84da5d0f03b755b476d1c9029dd8a5a3ef7ff1518bb8e *go.d.plugin-v0.37.1.freebsd-amd64.tar.gz +03701b384e9fc121b2cb37e297374d38b3a324864814a8fe94472cf228ca10ae *go.d.plugin-v0.37.1.freebsd-arm.tar.gz +fd6181b21fd6b46b230964ae021e21642838d14db640163bbeb65f999d2c527c *go.d.plugin-v0.37.1.freebsd-arm64.tar.gz +68b80a264e280b1305c84a2f946ca5883292e7ec482619e52a897b2f5e45e441 *go.d.plugin-v0.37.1.linux-386.tar.gz +a04fbabe5f50c9576f4784c83b1327e6988c213590a31bca7fef9dd06c585dc3 *go.d.plugin-v0.37.1.linux-amd64.tar.gz +e190e055779454e3cc472f923cd9b8cb94e2aab648ec2cc5ce01d6b02ea48fd4 *go.d.plugin-v0.37.1.linux-arm.tar.gz +615b5883483acf4dbf89815b9e29ae093a79bc9c5141771318ff15978ca3f26e *go.d.plugin-v0.37.1.linux-arm64.tar.gz +89a0d38748143c3ed31e71d74c3de289389306a086e637f442fe21af0118039a *go.d.plugin-v0.37.1.linux-mips.tar.gz +7292c038588f01fbb75fd7e882798b7d508587f9566084ae4a24aa3bb0e5924d *go.d.plugin-v0.37.1.linux-mips64.tar.gz +b39967db712c7c49eda787c33b6aee3e6ff7f05b0337460688536d4435d4befc *go.d.plugin-v0.37.1.linux-mips64le.tar.gz +591f609b7213b81ddf9ec1f7f18d3b87b0fb41c31cf5aab9c12c77c658bf2b52 *go.d.plugin-v0.37.1.linux-mipsle.tar.gz +fe454d86c362182a9703b2cac0457674fce8733f2f1b0021f3d0181a54d69cda *go.d.plugin-v0.37.1.linux-ppc64.tar.gz +ba065f555f443eb1143fdd3c6234b6e5179c4b3eafca32298b6a2b46380b330b *go.d.plugin-v0.37.1.linux-ppc64le.tar.gz diff --git a/packaging/go.d.version b/packaging/go.d.version index 945a6daa4f..d90dff7ad2 100644 --- a/packaging/go.d.version +++ b/packaging/go.d.version @@ -1 +1 @@ -v0.37.0 +v0.37.1 diff --git a/web/gui/dashboard_info.js b/web/gui/dashboard_info.js index 861b34ce8e..e5735d882c 100644 --- a/web/gui/dashboard_info.js +++ b/web/gui/dashboard_info.js @@ -3773,21 +3773,11 @@ netdataDashboard.context = { }, 'mysql.galera_cluster_status': { - info: - '<code>-1</code>: unknown, ' + - '<code>0</code>: primary (primary group configuration, quorum present), ' + - '<code>1</code>: non-primary (non-primary group configuration, quorum lost), ' + - '<code>2</code>: disconnected(not connected to group, retrying).' + 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>" }, 'mysql.galera_cluster_state': { - info: - '<code>0</code>: Undefined, ' + - '<code>1</code>: Joining, ' + - '<code>2</code>: Donor/Desynced, ' + - '<code>3</code>: Joined, ' + - '<code>4</code>: Synced, ' + - '<code>5</code>: Inconsistent.' + 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>" }, 'mysql.galera_cluster_weight': { |