The number of BGP peers for Nokia router increases without bound

I have an odd problem we are seeing with Nokia Routers, 7750 SR-2 with TiMOS OS.

The number of BGPpeers reported by libreNMS is not the number reported by the router: in the router’s UI. The router itself reports 166 bgpPeers. LibreNMS reports 311 for this same router.

But this problem grows with time. I recently deleted all the rows in the bgpPeers table for this device. At first, the polling returned the correct number of peers. But after a few days the number grew to 311.

We have other Nokia routers where librenms reports 4000+ 5000+ peers because I believe a bug is creating rows the bgpPeers table but somehow not removing the stale peer rows. Yet the router itself only reports about 150-200 peers, i.e. there are thousands of incorrect/stale rows in the bgpPeers table.

Output of validate.php

$ ./validate.php
==================================
Component | Version
--------- | -------
LibreNMS  | 21.6.0
DB Schema | 2021_25_01_0127_create_isis_adjacencies_table (210)
PHP       | 7.3.29-1~deb10u1
Python    | 3.7.3
MySQL     | 10.3.29-MariaDB-0+deb10u1
RRDTool   | 1.7.1
SNMP      | NET-SNMP 5.7.3
====================================

[OK]    Composer Version: 2.1.5
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database schema correct
[INFO]  Detected Dispatcher Service
[FAIL]  Dispatcher service has not reported stats within the last poller window
[WARN]  Your local git contains modified files, this could prevent automatic updates.
        [FIX]: 
        You can fix this with ./scripts/github-remove
        Modified Files:
         rrd/.gitignore

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.