You forgot to attach your generator config.

On Thu, Jul 16, 2020, 09:08 Linkoid01 <[email protected]> wrote:

> Good day,
>
> I am having issues to generate the snmp.yml file using the generator for a
> private MIB from AVTech Room Alert 32E device.
> The MIB file has been copied over and I am able to use it using snmpwalk.
>
>
> Please see below generator error. Please note that I have tried multiple
> oid found with ManageEngine MIB Browser by opening the MIB file in question.
>
>> ./generator generate
>>
>> level=info ts=2020-07-16T06:55:09.662Z caller=net_snmp.go:142
>>> msg="Loading MIBs"
>>> from=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
>>
>> level=warn ts=2020-07-16T06:55:09.821Z caller=main.go:120 msg="NetSNMP
>>> reported parse error(s)" errors=1
>>
>> level=info ts=2020-07-16T06:55:10.003Z caller=main.go:52 msg="Generating
>>> config for module" module=ROOMALERT32E-MIB
>>
>> level=error ts=2020-07-16T06:55:10.047Z caller=main.go:130 msg="Error
>>> generating config netsnmp" err="cannot find oid
>>> '.1.3.6.1.4.1.20916.1.8.1.2.1.1' to walk"
>>
>>
>  However when I perform a simple snmpwalk for that specific oid it
> resolves just fine:
>
> snmpwalk -v 1 -c public 172.18.232.17 .1.3.6.1.4.1.20916.1.8.1.2.1.1
>>
>> ROOMALERT32E-MIB::digital-sen1-1.0 = INTEGER: 2750
>>
>>
> OS is Debian
>
> I am a novice at SNMP so am not sure what am I missing here.
> Any advice is greatly appreciated.
>
> --
> 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/83ad6dbc-0f11-4433-88d5-d53f64e15b61o%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/83ad6dbc-0f11-4433-88d5-d53f64e15b61o%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/CABbyFmoYePqX-bv0nYYJGsD3MwJ9jn5JOSPCj59Y34kr%3DeFYuQ%40mail.gmail.com.

Reply via email to