diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:21:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:21:16 +0000 |
commit | 2e582fe0b8b6a8e67982ddb84935db1bd3b401fe (patch) | |
tree | dd511b321f308264952cffb005a4288ea4e478e6 /templates/disk_windows_powershell_framework.ini | |
parent | Initial commit. (diff) | |
download | icingaweb2-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/disk_windows_powershell_framework.ini')
-rw-r--r-- | templates/disk_windows_powershell_framework.ini | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/templates/disk_windows_powershell_framework.ini b/templates/disk_windows_powershell_framework.ini new file mode 100644 index 0000000..1b8e827 --- /dev/null +++ b/templates/disk_windows_powershell_framework.ini @@ -0,0 +1,40 @@ +[disk.graph] +check_command = "Invoke-IcingaCheckUsedPartitionSpace" + +[disk.metrics_filters] +value = "$service_name_template$.perfdata.used_space_$disk$.value" +max = "$service_name_template$.perfdata.used_space_$disk$.max" +crit = "$service_name_template$.perfdata.used_space_$disk$.crit" +warn = "$service_name_template$.perfdata.used_space_$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)')" + +[disk-percent.graph] +check_command = "Invoke-IcingaCheckUsedPartitionSpace" + +[disk-percent.metrics_filters] +value = "$service_name_template$.perfdata.$disk$.value" +crit = "$service_name_template$.perfdata.$disk$.crit" +warn = "$service_name_template$.perfdata.$disk$.warn" +[disk-percent.urlparams] +areaAlpha = "0.5" +areaMode = "first" +lineWidth = "2" +min = "0" +title = "Disk $disk$" + +[disk-percent.functions] +value = "alias(color($metric$, '#1a7dd7'), 'Used (%)')" +crit = "alias(color($metric$, '#ff0000'), 'Crit (%)')" +warn = "alias(color($metric$, '#ff8d00'), 'Warn (%)')" |