Skip to content

fix db delete on cisco-vrf-lite discovery#13823

Merged
murrant merged 1 commit intolibrenms:masterfrom
lpailhas:fixciscovrfdelete
Mar 8, 2022
Merged

fix db delete on cisco-vrf-lite discovery#13823
murrant merged 1 commit intolibrenms:masterfrom
lpailhas:fixciscovrfdelete

Conversation

@lpailhas
Copy link
Copy Markdown
Contributor

@lpailhas lpailhas commented Mar 2, 2022

Vrf are not correctly delete from the database correctly when you removed an vrf from cisco snmp-server context.
This causing very high discovery polling time as he still trying to poll old vrf context et get some timeout.

tested on cisco nxos and snmpv3 configuration.

DO NOT DELETE THE UNDERLYING TEXT

Please note

Please read this information carefully. You can run ./lnms dev:check to check your code before submitting.

  • Have you followed our code guidelines?
  • If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
  • If my Pull Request makes discovery/polling/yaml changes, I have added/updated test data.

Testers

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id>, i.e ./scripts/github-apply 5926
After you are done testing, you can remove the changes with ./scripts/github-remove. If there are schema changes, you can ask on discord how to revert.

@lpailhas lpailhas force-pushed the fixciscovrfdelete branch from 589b5ff to 8abfea2 Compare March 2, 2022 14:59
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 2, 2022

CLA assistant check
All committers have signed the CLA.

@lpailhas lpailhas force-pushed the fixciscovrfdelete branch 2 times, most recently from 96d1782 to 6dd940f Compare March 2, 2022 15:21
@lpailhas lpailhas force-pushed the fixciscovrfdelete branch from 6dd940f to 08f3b21 Compare March 2, 2022 15:29
@Jellyfrog Jellyfrog added Bug 🕷️ Device 🖥️ New or added device support labels Mar 6, 2022
@murrant murrant merged commit a04f4bc into librenms:master Mar 8, 2022
@librenms-bot
Copy link
Copy Markdown

This pull request has been mentioned on LibreNMS Community. There might be relevant details there:

https://community.librenms.org/t/22-3-0-changelog/18403/1

jerji pushed a commit to Beanfield/librenms that referenced this pull request Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug 🕷️ Device 🖥️ New or added device support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants