Debian jessie - stretch upgrade - All BGP sessions reported down

Hello

Recently I’ve performed the upgrade from Debian Jessie to Debian Stretch because I wanted to integrate oxidized in LibreNMS.

Before the Debian upgrade, my BGP sessions were reporting their status correctly. After the upgrade, all my BGP sessions are reported with state stop / idle even though they are all establised on my routers.
I’ve had a look at my database, and it seems these values are stored in the table bgpPeers in the fields bgpPeerState and bgpPeerAdminStatus. I’ve had a look at discovery.php and poller.php but I can’t seem to find an update of these fields in the output.

root@LibreNMS:/opt/librenms# ./validate.php

Component Version
LibreNMS 1.33-280-g12373d0f6
DB Schema 226
PHP 7.0.19-1
MySQL 10.1.26-MariaDB-0+deb9u1
RRDTool 1.6.0
SNMP NET-SNMP 5.7.3

====================================

[OK] Database connection successful
[OK] Database schema correct
root@LibreNMS:/opt/librenms#

How can I fix this? Which script should update this table?

Regards
Roel

Hi Roel,

I believe we have found the cause for this bug.
Hopefully a fix will be merged later this evening.

Thanks for the feedback! I’ll wait for the fix then!

Should be fixed in the master branch now, sorry for the trouble caused.