SNMP Generator: cannot find OID to walk in a specific mib

Viewed 33

I want to use the snmmp exporter for prometheus. For the Configuration of this exporter you should use the snmp generator. To use this you have to configurate a yaml file where you put in the oid you want to run. To get the some mibs i downloaded some with:

apt-get install snmp-mibs-downloader

I used some oids from those mibs and i worked totaly fine. Now i wanted to use some specific oids. So I downloaded the mib file for it and placed in the same directory where the mib files are located (/usr/share/snmp/mibs). But when i execute the generater it says:

enter image description here

I am also able to find the oid in the mib file:

enter image description here

The only strange thing is that the mib file is shown as an executable (is green highlighted in the -ls command and has a *), and the other mib files are not.

I am using Ubuntu 22.04.01 and the snmp_generator V 0.20. I Hope someone has a solution for it.

0 Answers
Related