summaryrefslogtreecommitdiffstats
path: root/templates/interfacetable.ini
blob: 359d2019573b67447617955d53e3905761cecf14 (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
41
42
43
44
45
46
47
48
49
50
51
52
[interfacetable-traffic.graph]
check_command = "interfacetable"

[interfacetable-traffic.metrics_filters]
bpsin = "$service_name_template$.perfdata.If_$interface$.check_interface_table_port.BpsIn.value"
bpsout = "$service_name_template$.perfdata.If_$interface$.check_interface_table_port.BpsOut.value"

[interfacetable-traffic.urlparams]
min = "0"
title = "Interface $interface$"
lineWidth = "2"
yUnitSystem = "si"

[interfacetable-traffic.functions]
bpsin = "alias(color($metric$, '#1a7dd7'), 'Traffic in (B/s)')"
bpsout = "alias(color($metric$, '#0b3c68'), 'Traffic out (B/s)')"


[interfacetable-discard.graph]
check_command = "interfacetable"

[interfacetable-discard.metrics_filters]
ppsindiscard = "$service_name_template$.perfdata.If_$interface$.check_interface_table_port.PpsInDiscard.value"
ppsoutdiscard = "$service_name_template$.perfdata.If_$interface$.check_interface_table_port.PpsOutDiscard.value"

[interfacetable-discard.urlparams]
min = "0"
title = "Interface $interface$"
lineWidth = "2"
yUnitSystem = "si"

[interfacetable-discard.functions]
ppsindiscard = "alias(color($metric$, '#edb017'), 'Discard in (B/s)')"
ppsoutdiscard = "alias(color($metric$, '#ad7d05'), 'Discard out (B/s)')"


[interfacetable-error.graph]
check_command = "interfacetable"

[interfacetable-error.metrics_filters]
ppsinerr = "$service_name_template$.perfdata.If_$interface$.check_interface_table_port.PpsInErr.value"
ppsouterr = "$service_name_template$.perfdata.If_$interface$.check_interface_table_port.PpsOutErr.value"

[interfacetable-error.urlparams]
min = "0"
title = "Interface $interface$"
lineWidth = "2"
yUnitSystem = "si"

[interfacetable-error.functions]
ppsinerr = "alias(color($metric$, '#ff5566'), 'Error in (B/s)')"
ppsouterr = "alias(color($metric$, '#a80000'), 'Error out (B/s)')"