Update templates for Icinga Powershell plugins

This commit is contained in:
Sukhwinder Dhillon 2024-04-05 11:01:15 +02:00 committed by Johannes Meyer
parent 48151b3f0e
commit 566ea12fad
3 changed files with 64 additions and 0 deletions

View file

@ -17,3 +17,23 @@ yUnitSystem = "none"
load.value = "alias(color($metric$, '#1a7dd7'), 'CPU usage(%)')"
crit.value = "alias(color($metric$, '#ff0000'), 'Crit (%)')"
warn.value = "alias(color($metric$, '#ff8d00'), 'Warn (%)')"
[load-windows-multi.graph]
check_command = "Invoke-IcingaCheckCPU"
[load-windows-multi.metrics_filters]
load.value = "$service_name_template$.perfdata.$index$.$template$.$label_name$.value"
crit.value = "$service_name_template$.perfdata.$index$.$template$.$label_name$.crit"
warn.value = "$service_name_template$.perfdata.$index$.$template$.$label_name$.warn"
[load-windows-multi.urlparams]
areaAlpha = "0.5"
lineWidth = "2"
min = "0"
title = "CPU ($index$::$template$::$label_name$) %"
yUnitSystem = "none"
[load-windows-multi.functions]
load.value = "alias(color($metric$, '#1a7dd7'), 'CPU usage(%)')"
crit.value = "alias(color($metric$, '#ff0000'), 'Crit (%)')"
warn.value = "alias(color($metric$, '#ff8d00'), 'Warn (%)')"

View file

@ -20,6 +20,28 @@ max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')"
crit = "alias(color($metric$, '#ff0000'), 'Crit (bytes)')"
warn = "alias(color($metric$, '#ff8d00'), 'Warn (bytes)')"
[disk-multi.graph]
check_command = "Invoke-IcingaCheckUsedPartitionSpace"
[disk-multi.metrics_filters]
value = "$service_name_template$.perfdata.$index$.$template$.$label_name$.value"
max = "$service_name_template$.perfdata.$index$.$template$.$label_name$.max"
crit = "$service_name_template$.perfdata.$index$.$template$.$label_name$.crit"
warn = "$service_name_template$.perfdata.$index$.$template$.$label_name$.warn"
[disk-multi.urlparams]
areaAlpha = "0.5"
areaMode = "first"
lineWidth = "2"
min = "0"
title = "Disk $index$::$template$::$label_name$"
yUnitSystem = "binary"
[disk-multi.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"

View file

@ -21,6 +21,28 @@ max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')"
crit = "alias(color($metric$, '#ff0000'), 'Crit (bytes)')"
warn = "alias(color($metric$, '#ff8d00'), 'Warn (bytes)')"
[memory-multi.graph]
check_command = "Invoke-IcingaCheckMemory"
[memory-multi.metrics_filters]
value = "$service_name_template$.perfdata.$index$.$template$.$label_name$.value"
max = "$service_name_template$.perfdata.$index$.$template$.$label_name$.max"
crit = "$service_name_template$.perfdata.$index$.$template$.$label_name$.crit"
warn = "$service_name_template$.perfdata.$index$.$template$.$label_name$.warn"
[memory-multi.urlparams]
areaAlpha = "0.5"
areaMode = "all"
lineWidth = "2"
title = "Memory used ($index$::$template$::$label_name$)"
yUnitSystem = "none"
[memory-multi.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)')"
[memory-percent.graph]
check_command = "Invoke-IcingaCheckMemory"