You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO[0000] Loading MIBs from mibs source="net_snmp.go:141"
WARN[0000] NetSNMP reported 1 parse error(s) source="main.go:104"
INFO[0000] Generating config for module if_mib source="main.go:49"
WARN[0000] Could not find metric 'ifType' to override type source="tree.go:264"
FATA[0000] Cannot find oid 'ifXTable' to walk source="tree.go:290"
Since i was unsure if the builtin snmp binaries did provide these MIBs, i downloaded them separately from the URL specified above and mounted the host directory containing the MIBs to /root/.snmp/mibs with the same result.
The text was updated successfully, but these errors were encountered:
It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.
The link no longer exists, and I have exactly the same issue. Could you elaborate in a bit more detail how did you generate the OID aliases from the MIB files?
Host operating system: output of
uname -a
Linux naugol 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux
running with docker
snmp_exporter version: output of
snmp_exporter -version
No error in smp_exporter, but in generator. Latest generator commit is a622a79.
What device/snmpwalk OID are you using?
Default IF-MIB interfaces table with ifIndex. Tried with the buildin MIB, and with http://www.net-snmp.org/docs/mibs/IF-MIB.txt
What did you do that produced an error?
generator.yml:
(as copied from the example generator.yml)
Run the generator with the following command:
What did you expect to see?
Generator runs and creates snmp_exporter config.
What did you see instead?
Since i was unsure if the builtin snmp binaries did provide these MIBs, i downloaded them separately from the URL specified above and mounted the host directory containing the MIBs to
/root/.snmp/mibs
with the same result.The text was updated successfully, but these errors were encountered: