Skip to content

Commit 82548fe

Browse files
toekelmurrant
andauthored
Update SRLinux os_discovery to fix polling issues (librenms#18465)
* Update SRLinux os_discovery to fix polling issues The discovery worked fine, but when polling wrong queries were being used. These changes fixes the polling issues. * Update srlinux.json Fix pipeline missing test info * Update srlinux.snmprec Update to fix pipeline missing test data * Delete tests/data/srlinux.json Cant overwrite changes. need to recreate * Create srlinux.json * remove unrelated changes * revert snmprec * Update test data --------- Co-authored-by: Tony Murray <[email protected]>
1 parent 77244c1 commit 82548fe

File tree

2 files changed

+54862
-55640
lines changed

2 files changed

+54862
-55640
lines changed

resources/definitions/os_discovery/srlinux.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ modules:
4040
-
4141
oid: tBgpPeerNgTable
4242
value: tBgpPeerNgConnState
43-
num_oid: '.1.3.6.1.4.1.6527.3.1.2.14.4.7.{{ $index }}'
43+
num_oid: '.1.3.6.1.4.1.6527.3.1.2.14.4.7.1.59.{{ $index }}'
4444
group: 'BGP Peer State'
4545
descr: '{{ $tBgpPeerNgDescription }}'
4646
states:
@@ -59,7 +59,7 @@ modules:
5959
-
6060
oid: tBgpPeerNgTable
6161
value: tBgpPeerNgConnState
62-
num_oid: '.1.3.6.1.4.1.6527.3.1.2.14.4.7.{{ $index }}'
62+
num_oid: '.1.3.6.1.4.1.6527.3.1.2.14.4.7.1.59.{{ $index }}'
6363
group: 'BGP Peer State'
6464
descr: '{{ $subindex3 }}.{{ $subindex4 }}.{{ $subindex5 }}.{{ $subindex6 }} - {{ $tBgpPeerNgPeerGroup }}'
6565
states:

0 commit comments

Comments
 (0)