summaryrefslogtreecommitdiffstats
path: root/templates/update.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:16 +0000
commit2e582fe0b8b6a8e67982ddb84935db1bd3b401fe (patch)
treedd511b321f308264952cffb005a4288ea4e478e6 /templates/update.ini
parentInitial commit. (diff)
downloadicingaweb2-module-graphite-2e582fe0b8b6a8e67982ddb84935db1bd3b401fe.tar.xz
icingaweb2-module-graphite-2e582fe0b8b6a8e67982ddb84935db1bd3b401fe.zip
Adding upstream version 1.2.2.upstream/1.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'templates/update.ini')
-rw-r--r--templates/update.ini34
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/update.ini b/templates/update.ini
new file mode 100644
index 0000000..3b87ea7
--- /dev/null
+++ b/templates/update.ini
@@ -0,0 +1,34 @@
+[apt.graph]
+check_command = "apt"
+
+[apt.metrics_filters]
+critical_updates.value = "$service_name_template$.perfdata.critical_updates.value"
+available_upgrades.value = "$service_name_template$.perfdata.available_upgrades.value"
+
+[apt.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "none"
+
+[apt.functions]
+critical_updates.value = "alias(color($metric$, '#ff5566'), 'Critical Updates')"
+available_upgrades.value = "alias(color($metric$, '#ffaa44'), 'Available Upgrades')"
+
+
+[update-windows.graph]
+check_command = "update-windows"
+
+[update-windows.metrics_filters]
+value = "$service_name_template$.perfdata.update.value"
+
+[update-windows.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "none"
+
+[update-windows.functions]
+value = "alias(color($metric$, '#1a7dd7'), 'Available Updates')"