summaryrefslogtreecommitdiffstats
path: root/templates/mysql_health.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:35 +0000
commitcddcdba3c9be7e32454d0c54efd1d60e7cef7518 (patch)
tree485d573becbe08ff71189381739483cdb57cf949 /templates/mysql_health.ini
parentAdding upstream version 1.2.2. (diff)
downloadicingaweb2-module-graphite-upstream.tar.xz
icingaweb2-module-graphite-upstream.zip
Adding upstream version 1.2.4.upstream/1.2.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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"