summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2021-01-18 19:07:40 +0300
committerGitHub <noreply@github.com>2021-01-18 11:07:40 -0500
commitd5df9215ae1ae2eaaf4a79b6dd92d2bf3561a06d (patch)
tree33a988108cb75f9154c76fbff1f5b5a57df921cf /health
parent53c856d668a98430ec5cddad4b8e2d79b709abfa (diff)
health/mysql: match 0 in mysql.slave_status (#10513)
Diffstat (limited to 'health')
-rw-r--r--health/health.d/mysql.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/health.d/mysql.conf b/health/health.d/mysql.conf
index 2bec56387e..62cef5a2e0 100644
--- a/health/health.d/mysql.conf
+++ b/health/health.d/mysql.conf
@@ -79,7 +79,7 @@ template: mysql_connections
template: mysql_replication
on: mysql.slave_status
- calc: ($sql_running == -1 OR $io_running == -1)?0:1
+ calc: ($sql_running <= 0 OR $io_running <= 0)?0:1
units: ok/failed
every: 10s
crit: $this == 0