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