Advertisement
G0nz0uk

generator1.yaml

Mar 26th, 2024 (edited)
644
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.91 KB | None | 0 0
  1. ---
  2. auths:
  3.   cisco_v2:
  4.     version: 2
  5.     community: public
  6.   aruba_v2:
  7.     version: 2
  8.     community: public
  9.   extreme_v2:
  10.     version: 2
  11.     community: public
  12.  
  13. modules:
  14.  # Default IF-MIB interfaces table with ifIndex.
  15.   if_mib:
  16.     walk: [sysName, sysUpTime, interfaces, ifXTable]
  17.     lookups:
  18.       - source_indexes: [ifIndex]
  19.         lookup: ifAlias
  20.       - source_indexes: [ifIndex]
  21.         # Uis OID to avoid conflict with PaloAlto PAN-COMMON-MIB.
  22.         lookup: 1.3.6.1.2.1.2.2.1.2 # ifDescr
  23.       - source_indexes: [ifIndex]
  24.         # Use OID to avoid conflict with Netscaler NS-ROOT-MIB.
  25.         lookup: 1.3.6.1.2.1.31.1.1.1.1 # ifName
  26.     overrides:
  27.       ifAlias:
  28.         ignore: true # Lookup metric
  29.       ifDescr:
  30.         ignore: true # Lookup metric
  31.       ifName:
  32.         ignore: true # Lookup metric
  33.       ifType:
  34.         type: EnumAsInfo
  35.       sysName:
  36.         type: DisplayString
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement