Add HSRP Sensor support for IOSXR (#15821)

* Create iosxr.yaml

* Add files via upload

* Add files via upload
This commit is contained in:
Justin Lentz
2024-02-13 15:50:27 -06:00
committed by GitHub
parent 48b29db423
commit 95cc27e696
3 changed files with 26238 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
mib: CISCO-HSRP-MIB
modules:
sensors:
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' }

24850
tests/data/iosxr_asr9904.json Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff