The MIBs are all in /usr/local/share/snmp/mibs. Reading the info that I get 
as normal user this should be the place that gets searched.
I have to use MIBs that are not implied in the make mibs command though.

[email protected] schrieb am Montag, 19. April 2021 um 12:42:47 UTC+2:

> 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/312f0c3c-661f-4f76-9b23-96119246ff65n%40googlegroups.com.

Reply via email to