summaryrefslogtreecommitdiffstats
path: root/templates/snmp-load-stand.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/snmp-load-stand.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/snmp-load-stand.ini')
-rw-r--r--templates/snmp-load-stand.ini20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/snmp-load-stand.ini b/templates/snmp-load-stand.ini
new file mode 100644
index 0000000..f7b11e8
--- /dev/null
+++ b/templates/snmp-load-stand.ini
@@ -0,0 +1,20 @@
+[load-windows.graph]
+check_command = "load-windows"
+
+[load-windows.metrics_filters]
+load.value = "$service_name_template$.perfdata.cpu_prct_used.value"
+crit.value = "$service_name_template$.perfdata.cpu_prct_used.crit"
+warn.value = "$service_name_template$.perfdata.cpu_prct_used.warn"
+
+[load-windows.urlparams]
+areaAlpha = "0.5"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "none"
+
+[load-windows.functions]
+load.value = "alias(color($metric$, '#1a7dd7'), 'CPU usage(%)')"
+crit.value = "alias(color($metric$, '#ff0000'), 'Crit (%)')"
+warn.value = "alias(color($metric$, '#ff8d00'), 'Warn (%)')"
+
+