a4511a947083c7b292c3899f578ccf10f7d5a888
[barometer.git] / src / collectd / collectd_sample_configs / snmp_agent.conf
1 # Copyright 2017 OPNFV
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 LoadPlugin snmp_agent
15 <Plugin snmp_agent>
16 # Intel PMU MIB
17   <Table "pmuTable">
18     IndexOID "INTEL-PMU-MIB::pmuGroupIndex"
19     <Data "pmuGroupDescr">
20       Instance true
21       Plugin "intel_pmu"
22       OIDs "INTEL-PMU-MIB::pmuGroupDescr"
23     </Data>
24     <Data "pmuL1DCacheLoads">
25       Plugin "intel_pmu"
26       Type "counter"
27       TypeInstance "L1-dcache-loads"
28       OIDs "INTEL-PMU-MIB::pmuL1DCacheLoads"
29     </Data>
30     <Data "pmuL1DCacheLoadMisses">
31       Plugin "intel_pmu"
32       Type "counter"
33       TypeInstance "L1-dcache-load-misses"
34       OIDs "INTEL-PMU-MIB::pmuL1DCacheLoadMisses"
35     </Data>
36     <Data "pmuL1DCacheStores">
37       Plugin "intel_pmu"
38       Type "counter"
39       TypeInstance "L1-dcache-stores"
40       OIDs "INTEL-PMU-MIB::pmuL1DCacheStores"
41     </Data>
42     <Data "pmuL1DCacheStoreMisses">
43       Plugin "intel_pmu"
44       Type "counter"
45       TypeInstance "L1-dcache-store-misses"
46       OIDs "INTEL-PMU-MIB::pmuL1DCacheStoreMisses"
47     </Data>
48     <Data "pmuL1DCachePrefetches">
49       Plugin "intel_pmu"
50       Type "counter"
51       TypeInstance "L1-dcache-prefetches"
52       OIDs "INTEL-PMU-MIB::pmuL1DCachePrefetches"
53     </Data>
54     <Data "pmuL1DCachePrefetchMisses">
55       Plugin "intel_pmu"
56       Type "counter"
57       TypeInstance "L1-dcache-prefetch-misses"
58       OIDs "INTEL-PMU-MIB::pmuL1DCachePrefetchMisses"
59     </Data>
60     <Data "pmuL1ICacheLoads">
61       Plugin "intel_pmu"
62       Type "counter"
63       TypeInstance "L1-icache-loads"
64       OIDs "INTEL-PMU-MIB::pmuL1ICacheLoads"
65     </Data>
66     <Data "pmuL1ICacheLoadMisses">
67       Plugin "intel_pmu"
68       Type "counter"
69       TypeInstance "L1-icache-load-misses"
70       OIDs "INTEL-PMU-MIB::pmuL1ICacheLoadMisses"
71     </Data>
72     <Data "pmuL1ICachePrefetches">
73       Plugin "intel_pmu"
74       Type "counter"
75       TypeInstance "L1-icache-prefetches"
76       OIDs "INTEL-PMU-MIB::pmuL1ICachePrefetches"
77     </Data>
78     <Data "pmuL1ICachePrefetchMisses">
79       Plugin "intel_pmu"
80       Type "counter"
81       TypeInstance "L1-icache-prefetch-misses"
82       OIDs "INTEL-PMU-MIB::pmuL1ICachePrefetchMisses"
83     </Data>
84     <Data "pmuLLCLoads">
85       Plugin "intel_pmu"
86       Type "counter"
87       TypeInstance "LLC-loads"
88       OIDs "INTEL-PMU-MIB::pmuLLCLoads"
89     </Data>
90     <Data "pmuLLCLoadMisses">
91       Plugin "intel_pmu"
92       Type "counter"
93       TypeInstance "LLC-load-misses"
94       OIDs "INTEL-PMU-MIB::pmuLLCLoadMisses"
95     </Data>
96     <Data "pmuLLCStores">
97       Plugin "intel_pmu"
98       Type "counter"
99       TypeInstance "LLC-stores"
100       OIDs "INTEL-PMU-MIB::pmuLLCStores"
101     </Data>
102     <Data "pmuLLCStoreMisses">
103       Plugin "intel_pmu"
104       Type "counter"
105       TypeInstance "LLC-store-misses"
106       OIDs "INTEL-PMU-MIB::pmuLLCStoreMisses"
107     </Data>
108     <Data "pmuLLCPrefetches">
109       Plugin "intel_pmu"
110       Type "counter"
111       TypeInstance "LLC-prefetches"
112       OIDs "INTEL-PMU-MIB::pmuLLCPrefetches"
113     </Data>
114     <Data "pmuLLCPrefetchMisses">
115       Plugin "intel_pmu"
116       Type "counter"
117       TypeInstance "LLC-prefetch-misses"
118       OIDs "INTEL-PMU-MIB::pmuLLCPrefetchMisses"
119     </Data>
120     <Data "pmuDTLBLoads">
121       Plugin "intel_pmu"
122       Type "counter"
123       TypeInstance "dTLB-loads"
124       OIDs "INTEL-PMU-MIB::pmuDTLBLoads"
125     </Data>
126     <Data "pmuDTLBLoadMisses">
127       Plugin "intel_pmu"
128       Type "counter"
129       TypeInstance "dTLB-load-misses"
130       OIDs "INTEL-PMU-MIB::pmuDTLBLoadMisses"
131     </Data>
132     <Data "pmuDTLBStores">
133       Plugin "intel_pmu"
134       Type "counter"
135       TypeInstance "dTLB-stores"
136       OIDs "INTEL-PMU-MIB::pmuDTLBStores"
137     </Data>
138     <Data "pmuDTLBStoreMisses">
139       Plugin "intel_pmu"
140       Type "counter"
141       TypeInstance "dTLB-store-misses"
142       OIDs "INTEL-PMU-MIB::pmuDTLBStoreMisses"
143     </Data>
144     <Data "pmuDTLBPrefetches">
145       Plugin "intel_pmu"
146       Type "counter"
147       TypeInstance "dTLB-prefetches"
148       OIDs "INTEL-PMU-MIB::pmuDTLBPrefetches"
149     </Data>
150     <Data "pmuDTLBPrefetchMisses">
151       Plugin "intel_pmu"
152       Type "counter"
153       TypeInstance "dTLB-prefetch-misses"
154       OIDs "INTEL-PMU-MIB::pmuDTLBPrefetchMisses"
155     </Data>
156     <Data "pmuITLBLoads">
157       Plugin "intel_pmu"
158       Type "counter"
159       TypeInstance "iTLB-loads"
160       OIDs "INTEL-PMU-MIB::pmuITLBLoads"
161     </Data>
162     <Data "pmuITLBLoadMisses">
163       Plugin "intel_pmu"
164       Type "counter"
165       TypeInstance "iTLB-load-misses"
166       OIDs "INTEL-PMU-MIB::pmuITLBLoadMisses"
167     </Data>
168     <Data "pmuBranchLoads">
169       Plugin "intel_pmu"
170       Type "counter"
171       TypeInstance "branch-loads"
172       OIDs "INTEL-PMU-MIB::pmuBranchLoads"
173     </Data>
174     <Data "pmuBranchLoadMisses">
175       Plugin "intel_pmu"
176       Type "counter"
177       TypeInstance "branch-load-misses"
178       OIDs "INTEL-PMU-MIB::pmuBranchLoadMisses"
179     </Data>
180     <Data "pmuCpuCycles">
181       Plugin "intel_pmu"
182       Type "counter"
183       TypeInstance "cpu-cycles"
184       OIDs "INTEL-PMU-MIB::pmuCpuCycles"
185     </Data>
186     <Data "pmuInstructions">
187       Plugin "intel_pmu"
188       Type "counter"
189       TypeInstance "instructions"
190       OIDs "INTEL-PMU-MIB::pmuInstructions"
191     </Data>
192     <Data "pmuCacheReferences">
193       Plugin "intel_pmu"
194       Type "counter"
195       TypeInstance "cache-references"
196       OIDs "INTEL-PMU-MIB::pmuCacheReferences"
197     </Data>
198     <Data "pmuCacheMisses">
199       Plugin "intel_pmu"
200       Type "counter"
201       TypeInstance "cache-misses"
202       OIDs "INTEL-PMU-MIB::pmuCacheMisses"
203     </Data>
204     <Data "pmuBranches">
205       Plugin "intel_pmu"
206       Type "counter"
207       TypeInstance "branches"
208       OIDs "INTEL-PMU-MIB::pmuBranches"
209     </Data>
210     <Data "pmuBranchMisses">
211       Plugin "intel_pmu"
212       Type "counter"
213       TypeInstance "branch-misses"
214       OIDs "INTEL-PMU-MIB::pmuBranchMisses"
215     </Data>
216     <Data "pmuBusCycles">
217       Plugin "intel_pmu"
218       Type "counter"
219       TypeInstance "bus-cycles"
220       OIDs "INTEL-PMU-MIB::pmuBusCycles"
221     </Data>
222     <Data "pmuCpuClock">
223       Plugin "intel_pmu"
224       Type "counter"
225       TypeInstance "cpu-clock"
226       OIDs "INTEL-PMU-MIB::pmuCpuClock"
227     </Data>
228     <Data "pmuTaskClock">
229       Plugin "intel_pmu"
230       Type "counter"
231       TypeInstance "task-clock"
232       OIDs "INTEL-PMU-MIB::pmuTaskClock"
233     </Data>
234     <Data "pmuContextSwitches">
235       Plugin "intel_pmu"
236       Type "counter"
237       TypeInstance "context-switches"
238       OIDs "INTEL-PMU-MIB::pmuContextSwitches"
239     </Data>
240     <Data "pmuCpuMigrations">
241       Plugin "intel_pmu"
242       Type "counter"
243       TypeInstance "cpu-migrations"
244       OIDs "INTEL-PMU-MIB::pmuCpuMigrations"
245     </Data>
246     <Data "pmuPageFaults">
247       Plugin "intel_pmu"
248       Type "counter"
249       TypeInstance "page-faults"
250       OIDs "INTEL-PMU-MIB::pmuPageFaults"
251     </Data>
252     <Data "pmuMinorFaults">
253       Plugin "intel_pmu"
254       Type "counter"
255       TypeInstance "minor-faults"
256       OIDs "INTEL-PMU-MIB::pmuMinorFaults"
257     </Data>
258     <Data "pmuMajorFaults">
259       Plugin "intel_pmu"
260       Type "counter"
261       TypeInstance "major-faults"
262       OIDs "INTEL-PMU-MIB::pmuMajorFaults"
263     </Data>
264     <Data "pmuAlignmentFaults">
265       Plugin "intel_pmu"
266       Type "counter"
267       TypeInstance "alignment-faults"
268       OIDs "INTEL-PMU-MIB::pmuAlignmentFaults"
269     </Data>
270     <Data "pmuEmulationFaults">
271       Plugin "intel_pmu"
272       Type "counter"
273       TypeInstance "emulation-faults"
274       OIDs "INTEL-PMU-MIB::pmuEmulationFaults"
275     </Data>
276   </Table>
277 # Intel RDT MIB
278   <Table "rdtTable">
279     IndexOID "INTEL-RDT-MIB::rdtGroupIndex"
280     SizeOID "INTEL-RDT-MIB::rdtGroupNumber"
281     <Data "rdtGroupDescr">
282       Instance true
283       Plugin "intel_rdt"
284       OIDs "INTEL-RDT-MIB::rdtGroupDescr"
285     </Data>
286     <Data "rdtLlc">
287       Plugin "intel_rdt"
288       Type "bytes"
289       TypeInstance "llc"
290       OIDs "INTEL-RDT-MIB::rdtLlc"
291     </Data>
292     <Data "rdtIpc">
293       Plugin "intel_rdt"
294       Type "ipc"
295       OIDs "INTEL-RDT-MIB::rdtIpc"
296     </Data>
297     <Data "rdtMbmRemote">
298       Plugin "intel_rdt"
299       Type "memory_bandwidth"
300       TypeInstance "remote"
301       OIDs "INTEL-RDT-MIB::rdtMbmRemote"
302     </Data>
303     <Data "rdtMbmLocal">
304       Plugin "intel_rdt"
305       Type "memory_bandwidth"
306       TypeInstance "local"
307       OIDs "INTEL-RDT-MIB::rdtMbmLocal"
308     </Data>
309   </Table>
310 # Intel Mcelog MIB
311   <Table "mcelogTable">
312     IndexOID "INTEL-MCELOG-MIB::memoryGroupIndex"
313     <Data "memoryGroupDescr">
314       Instance true
315       Plugin "mcelog"
316       OIDs "INTEL-MCELOG-MIB::memoryGroupDescr"
317     </Data>
318     <Data "memoryCorrectedErrors">
319       Plugin "mcelog"
320       Type "errors"
321       TypeInstance "corrected_memory_errors"
322       OIDs "INTEL-MCELOG-MIB::memoryCorrectedErrors"
323     </Data>
324     <Data "memoryCorrectedTimedErrors">
325       Plugin "mcelog"
326       Type "errors"
327       TypeInstance "corrected_memory_errors_in_24h"
328       OIDs "INTEL-MCELOG-MIB::memoryCorrectedTimedErrors"
329     </Data>
330     <Data "memoryUncorrectedErrors">
331       Plugin "mcelog"
332       Type "errors"
333       TypeInstance "uncorrected_memory_errors"
334       OIDs "INTEL-MCELOG-MIB::memoryUncorrectedErrors"
335     </Data>
336     <Data "memoryUncorrectedTimedErrors">
337       Plugin "mcelog"
338       Type "errors"
339       TypeInstance "uncorrected_memory_errors_in_24h"
340       OIDs "INTEL-MCELOG-MIB::memoryUncorrectedTimedErrors"
341     </Data>
342   </Table>
343 # Hugepages
344   <Table "hugepagesTable">
345     <Data "hugepagesNode">
346       Instance true
347       Plugin "hugepages"
348       OIDs "INTEL-HUGEPAGES-MIB::hugepagesNode"
349     </Data>
350     <Data "hugepagesMemoryFree">
351       Plugin "hugepages"
352       Type "memory"
353       TypeInstance "free"
354       OIDs "INTEL-HUGEPAGES-MIB::hugepagesMemoryFree"
355     </Data>
356     <Data "hugepagesMemoryUsed">
357       Plugin "hugepages"
358       Type "memory"
359       TypeInstance "used"
360       OIDs "INTEL-HUGEPAGES-MIB::hugepagesMemoryUsed"
361     </Data>
362     <Data "hugepagesPagesFree">
363       Plugin "hugepages"
364       Type "vmpage_number"
365       TypeInstance "free"
366       OIDs "INTEL-HUGEPAGES-MIB::hugepagesPagesFree"
367     </Data>
368     <Data "hugepagesPagesUsed">
369       Plugin "hugepages"
370       Type "vmpage_number"
371       TypeInstance "used"
372       OIDs "INTEL-HUGEPAGES-MIB::hugepagesPagesUsed"
373     </Data>
374     <Data "hugepagesPercentFree">
375       Plugin "hugepages"
376       Type "percent"
377       TypeInstance "free"
378       OIDs "INTEL-HUGEPAGES-MIB::hugepagesPercentFree"
379     </Data>
380     <Data "hugepagesPercentUsed">
381       Plugin "hugepages"
382       Type "percent"
383       TypeInstance "used"
384       OIDs "INTEL-HUGEPAGES-MIB::hugepagesPercentUsed"
385     </Data>
386   </Table>
387 </Plugin>
388