summaryrefslogtreecommitdiffstats
path: root/templates/mysql_health.ini
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mysql_health.ini')
-rw-r--r--templates/mysql_health.ini17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/mysql_health.ini b/templates/mysql_health.ini
index 711338c..4a8a77e 100644
--- a/templates/mysql_health.ini
+++ b/templates/mysql_health.ini
@@ -280,6 +280,23 @@ yUnitSystem = "sec"
value = "alias(color($metric$, '#1a7dd7'), 'Seconds slave is behind master')"
+[mysql_health-replica_lag.graph]
+check_command = "mysql_health"
+
+[mysql_health-replica_lag.metrics_filters]
+value = "$service_name_template$.perfdata.replica_lag.value"
+
+[mysql_health-replica_lag.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "sec"
+
+[mysql_health-replica_lag.functions]
+value = "alias(color($metric$, '#1a7dd7'), 'Seconds replica is behind source')"
+
+
[mysql_health-slow_queries.graph]
check_command = "mysql_health"