mvoity
9 January 2019 18:26
#1
I have a ASR9001 w 6.3.3 code.
I removed 2 BGP sessions from the router, after doing a rediscover, librenms still shows them as down and in “state”
With out having to delete the device and starting over. Ideas on how to make them go away?
in the Pic Session 1 and session 3 have been deleted from router.
Thanks
-Mike
Oddly enough I have the opposite issue with a Juniper SRX. I’ve added a BGP session but LibreNMS won’t discover it.
mvoity
11 January 2019 19:55
#3
Hmmm that is really odd.
Can someone from the team replay?
mvoity
15 January 2019 14:21
#4
@murrant Can I get you to chime in?
-Mike
delete them from the database.
mvoity
15 January 2019 15:00
#6
@murrant
Thanks for the reply,
What would I delete from the database? The device or the BGP entries? if the BGP entries, do you have a procedure?
-Mike
mvoity
17 January 2019 15:16
#7
@murrant
In MySQL, If I delete the peer from the table “bgpPeers” will that break anything?
-Mike
No, it will just remove the peer.
mvoity
17 January 2019 16:41
#9
@murrant
Thank you . Much better now.
louis
6 November 2019 17:34
#10
I think it would be better to mark bgp session as deleted in database or automatically remove it if it is does not appear anymore in snmp. What do you think ?
I am going to do a pull request for this issue.
our db infrastructure supports soft deletes, but we don’t use it anywhere…
louis
12 November 2019 14:25
#12
The peer is deleted after the following discovery. I don’t have the issue.
No need to fix