summaryrefslogtreecommitdiffstats
path: root/templates/disk_windows_powershell_framework.ini
blob: 1b8e827faf870382cb10b546cdd4f4701dcfdc37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 (%)')"