-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Use snmp mibs copy while mibs.snmplabs.com is down #7835
Conversation
Codecov Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving, but it might be interesting to consider the small update from my comment.
reader = HttpReader('mibs.snmplabs.com', 80, '/asn1/@mib@') | ||
# As mibs.snmplabs.com is down, use a copy | ||
# https://github.com/etingof/pysnmp/issues/376 | ||
reader = HttpReader('raw.githubusercontent.com', 80, '/projx/snmp-mibs/master/@mib@') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we have an option to override this value, instead of hardcoded URL? By default that would remain mibs.snmplabs.com
but we could override it using:
ddev meta snmp translate-profile --source-url=raw.githubusercontent.com ...
3697666
3697666
to
6bf7496
Compare
6bf7496
to
d870352
Compare
d870352
to
90ad3cf
Compare
* use snmp mibs copy while mibs.snmplabs.com is down * add option to set custom MIB source in ddev translate profile d4c6575
What does this PR do?
mibs.snmplabs.com has been down since late August, as reported in etingof/pysnmp#376. In the meantime a copy has been provided at https://github.com/projx/snmp-mibs. This PR changes the target mibs source url
We might also create our copy and point to our mibs - not sure there could be security concerns
Motivation
Fix ddev mibs resolution
Review checklist (to be filled by reviewers)
changelog/
andintegration/
labels attached