generetaor parse_errors gives me the same output as generate.

[email protected] schrieb am Freitag, 23. April 2021 um 12:09:51 UTC+2:

> Did you run "generator parse_errors" to validate parsing of all MIBs?
>
> On Fri, Apr 23, 2021 at 10:38 AM 'Thorben Köller' via Prometheus Users <
> [email protected]> wrote:
>
>> Update: I would rule out any significant problems with the MIBs. I have 
>> once more rechecked that all required MIBs are present with fitting names 
>> and snmptranslate works fine for "non standard" MIBs.
>> Do you have another idea, what I could check?
>>
>> Thorben Köller schrieb am Freitag, 23. April 2021 um 08:00:53 UTC+2:
>>
>>> Ok, I have made no progress so far (copied the files to relevant 
>>> directories). But just for clarification: this is rather a problem with the 
>>> MIBs than the snmp exporter generator, isn't it?
>>>
>>> [email protected] schrieb am Montag, 19. April 2021 um 14:44:32 UTC+2:
>>>
>>>> As you can see by the original command output, you can specify multiple 
>>>> directories in the MIBDIRS var, similar to how you would use the PATH env.
>>>>
>>>> Your system default appears to be 
>>>> MIBDIRS=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf
>>>>
>>>> On Mon, Apr 19, 2021 at 1:49 PM 'Thorben Köller' via Prometheus Users <
>>>> [email protected]> wrote:
>>>>
>>>>> 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
>>>>>  
>>>>> <https://groups.google.com/d/msgid/prometheus-users/312f0c3c-661f-4f76-9b23-96119246ff65n%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/f8733c25-1aae-4a6b-a93d-d572317c700an%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/f8733c25-1aae-4a6b-a93d-d572317c700an%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/3b3d3f10-b8ff-412e-a059-cd877b659518n%40googlegroups.com.

Reply via email to