Advertisement
G0nz0uk

generatorv1

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