Files
librenms-librenms/includes/definitions/discovery/iosxe.yaml
Tozz 8429cba9f5 Add HSRP state sensors for Cisco IOSXE on L3 switches (#15823)
* Add IOSXE HSRP state sensor support

* C3850 SNMPsim

* IOSXE Test data JSON
2024-02-12 15:44:40 -06:00

55 lines
2.4 KiB
YAML

mib: POWER-ETHERNET-MIB:CISCO-POWER-ETHERNET-EXT-MIB:CISCO-HSRP-MIB
modules:
sensors:
power:
data:
-
oid: pethMainPseTable
value: pethMainPsePower
num_oid: '.1.3.6.1.2.1.105.1.3.1.1.2.{{ $index }}'
index: 'pethMainPsePower.{{ $index }}'
group: "PoE"
descr: "PoE Budget Total - ID {{ $index }}"
-
oid: cpeExtMainPseTable
value: cpeExtMainPseUsedPower
divisor: 1000
num_oid: '.1.3.6.1.4.1.9.9.402.1.3.1.4.{{ $index }}'
index: 'cpeExtMainPseUsedPower.{{ $index }}'
group: "PoE"
descr: "PoE Budget Consumed - {{ $cpeExtMainPseDescr }}"
-
oid: cpeExtMainPseTable
value: cpeExtMainPseRemainingPower
divisor: 1000
num_oid: '.1.3.6.1.4.1.9.9.402.1.3.1.5.{{ $index }}'
index: 'cpeExtMainPseRemainingPower.{{ $index }}'
low_limit: 0
group: "PoE"
descr: "PoE Budget Remaining - {{ $cpeExtMainPseDescr }}"
count:
data:
-
oid: cpeExtPdStatistics
value: cpeExtPdStatsTotalDevices
num_oid: '.1.3.6.1.4.1.9.9.402.1.4.1.{{ $index }}'
group: "PoE"
descr: "PoE Devices Connected"
state:
data:
-
oid: cHsrpGrpTable
value: cHsrpGrpStandbyState
num_oid: '.1.3.6.1.4.1.9.9.106.1.2.1.1.15.{{ $index }}'
descr: 'HSRP Status {{ $cHsrpGrpVirtualIpAddr }}'
index: 'cHsrpGrpStandbyState.{{ $index }}'
group: 'HSRP'
states:
- { value: 1, generic: 2, graph: 0, descr: 'initial' }
- { value: 2, generic: 2, graph: 0, descr: 'learn' }
- { value: 3, generic: 1, graph: 0, descr: 'listen' }
- { value: 4, generic: 1, graph: 0, descr: 'speak' }
- { value: 5, generic: 0, graph: 0, descr: 'standby' }
- { value: 6, generic: 0, graph: 0, descr: 'active' }