Skip to content
New issue

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

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

Already on GitHub? # to your account

fix mib parse error #864

Conversation

bastischubert
Copy link
Member

Update Cyberpower MIB Version to 2.11 as there is an error in 2.10 which leads to parse error by net-snmp

generator git:(bastischubert/add-geist-mib) ✗ ./generator parse_errors
ts=2023-04-06T14:31:42.610Z caller=net_snmp.go:161 level=info msg="Loading MIBs" from=mibs
ts=2023-04-06T14:31:42.911Z caller=main.go:119 level=warn msg="NetSNMP reported parse error(s)" errors=2
No log handling enabled - using stderr logging
Did not find 'DisplayString' in module #-1 (mibs/CyberPower.MIB)

Signed-off-by: Sebastian Schubert <basti@schubert.digital>
@bastischubert bastischubert marked this pull request as draft April 6, 2023 15:22
@SuperQ
Copy link
Member

SuperQ commented Apr 7, 2023

Looks good, but you need to generate and update the snmp.yml file.

@bastischubert
Copy link
Member Author

unfortunately the error still exists even after the version bump. need to figure out why it worked once and now errors again 😕

@SuperQ
Copy link
Member

SuperQ commented May 2, 2023

We actually worked around the MIB error in #868

@bastischubert
Copy link
Member Author

fixed with #868

@bastischubert bastischubert deleted the bastischubert/fix-mib-parse-error branch May 2, 2023 09:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants