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