mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add HSRP Sensor support for IOSXR (#15821)
* Create iosxr.yaml * Add files via upload * Add files via upload
This commit is contained in:
19
includes/definitions/discovery/iosxr.yaml
Normal file
19
includes/definitions/discovery/iosxr.yaml
Normal 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
24850
tests/data/iosxr_asr9904.json
Normal file
File diff suppressed because it is too large
Load Diff
1369
tests/snmpsim/iosxr_asr9904.snmprec
Normal file
1369
tests/snmpsim/iosxr_asr9904.snmprec
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user