From 9a9ff27e57ad3eb60909f0a4d0bd74755df52662 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:21:36 +0200 Subject: Merging upstream version 1.2.4. Signed-off-by: Daniel Baumann --- templates/mysql.ini | 17 +++++++++++++++++ templates/mysql_health.ini | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) (limited to 'templates') 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" -- cgit v1.2.3