-
Notifications
You must be signed in to change notification settings - Fork 632
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
Problem generating SNMP config for cIpM... metrics #1218
Comments
CISCO-IETF-IPMROUTE-MIB.txt |
Try with the latest (0.26.0) generator, it has improved error handling in the MIB parser. |
I updated the SNMP exporter to version 0.26.0, but now I see errors related to Go
I also tried generating snmp.yml without the following metrics:
and everything works as expected. However, I can't understand why there are issues specifically with these metrics. All the necessary MIB files are present (CISCO-IETF-IPMROUTE-MIB, SNMPv2-SMI, SNMPv2-CONF, SNMPv2-TC, SNMP-FRAMEWORK-MIB, IF-MIB, HCNUM-TC, INET-ADDRESS-MIB, IANA-RTPROTO-MIB, IPMROUTE-STD-MIB, CISCO-SMI). |
I also tried enabling debug mode(--log.level=debug), but I'm not sure if it's working. |
Interesting, I am able to reproduce the error. I had to find the MIB on another site as |
Host operating system: output of
uname -a
Linux 5.15.0-83-generic #92-Ubuntu SMP Mon Aug 14 09:30:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
snmp_exporter version: output of
snmp_exporter -version
0.24.1
What device/snmpwalk OID are you using?
If this is a new device, please link to the MIB(s).
https://www.circitor.fr/Mibs/Html/C/CISCO-IETF-IPMROUTE-MIB.php
What did you do that produced an error?
I am trying to generate an SNMP config to collect the following metrics:
However, when running the generator, these metrics are not added to the snmp.yml file. The logs indicate issues with handling the index type for these metrics.
my generator configuration file:
log:
What did you expect to see?
The generated snmp.yml should include the specified metrics with the correct handling of InetAddressType and InetAddress indexes.
What did you see instead?
The metrics are not added to the snmp.yml file, and the logs show warnings about missing preceding indexes.
The text was updated successfully, but these errors were encountered: