Advertisement
G0nz0uk

snmp123s

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