master
yaml 169 lines 5.02 KB
Raw
1 taxonomy_version: 1
2 plugin_name: go.d.plugin
3 module_name: snmp
4 placements:
5 - id: snmp
6 section_id: remote-devices.snmp
7 title: SNMP-enabled devices
8 short_name: SNMP
9 icon: snmp
10 families: true
11 properties:
12 important: false
13 grouping: false
14 single_node:
15 properties:
16 grouping: true
17 items:
18 - type: grid
19 id: network-interfaces-heads
20 items:
21 - type: context
22 title: Traffic In
23 contexts:
24 - context_prefix:
25 - snmp.device_prof_ifTotalTraffic
26 chart_library: gauge
27 group_by:
28 - selected
29 selected_dimensions:
30 - in
31 value_range: [0, null]
32 colors:
33 - "#0099C6"
34 - "#990099"
35 layout: { left: 0, top: 0, width: 3, height: 4 }
36 - type: context
37 title: Traffic Out
38 contexts:
39 - context_prefix:
40 - snmp.device_prof_ifTotalTraffic
41 chart_library: gauge
42 group_by:
43 - selected
44 selected_dimensions:
45 - out
46 value_range: [0, null]
47 colors:
48 - "#990099"
49 - "#0099C6"
50 layout: { left: 3, top: 0, width: 3, height: 4 }
51 - type: context
52 title: Errors
53 contexts:
54 - context_prefix:
55 - snmp.device_prof_ifTotalErrors
56 chart_library: gauge
57 group_by:
58 - selected
59 colors:
60 - "#990099"
61 - "#0099C6"
62 layout: { left: 6, top: 0, width: 3, height: 4 }
63 - type: context
64 title: Discards
65 contexts:
66 - context_prefix:
67 - snmp.device_prof_ifTotalDiscards
68 chart_library: gauge
69 group_by:
70 - selected
71 colors:
72 - "#990099"
73 - "#0099C6"
74 layout: { left: 9, top: 0, width: 3, height: 4 }
75 - type: context
76 title: Unicast
77 contexts:
78 - context_prefix:
79 - snmp.device_prof_ifTotalPacketsUcast
80 chart_library: bars
81 layout: { left: 0, top: 4, width: 3, height: 2.5 }
82 - type: context
83 title: Multicast
84 contexts:
85 - context_prefix:
86 - snmp.device_prof_ifTotalPacketsMulticast
87 chart_library: bars
88 layout: { left: 3, top: 4, width: 3, height: 2.5 }
89 - type: context
90 title: Broadcast
91 contexts:
92 - context_prefix:
93 - snmp.device_prof_ifTotalPacketsBroadcast
94 chart_library: bars
95 layout: { left: 6, top: 4, width: 3, height: 2.5 }
96 - type: context
97 title: Uptime
98 contexts:
99 - context_prefix:
100 - snmp.device_prof_systemUptime
101 chart_library: number
102 group_by:
103 - selected
104 aggregation_method: min
105 layout: { left: 9, top: 4, width: 3, height: 2.5 }
106 - type: view_switch
107 id: snmp-devices-table
108 multi_node:
109 type: context
110 title: List SNMP devices
111 contexts:
112 - context_prefix:
113 - snmp.device_prof_ifTotalTraffic
114 - context_prefix:
115 - snmp.device_prof_ifTotalPacketsUcast
116 - context_prefix:
117 - snmp.device_prof_ifTotalErrors
118 chart_library: table
119 group_by:
120 - dimension
121 - label
122 - node
123 - context
124 group_by_label:
125 - _collect_job
126 - vendor
127 table_columns:
128 - context
129 - dimension
130 table_sort_by:
131 - id: snmp.device_prof_ifTotalTraffic
132 desc: true
133 labels:
134 snmp.device_prof_ifTotalTraffic: Traffic
135 snmp.device_prof_ifTotalPacketsUcast: Packets
136 snmp.device_prof_ifTotalErrors: Errors
137 single_node:
138 type: context
139 title: List SNMP devices
140 contexts:
141 - context_prefix:
142 - snmp.device_prof_ifTraffic
143 - context_prefix:
144 - snmp.device_prof_ifPacketsUcast
145 - context_prefix:
146 - snmp.device_prof_ifErrors
147 chart_library: table
148 group_by:
149 - dimension
150 - label
151 - context
152 group_by_label:
153 - interface
154 - if_type
155 table_columns:
156 - context
157 - dimension
158 table_sort_by:
159 - id: snmp.device_prof_ifTraffic
160 desc: true
161 labels:
162 snmp.device_prof_ifTraffic: Traffic
163 snmp.device_prof_ifPacketsUcast: Packets
164 snmp.device_prof_ifErrors: Errors
165 - type: selector
166 id: snmp-contexts
167 title: SNMP profile metrics
168 context_prefix:
169 - snmp.