summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:36 +0000
commit9a9ff27e57ad3eb60909f0a4d0bd74755df52662 (patch)
tree38d91ef37d115b2baffd54f40c74aef7a724d7b6 /templates
parentReleasing progress-linux version 1.2.2-3~progress7.99u1. (diff)
downloadicingaweb2-module-graphite-9a9ff27e57ad3eb60909f0a4d0bd74755df52662.tar.xz
icingaweb2-module-graphite-9a9ff27e57ad3eb60909f0a4d0bd74755df52662.zip
Merging upstream version 1.2.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/mysql.ini17
-rw-r--r--templates/mysql_health.ini17
2 files changed, 34 insertions, 0 deletions
diff --git a/templates/mysql.ini b/templates/mysql.ini
index f39d15a..22d0387 100644
--- a/templates/mysql.ini
+++ b/templates/mysql.ini
@@ -268,3 +268,20 @@ yUnitSystem = "sec"
[mysql-seconds_behind_master.functions]
value = "alias(color($metric$, '#1a7dd7'), 'Seconds behind master')"
+
+
+[mysql-seconds_behind_source.graph]
+check_command = "mysql"
+
+[mysql-seconds_behind_source.metrics_filters]
+value = "$service_name_template$.perfdata.seconds_behind_source.value"
+
+[mysql-seconds_behind_source.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "sec"
+
+[mysql-seconds_behind_source.functions]
+value = "alias(color($metric$, '#1a7dd7'), 'Seconds behind source')"
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"