summaryrefslogtreecommitdiffstats
path: root/templates/snmp-storage.ini
diff options
context:
space:
mode:
Diffstat (limited to 'templates/snmp-storage.ini')
-rw-r--r--templates/snmp-storage.ini21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/snmp-storage.ini b/templates/snmp-storage.ini
new file mode 100644
index 0000000..4b4505f
--- /dev/null
+++ b/templates/snmp-storage.ini
@@ -0,0 +1,21 @@
+[disk.graph]
+check_command = "snmp-storage"
+
+[disk.metrics_filters]
+value = "$service_name_template$.perfdata.$disk$.value"
+max = "$service_name_template$.perfdata.$disk$.max"
+crit = "$service_name_template$.perfdata.$disk$.crit"
+warn = "$service_name_template$.perfdata.$disk$.warn"
+[disk.urlparams]
+areaAlpha = "0.5"
+areaMode = "first"
+lineWidth = "2"
+min = "0"
+title = "Disk $disk$"
+yUnitSystem = "binary"
+
+[disk.functions]
+value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')"
+max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')"
+crit = "alias(color($metric$, '#ff0000'), 'Crit (bytes)')"
+warn = "alias(color($metric$, '#ff8d00'), 'Warn (bytes)')"