forked from prometheus/snmp_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
generator.yml
618 lines (596 loc) · 19.3 KB
/
generator.yml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
---
auths:
public_v1:
version: 1
public_v2:
version: 2
modules:
# Default IF-MIB interfaces table with ifIndex.
if_mib:
walk: [sysUpTime, interfaces, ifXTable]
lookups:
- source_indexes: [ifIndex]
lookup: ifAlias
- source_indexes: [ifIndex]
# Uis OID to avoid conflict with PaloAlto PAN-COMMON-MIB.
lookup: 1.3.6.1.2.1.2.2.1.2 # ifDescr
- source_indexes: [ifIndex]
# Use OID to avoid conflict with Netscaler NS-ROOT-MIB.
lookup: 1.3.6.1.2.1.31.1.1.1.1 # ifName
overrides:
ifAlias:
ignore: true # Lookup metric
ifDescr:
ignore: true # Lookup metric
ifName:
ignore: true # Lookup metric
ifType:
type: EnumAsInfo
# Default IP-MIB with ipv4InterfaceTable for example.
ip_mib:
walk: [ipv4InterfaceTable]
# Cisco Wireless LAN Controller
cisco_wlc:
walk:
- 1.3.6.1.4.1.14179.2.1.1.1.38 # bsnDot11EssNumberofMobileStations
- 1.3.6.1.4.1.14179.2.2.2.1.2 # bsnAPIfType
- 1.3.6.1.4.1.14179.2.2.2.1.4 # bsnAPIfPhyChannelNumber
- 1.3.6.1.4.1.14179.2.2.2.1.15 # bsnApIfNoOfUsers
- 1.3.6.1.4.1.14179.2.2.6.1 # bsnAPIfDot11CountersTable
- 1.3.6.1.4.1.14179.2.2.13.1.3 # bsnAPIfLoadChannelUtilization
- 1.3.6.1.4.1.14179.2.2.15.1.21 # bsnAPIfDBNoisePower
lookups:
- source_indexes: [bsnDot11EssIndex]
lookup: bsnDot11EssSsid
drop_source_indexes: true
- source_indexes: [bsnAPDot3MacAddress]
lookup: bsnAPName
drop_source_indexes: true
overrides:
bsnAPName:
type: DisplayString
# APC/Schneider UPS Network Management Cards
#
# Note: older management cards only support SNMP v1 (AP9606 and
# AP9607, possibly others). Older versions of the firmware may only
# support v1 as well. If you only have newer cards you can switch to
# version v2c or v3.
#
# The management cards have relatively slow processors so don't poll
# very often and give a generous timeout to prevent spurious
# errors. Alternatively you can eliminate the interface polling (OIDs
# beginning with 1.3.6.1.2.1) to reduce the time taken for polling.
#
# MIB: https://download.schneider-electric.com/files?p_File_Name=powernet426.mib
# Guide: http://www.apc.com/salestools/ASTE-6Z5QEY/ASTE-6Z5QEY_R0_EN.pdf
# Download site: http://www.apc.com/us/en/tools/download/index.cfm
apcups:
walk:
- 1.3.6.1.4.1.318.1.1.1.2 # upsBattery
- 1.3.6.1.4.1.318.1.1.1.3 # upsInput
- 1.3.6.1.4.1.318.1.1.1.4 # upsOutput
- 1.3.6.1.4.1.318.1.1.1.7.2 # upsAdvTest
- 1.3.6.1.4.1.318.1.1.1.8.1 # upsCommStatus
- 1.3.6.1.4.1.318.1.1.1.12 # upsOutletGroups
- 1.3.6.1.4.1.318.1.1.10.2.3.2 # iemStatusProbesTable
- 1.3.6.1.4.1.318.1.1.26.4.3 # rPDU2DeviceStatusTable
- 1.3.6.1.4.1.318.1.1.26.6.3 # rPDU2PhaseStatusTable
- 1.3.6.1.4.1.318.1.1.26.8.3 # rPDU2BankStatusTable
- 1.3.6.1.4.1.318.1.1.26.10.2.2 # rPDU2SensorTempHumidityStatusTable
lookups:
- source_indexes: [upsOutletGroupStatusIndex]
lookup: upsOutletGroupStatusName
drop_source_indexes: true
- source_indexes: [iemStatusProbeIndex]
lookup: iemStatusProbeName
drop_source_indexes: true
overrides:
rPDU2BankStatusLoadState:
type: EnumAsStateSet
upsAdvBatteryCondition:
type: EnumAsStateSet
upsAdvBatteryChargingCurrentRestricted:
type: EnumAsStateSet
upsAdvBatteryChargerStatus:
type: EnumAsStateSet
# ServerTech Sentry 3 MIB
#
# Used by ServerTech PDUs
#
# ftp://ftp.servertech.com/Pub/SNMP/sentry3/Sentry3OIDTree.txt
# ftp://ftp.servertech.com/Pub/SNMP/sentry3/Sentry3.mib
servertech_sentry3:
walk:
- 1.3.6.1.4.1.1718.3.2.2 # infeedTable
- 1.3.6.1.4.1.1718.3.2.3 # outletTable
overrides:
infeedCapacityUsed:
ignore: true # Composite metric: infeedLoadValue / infeedCapacity * 100
infeedVACapacityUsed:
ignore: true # Composite metric: infeedApparentPower / infeedVACapacity * 100
# ServerTech Sentry 4 MIB
#
# Used by ServerTech PDUs
#
# https://cdn10.servertech.com/assets/documents/documents/816/original/Sentry4OIDTree.txt
# https://cdn10.servertech.com/assets/documents/documents/815/original/Sentry4.mib
servertech_sentry4:
walk:
- 1.3.6.1.4.1.1718.4.1.3.3 # st4InputCordMonitorTable
- 1.3.6.1.4.1.1718.4.1.4.3 # st4LineMonitorTable
- 1.3.6.1.4.1.1718.4.1.5.3 # st4PhaseMonitorTable
- 1.3.6.1.4.1.1718.4.1.7.3 # st4BranchMonitorTable
- 1.3.6.1.4.1.1718.4.1.8.3 # st4OutletMonitorTable
- 1.3.6.1.4.1.1718.4.1.9.3 # st4TempSensorMonitorTable
- 1.3.6.1.4.1.1718.4.1.14.3 # st4FanSensorMonitorTable
lookups:
- source_indexes: [st4UnitIndex]
lookup: st4UnitName
- source_indexes: [st4UnitIndex, st4InputCordIndex]
lookup: st4InputCordName
drop_source_indexes: true
- source_indexes: [st4UnitIndex, st4InputCordIndex, st4LineIndex]
lookup: st4LineLabel
drop_source_indexes: true
- source_indexes: [st4UnitIndex, st4InputCordIndex, st4PhaseIndex]
lookup: st4PhaseLabel
drop_source_indexes: true
- source_indexes: [st4UnitIndex, st4InputCordIndex, st4BranchIndex]
lookup: st4BranchLabel
drop_source_indexes: true
- source_indexes: [st4UnitIndex, st4InputCordIndex, st4OutletIndex]
lookup: st4OutletName
drop_source_indexes: true
- source_indexes: [st4UnitIndex, st4AdcSensorIndex]
lookup: st4AdcSensorName
drop_source_indexes: true
- source_indexes: [st4UnitIndex, st4AdcSensorIndex, st4FanSensorIndex]
lookup: st4AdcSensorName
drop_source_indexes: true
overrides:
st4TempSensorValue:
scale: 0.1
# Palo Alto Firewalls
#
# Palo Alto MIBs can be found here:
# https://www.paloaltonetworks.com/documentation/misc/snmp-mibs.html
#
# PanOS 7.0 enterprise MIBs:
# https://www.paloaltonetworks.com/content/dam/pan/en_US/assets/zip/technical-documentation/snmp-mib-modules/PAN-MIB-MODULES-7.0.zip
#
# Tested on a Palo Alto Networks PA-3020 series firewall
#
paloalto_fw:
walk:
- hrDevice
- hrSystem
- hrStorage
- 1.3.6.1.4.1.25461.2.1.2.1 # panSys
- 1.3.6.1.4.1.25461.2.1.2.3 # panSession
- 1.3.6.1.4.1.25461.2.1.2.5 # panGlobalProtect
# Arista Networks
#
# Arista Networks MIBs can be found here: https://www.arista.com/en/support/product-documentation/arista-snmp-mibs
#
# https://www.arista.com/assets/data/docs/MIBS/ARISTA-ENTITY-SENSOR-MIB.txt
# https://www.arista.com/assets/data/docs/MIBS/ARISTA-SW-IP-FORWARDING-MIB.txt
#
# Tested on Arista DCS-7010T-48 switch
#
arista_sw:
walk:
- 1.3.6.1.2.1.25.3.3.1.2 # hrProcessorLoad
- 1.3.6.1.2.1.25.2.3.1.6 # hrStorageUsed
- 1.3.6.1.4.1.30065.3.1.1 # aristaSwFwdIp
# Synology
#
# Synology MIBs can be found here:
# http://www.synology.com/support/snmp_mib.php
# http://dedl.synology.com/download/Document/MIBGuide/Synology_MIB_File.zip
#
# Tested on RS2414rp+ NAS
#
synology:
walk:
- laNames
- laLoadInt
- ssCpuUser
- ssCpuSystem
- ssCpuIdle
- memory
- hrStorage
- 1.3.6.1.4.1.6574.1 # synoSystem
- 1.3.6.1.4.1.6574.2 # synoDisk
- 1.3.6.1.4.1.6574.3 # synoRaid
- 1.3.6.1.4.1.6574.4 # synoUPS
- 1.3.6.1.4.1.6574.5 # synologyDiskSMART
- 1.3.6.1.4.1.6574.6 # synologyService
- 1.3.6.1.4.1.6574.101 # storageIO
- 1.3.6.1.4.1.6574.102 # spaceIO
- 1.3.6.1.4.1.6574.104 # synologyiSCSILUN
lookups:
- source_indexes: [spaceIOIndex]
lookup: spaceIODevice
drop_source_indexes: true
- source_indexes: [storageIOIndex]
lookup: storageIODevice
drop_source_indexes: true
- source_indexes: [serviceInfoIndex]
lookup: serviceName
drop_source_indexes: true
- source_indexes: [diskIndex]
lookup: diskID
drop_source_indexes: true
- source_indexes: [raidIndex]
lookup: raidName
drop_source_indexes: true
- source_indexes: [laIndex]
lookup: laNames
drop_source_indexes: true
- source_indexes: [hrStorageIndex]
lookup: hrStorageDescr
drop_source_indexes: true
overrides:
diskModel:
type: DisplayString
diskSMARTAttrName:
type: DisplayString
diskSMARTAttrStatus:
type: DisplayString
diskSMARTInfoDevName:
type: DisplayString
diskType:
type: DisplayString
modelName:
type: DisplayString
raidFreeSize:
type: gauge
raidName:
type: DisplayString
raidTotalSize:
type: gauge
serialNumber:
type: DisplayString
serviceName:
type: DisplayString
version:
type: DisplayString
# DD-WRT
#
# The list of SNMP OIDs to care about for DD-WRT can be found here: https://www.dd-wrt.com/wiki/index.php/SNMP#Known_OID.C2.B4s_via_SNMP
#
# Tested on DD-WRT v3.0-r31825 (04/06/17) with an ASUS RT-AC66U
#
ddwrt:
walk:
- 1.3.6.1.2.1.25.2 # hrStorage
- 1.3.6.1.4.1.2021.4 # memory
- 1.3.6.1.4.1.2021.10.1.1 # laIndex
- 1.3.6.1.4.1.2021.10.1.2 # laNames
- 1.3.6.1.4.1.2021.10.1.5 # laLoadInt
- 1.3.6.1.4.1.2021.11 # systemStats
lookups:
- source_indexes: [laIndex]
lookup: laNames
drop_source_indexes: true
- source_indexes: [hrStorageIndex]
lookup: hrStorageDescr
drop_source_indexes: true
# Ubiquiti / AirFiber
#
# https://www.ui.com/downloads/firmwares/airfiber5X/v4.0.5/UBNT-MIB.txt
#
ubiquiti_airfiber:
walk:
- 1.3.6.1.4.1.41112.1.3 #ubntAirFiber
# Ubiquiti / AirMAX
#
# https://dl.ubnt.com/firmwares/airos-ubnt-mib/ubnt-mib.zip
#
ubiquiti_airmax:
walk:
- 1.3.6.1.4.1.41112.1.4 # ubntAirMAX
# Ubiquiti / UniFi
#
# http://dl.ubnt-ut.com/snmp/UBNT-MIB
# http://dl.ubnt-ut.com/snmp/UBNT-UniFi-MIB
#
ubiquiti_unifi:
walk:
- 1.3.6.1.4.1.41112.1.6 # ubntUniFi
lookups:
- source_indexes: [unifiVapIndex]
lookup: unifiVapName
- source_indexes: [unifiVapIndex]
lookup: unifiVapEssId
# keepalived
#
# https://github.com/acassen/keepalived/blob/v2.2.7/doc/KEEPALIVED-MIB.txt
# https://github.com/acassen/keepalived/blob/v2.2.7/doc/VRRP-MIB.txt
# https://github.com/acassen/keepalived/blob/v2.2.7/doc/VRRPv3-MIB.txt
keepalived:
walk:
- vrrpInstanceTable # Table of VRRP instances.
- vrrpSyncGroupTable # Table of sync groups.
- virtualServerGroupTable # Table of virtual server groups.
- virtualServerTable # Table of virtual servers.
- realServerTable # Table of real servers. This includes regular real servers and sorry servers.
- vrrpRouterStatsTable # Table of VRRP statistics.
- vrrpv3StatisticsTable # Table of VRRPv3 statistics.
overrides:
vrrpSyncGroupScriptMaster:
ignore: true # Non-metric display string.
vrrpSyncGroupScriptBackup:
ignore: true # Non-metric display string.
vrrpSyncGroupScriptFault:
ignore: true # Non-metric display string.
vrrpSyncGroupScript:
ignore: true # Non-metric display string.
vrrpSyncGroupScriptStop:
ignore: true # Non-metric display string.
vrrpInstanceLvsSyncDaemon:
ignore: true # Deprecated.
vrrpInstanceLvsSyncInterface:
ignore: true # Deprecated.
vrrpInstanceScriptMaster:
ignore: true # Non-metric display string.
vrrpInstanceScriptBackup:
ignore: true # Non-metric display string.
vrrpInstanceScriptFault:
ignore: true # Non-metric display string.
vrrpInstanceScriptStop:
ignore: true # Non-metric display string.
vrrpInstanceScript:
ignore: true # Non-metric display string.
vrrpInstanceScriptMstrRxLowerPri:
ignore: true # Non-metric display string.
# Kemp Technologies LoadMaster
#
# https://kemptechnologies.com/files/packages/current/LM_mibs.zip
# https://support.kemptechnologies.com/hc/en-us/articles/202375677-LoadMaster-SNMP-MIB-s
kemp_loadmaster:
walk:
- laNames
- laLoadInt
- ssCpuUser
- ssCpuSystem
- ssCpuIdle
- memory
- 1.3.6.1.4.1.12196.13.0 # VSdesc
- 1.3.6.1.4.1.12196.13.1 # VSentry
- 1.3.6.1.4.1.12196.13.2 # RSentry
lookups:
- source_indexes: [vSidx]
lookup: 1.3.6.1.4.1.12196.13.1.1.13 # vSName
overrides:
daemonState:
type: EnumAsInfo
haState:
type: EnumAsInfo
patchVersion:
type: DisplayString
rSAddrType:
type: EnumAsInfo
rSForwardingMethod:
type: DisplayString
rSIp:
type: DisplayString
rSState:
type: EnumAsInfo
vSAdaptiveMethod:
type: DisplayString
vSAddrtype:
type: EnumAsInfo
vSCheckerType:
type: DisplayString
vSIp:
type: DisplayString
vSL7cookieId:
type: DisplayString
vSL7persist:
type: DisplayString
vSName:
type: DisplayString
vSProtocol:
type: EnumAsInfo
vSSchedulingMethod:
type: DisplayString
vSState:
type: EnumAsInfo
version:
type: DisplayString
# Printer: RFC 3805
#
# https://tools.ietf.org/html/rfc3805
# https://www.iana.org/assignments/ianaprinter-mib/ianaprinter-mib.xhtml
printer_mib:
walk:
- hrPrinterStatus
- prtGeneralReset
- prtConsoleDisable
- prtGeneralPrinterName
- prtGeneralSerialNumber
- prtAlertCriticalEvents
- prtAlertAllEvents
- prtCoverStatus
- prtMarkerSuppliesDescription
- prtMarkerSuppliesLevel
- prtMarkerSuppliesMaxCapacity
- prtMarkerSuppliesType
lookups:
- source_indexes: [hrDeviceIndex, prtMarkerSuppliesIndex]
lookup: prtMarkerSuppliesType
overrides:
hrPrinterStatus:
type: EnumAsStateSet
prtGeneralReset:
type: EnumAsStateSet
prtConsoleDisable:
type: EnumAsStateSet
prtGeneralPrinterName:
type: DisplayString
prtGeneralSerialNumber:
type: DisplayString
prtCoverStatus:
type: EnumAsStateSet
prtMarkerSuppliesDescription:
type: DisplayString
# NEC IX Router
#
# https://jpn.nec.com/univerge/ix/Manual/MIB/PICO-SMI-MIB.txt
# https://jpn.nec.com/univerge/ix/Manual/MIB/PICO-SMI-ID-MIB.txt
# https://jpn.nec.com/univerge/ix/Manual/MIB/PICO-IPSEC-FLOW-MONITOR-MIB.txt
nec_ix:
walk:
- picoSystem
- picoIpSecFlowMonitorMIB
- picoExtIfMIB
- picoNetworkMonitorMIB
- picoIsdnMIB
- picoNgnMIB
- picoMobileMIB
- picoIPv4MIB
- picoIPv6MIB
# Raritan
#
# https://cdn.raritan.com/download/PX/v1.5.20/PDU-MIB.txt
# https://cdn1.raritan.com/download/src-g2/4.0.20/PDU2_MIB_4.0.20_49038.txt
raritan:
walk:
- 1.3.6.1.4.1.13742.4.1.20.2.1.7 # inletCurrent
- 1.3.6.1.4.1.13742.4.1.20.2.1.8 # inletVoltage
- 1.3.6.1.4.1.13742.4.1.20.2.1.9 # inletActivePower
- 1.3.6.1.4.1.13742.4.1.2.2.1.31 # outletWattHours
- 1.3.6.1.4.1.13742.4.1.2.2.1.3 # outletOperationalState
- 1.3.6.1.4.1.13742.4.1.2.2.1.4 # outletCurrent
- 1.3.6.1.4.1.13742.4.1.2.2.1.5 # outletMaxCurrent
- 1.3.6.1.4.1.13742.4.1.2.2.1.6 # outletVoltage
- 1.3.6.1.4.1.13742.4.1.2.2.1.7 # outletActivePower
- 1.3.6.1.4.1.13742.4.1.3.1.5 # unitCpuTemp
- 1.3.6.1.4.1.13742.6.5.5.3.1 # externalSensors
lookups:
- source_indexes: [outletIndex]
lookup: outletLabel
overrides:
outletOperationalState:
type: EnumAsStateSet
# InfraPower PDU's
#
# https://www.austin-hughes.com/wp-content/uploads/2021/05/IPD-03-S-MIB.zip
# The circuit table in the infrapower MIB is invalid as it has a table (circuitTable) nested inside another table (pduTable), and this invalid setup then confuses the generator.
infrapower_pdu:
walk:
- 1.3.6.1.4.1.34550.20.2.1.1.1.1 # pduIndex
- 1.3.6.1.4.1.34550.20.2.1.1.1.6 # pduName
- 1.3.6.1.4.1.34550.20.2.1.1.1.7 # pduLocation
- 1.3.6.1.4.1.34550.20.2.1.1.1.13 # pduMainLoadVoltage
- 1.3.6.1.4.1.34550.20.2.1.1.1.14 # pduMainLoadAmp
- 1.3.6.1.4.1.34550.20.2.1.1.1.17 # pduMainActivePower
lookups:
- source_indexes: [pduIndex]
lookup: pduName
- source_indexes: [pduIndex]
lookup: pduLocation
overrides:
pduIndex:
ignore: true # Lookup metric
pduName:
ignore: true # Lookup metric
pduLocation:
ignore: true # Lookup metric
pduMainLoadAmp:
regex_extracts:
'':
- regex: '(.*)(.)'
value: '$1.$2'
pduMainLoadVoltage:
regex_extracts:
'':
- regex: '(.*)(.)'
value: '$1.$2'
pduMainActivePower:
regex_extracts:
'':
- regex: '(\d*?)(\d{2})'
value: '0$1.$2'
- regex: '^(\d)'
value: '0.0$1'
# Liebert/Vertiv PDU's
#
# https://www.vertiv.com/en-us/support/software-download/monitoring/management-information-bases-mibs-for-liebert-products/
# https://www.vertiv.com/492204/contentassets/b00273585e0a453a9c983523e8a0d6ff/lgpmib-unix_rev16.tar
liebert_pdu:
walk:
- lgpPduTable
- lgpPduPsTable
- lgpPduPsLineTable
- lgpPduRcpTable
- lgpPduAuxSensorTable
lookups:
- source_indexes: [lgpPduEntryIndex]
lookup: lgpPduEntrySysAssignLabel
- source_indexes: [lgpPduPsEntryIndex]
lookup: lgpPduPsEntrySysAssignLabel
- source_indexes: [lgpPduRcpEntryIndex]
lookup: lgpPduRcpEntrySysAssignLabel
- source_indexes: [lgpPduAuxSensorIndex]
lookup: lgpPduAuxSensorSysAssignLabel
# Mikrotik Router
#
# http://download2.mikrotik.com/Mikrotik.mib
mikrotik:
walk:
- laIndex
- sysDescr
- host
- mikrotik
lookups:
- source_indexes: [ifIndex]
lookup: ifName
- source_indexes: [mtxrInterfaceStatsIndex]
lookup: ifName
- source_indexes: [hrStorageIndex]
lookup: hrStorageDescr
- source_indexes: [laIndex]
lookup: laNames
drop_source_indexes: true
- source_indexes: [mtxrGaugeIndex]
lookup: mtxrGaugeName
drop_source_indexes: true
- source_indexes: [mtxrNeighborIndex]
lookup: mtxrNeighborMacAddress
drop_source_indexes: true
- source_indexes: [mtxrNeighborIndex]
lookup: mtxrNeighborInterfaceID
- source_indexes: [mtxrNeighborInterfaceID]
lookup: ifName
drop_source_indexes: true
- source_indexes: [mtxrOpticalIndex]
lookup: mtxrOpticalName
- source_indexes: [mtxrPOEInterfaceIndex]
lookup: mtxrPOEName
- source_indexes: [mtxrPartitionIndex]
lookup: mtxrPartitionName
overrides:
ifName:
ignore: true # Lookup metric
ifType:
type: EnumAsInfo
# Remap enums where 1==true, 2==false to become 0==false, 1==true.
hrDiskStorageRemoveble:
scale: -1.0
offset: 2.0
# CyberPower
#
# https://www.cyberpowersystems.com/product/software/mib-files/mib-v29/
cyberpower:
walk:
- 1.3.6.1.4.1.3808.1.1.1 # ups
- 1.3.6.1.4.1.3808.1.1.4 # environmentSensor
- 1.3.6.1.4.1.3808.1.1.6 # ePDU2
#
# TP LINK EAP
# http://static.tp-link.com/EAP_Private_Mibs_1.0.zip
eap:
walk:
- 1.3.6.1.4.1.11863.10.1.1.1 # client count