Advertisement
G0nz0uk

gen45

Jan 3rd, 2025 (edited)
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.55 KB | None | 0 0
  1. auths:
  2.   cisco_v2:
  3.     version: 2
  4.     community: transm1t!
  5. modules:
  6.   cisco_metrics:
  7.     walk:
  8.      - cpmCPUTotalTable
  9.       - ciscoMemoryPoolTable
  10.       - ciscoEnvMonTemperatureStatusTable
  11.       - ciscoEnvMonFanStatusTable
  12.       - ciscoEnvMonSupplyStatusTable
  13.       - sysUpTime
  14.       - sysLocation
  15.       - sysName
  16.       - sysContact
  17.       - interfaces
  18.       - ifXTable
  19.     lookups:
  20.     - source_indexes: [ifIndex]
  21.       lookup: ifAlias
  22.     - source_indexes: [ifIndex]
  23.       # Uis OID to avoid conflict with PaloAlto PAN-COMMON-MIB.
  24.       lookup: 1.3.6.1.2.1.2.2.1.2 # ifDescr
  25.     - source_indexes: [ifIndex]
  26.       # Use OID to avoid conflict with Netscaler NS-ROOT-MIB.
  27.       lookup: 1.3.6.1.2.1.31.1.1.1.1 # ifName
  28.     overrides:
  29.       ifAlias:
  30.         ignore: true # Lookup metric
  31.       ifDescr:
  32.         ignore: true # Lookup metric
  33.       ifName:
  34.         ignore: true # Lookup metric
  35.       ifOperStatus:
  36.         type: EnumAsStateSet
  37.       ifAdminStatus:
  38.         type: EnumAsStateSet
  39.       entSensorType:
  40.         type: EnumAsInfo
  41.       entSensorScale:
  42.         type: EnumAsInfo
  43.       entSensorStatus:
  44.         type: EnumAsStateSet
  45.       ciscoEnvMonVoltageState:
  46.         type: EnumAsStateSet
  47.       ciscoEnvMonTemperatureState:
  48.         type: EnumAsStateSet
  49.       ciscoEnvMonFanState:
  50.         type: EnumAsStateSet
  51.       ciscoEnvMonSupplyState:
  52.         type: EnumAsStateSet
  53.       entPhysicalClass:
  54.         type: EnumAsInfo
  55.       entPhysicalIsFRU:
  56.         type: EnumAsStateSet
  57.       ciscoMemoryPoolValid:
  58.         type: EnumAsStateSet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement