From 2e582fe0b8b6a8e67982ddb84935db1bd3b401fe Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:21:16 +0200 Subject: Adding upstream version 1.2.2. Signed-off-by: Daniel Baumann --- templates/disk.ini | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 templates/disk.ini (limited to 'templates/disk.ini') diff --git a/templates/disk.ini b/templates/disk.ini new file mode 100644 index 0000000..f1f97ca --- /dev/null +++ b/templates/disk.ini @@ -0,0 +1,22 @@ +[disk.graph] +check_command = "disk, disk-windows" + +[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)')" -- cgit v1.2.3