Where are you MIBs installed? If you're using the Makefile to do "make
mibs", you will need to adjust the environment variable MIBDIRS.

Something like this:

make mibs
export MIBDIRS=mibs
./generator parse_errors
./generator generate


On Mon, Apr 19, 2021 at 11:38 AM 'Thorben Köller' via Prometheus Users <
[email protected]> wrote:

>
> Hi all,
>
> I am setting up a monitoring system using prometheus. This is mostly
> working well.
> But I do have a problem with the setup of the snmp devices.
>
> I have installed the snmp_exporter and built the matching generator. When
> I try to generate a snmp.yml I do neither get a file nor an error.
>
> I only get this message (or similar):
> level=info ts=2021-04-16T13:32:00.891Z caller=net_snmp.go:144 msg="Loading
> MIBs"
> from=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf
>
> Can anyone point me in the right direction to fix this? I have found
> nothing so far.
>
> Regards
> Thorben
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/8c69852c-8bf1-4cc4-88c8-81694bac0ec1n%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/8c69852c-8bf1-4cc4-88c8-81694bac0ec1n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CABbyFmqZ32bXuj5OoA6SxFEom%2BZyLUcRfiObpGqym3cQUR9ktA%40mail.gmail.com.

Reply via email to