Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SNMPv3 support to navsnmp command #2725

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

lunkwill42
Copy link
Member

The navsnmp command needed to be able to output NET-SNMP command line parameters for SNMPv3 profiles too. Slightly restructured the code, since outputting SNMPv3 arguments is slightly more complex that just outputting a community string :)

Closes #2724

Copy link

github-actions bot commented Nov 10, 2023

Test results

     12 files       12 suites   15m 46s ⏱️
3 228 tests 3 228 ✔️ 0 💤 0
9 159 runs  9 159 ✔️ 0 💤 0

Results for commit d156f91.

♻️ This comment has been updated with latest results.

bin/navsnmp Show resolved Hide resolved
@lunkwill42 lunkwill42 force-pushed the feature/snmpv3-navsnmp branch from bec2c02 to b9a8398 Compare November 13, 2023 13:21
@lunkwill42 lunkwill42 changed the base branch from snmpv3-synchronous to master November 13, 2023 13:21
The navsnmp command needed to be able to output NET-SNMP command line
parameters for SNMPv3 profiles too.  Slightly restructured the code,
since outputting SNMPv3 arguments is slightly more complex that just
outputting a community string :)
As suggested in code review, this adds an actual docstring to the
script, and reuses the docstring as the ArgumentParser description.
@lunkwill42 lunkwill42 force-pushed the feature/snmpv3-navsnmp branch from b9a8398 to d156f91 Compare November 13, 2023 13:50
Copy link

sonarcloud bot commented Nov 13, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@lunkwill42 lunkwill42 requested a review from hmpf November 13, 2023 13:54
Copy link

codecov bot commented Nov 13, 2023

Codecov Report

Merging #2725 (d156f91) into master (0388823) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2725   +/-   ##
=======================================
  Coverage   55.32%   55.32%           
=======================================
  Files         567      567           
  Lines       41052    41052           
=======================================
  Hits        22713    22713           
  Misses      18339    18339           

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@lunkwill42 lunkwill42 merged commit cf0c417 into Uninett:master Nov 16, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update the navsnmp command line program to support SNMPv3 profiles
3 participants