On Mon, 18 May 2020 at 18:45, Denis Trunov <[email protected]> wrote:

> Hi,
> I have as issue with generating snmp.yml file with generator:
> MIBbrower from ireasoning.com <http://www.ireasoning.com/> can see all
> requester information from loaded MIBs with no problem:
> [image: snmp-browser-vega.PNG]
> If I try to make very basic generator.yml file
>
> modules:
>   snell:
>     walk:
>       - 1.3.6.1.4.1.6419.1.1.2.10.74 # controllerName
>
>     version: 2
>     auth:
>       community: public
>
> and try to generate snmp.yml file with generator I get error message that
> it can not find OID:
>
> ./generator --log.level=debug generate
> ./mibs/vega
> level=info ts=2020-05-18T17:40:03.815Z caller=net_snmp.go:142 msg="Loading
> MIBs" from=./mibs/vega
> level=warn ts=2020-05-18T17:40:03.823Z caller=main.go:120 msg="NetSNMP
> reported parse error(s)" errors=584
> level=info ts=2020-05-18T17:40:03.824Z caller=main.go:52 msg="Generating
> config for module" module=snell
> level=error ts=2020-05-18T17:40:03.824Z caller=main.go:130 msg="Error
> generating config netsnmp" err="cannot find oid
> '1.3.6.1.4.1.6419.1.1.2.10.74' to walk"
> Makefile:5: recipe for target 'generate' failed
> make: *** [generate] Error 1
>
> All required files are available for the generator.
>

The error would indicate otherwise, and that's also quite a few parse
errors. Make sure all your MIBs are present in that directory.

-- 
Brian Brazil
www.robustperception.io

-- 
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/CAHJKeLqtNVUw7z7EkNZXBTpYeX6RT0Qg9FFHhU9WLzGMoF9tbw%40mail.gmail.com.

Reply via email to