-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheck_poe_consumption_snmp.ini
43 lines (35 loc) · 1.79 KB
/
check_poe_consumption_snmp.ini
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
41
42
43
[check_poe_consumption_snmp_percent.graph]
check_command = "check_poe_consumption_snmp"
[check_poe_consumption_snmp_percent.metrics_filters]
value = "$service_name_template$.perfdata.pse_$pse$_percent.value"
warn = "$service_name_template$.perfdata.pse_$pse$_percent.warn"
crit = "$service_name_template$.perfdata.pse_$pse$_percent.crit"
[check_poe_consumption_snmp_percent.urlparams]
title = "PSE $pse$ Usage (%)"
areaAlpha = "0.5"
areaMode = "first"
lineWidth = "2"
min = "0"
max = "100"
[check_poe_consumption_snmp_percent.functions]
value = "legendValue(alias(color(keepLastValue($metric$), '#1a7dd7'), 'usage (%)'), 'last', 'min', 'max', 'avg', 'si')"
warn = "legendValue(alias(color(keepLastValue($metric$), '#FFA500'), 'Warning'), 'last', 'si')"
crit = "legendValue(alias(color(keepLastValue($metric$), '#ff0000'), 'Critical'), 'last', 'si')"
[check_poe_consumption_snmp_watts.graph]
check_command = "check_poe_consumption_snmp"
[check_poe_consumption_snmp_watts.metrics_filters]
value = "$service_name_template$.perfdata.pse_$pse$_watts.value"
warn = "$service_name_template$.perfdata.pse_$pse$_watts.warn"
crit = "$service_name_template$.perfdata.pse_$pse$_watts.crit"
max = "$service_name_template$.perfdata.pse_$pse$_watts.max"
[check_poe_consumption_snmp_watts.urlparams]
title = "PSE $pse$ consumption (Watt)"
areaAlpha = "0.5"
areaMode = "first"
lineWidth = "2"
min = "0"
[check_poe_consumption_snmp_watts.functions]
value = "legendValue(alias(color(keepLastValue($metric$), '#1a7dd7'), 'Watt'), 'last', 'min', 'max', 'avg', 'si')"
warn = "legendValue(alias(color(keepLastValue($metric$), '#FFA500'), 'Warning'), 'last', 'si')"
crit = "legendValue(alias(color(keepLastValue($metric$), '#ff0000'), 'Critical'), 'last', 'si')"
max = "legendValue(alias(color(keepLastValue($metric$), '#cfd7e6'), 'Max'), 'last', 'si')"