Without a copy of the mibs to debug, it's hard to say what's wrong. Are these MIBs available publicly?
On Mon, May 18, 2020 at 8:38 PM Denis Trunov <[email protected]> wrote: > Oh, parse_errors key occurs to be very useful! :) > I get many errors like > { (is a reserved word): At line 25 in ./mibs/vega/CentraController.mib > 2 (is a reserved word): At line 25 in ./mibs/vega/CentraController.mib > Expected "(" (_): At line 91 in ./mibs/vega/CentraController.mib > Seems to be that manufacturer's MIB have a lot of errors. MIBbrowser maybe > more errors tolerant. But I even can not imagine what to do with this. :( > > > понедельник, 18 мая 2020 г., 21:09:08 UTC+3 пользователь Ben Kochie > написал: >> >> You're getting 584 NetSNMP parse errors, there's a generator parse error >> output option that will probably tell you what's up. >> >> On Mon, May 18, 2020 at 7:45 PM 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. >>> >>> -- >>> 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/ceaceaac-05f7-4bad-9c47-2ff44ceac182%40googlegroups.com >>> <https://groups.google.com/d/msgid/prometheus-users/ceaceaac-05f7-4bad-9c47-2ff44ceac182%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/8e9028a7-039e-4512-9eb6-9f39c706b1bd%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/8e9028a7-039e-4512-9eb6-9f39c706b1bd%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/CABbyFmpH5XaY57mojL92%3DLdHQ3o2YKcYTKnXm%3DZRcbjep%3DngsA%40mail.gmail.com.

