Files are 100% where: ls -al ./mibs/vega/ total 300 drwxrwxr-x 2 bmd bmd 4096 May 18 18:37 . drwxrwxr-x 6 bmd bmd 131072 May 18 18:37 .. -rw-rw-r-- 1 bmd bmd 4931 Nov 19 2018 Alarm.mib -rw-rw-r-- 1 bmd bmd 4431 Nov 19 2018 CentraController.mib -rw-rw-r-- 1 bmd bmd 16486 Nov 19 2018 Config2450Device.mib -rw-rw-r-- 1 bmd bmd 6179 Nov 19 2018 Control2450Device.mib -rw-rw-r-- 1 bmd bmd 68510 Nov 19 2018 LocalRouter.mib -rw-rw-r-- 1 bmd bmd 1513 Nov 19 2018 PROBEL-COMMON.mib -rw-rw-r-- 1 bmd bmd 46748 Nov 19 2018 RouterDevice.mib
понедельник, 18 мая 2020 г., 21:07:01 UTC+3 пользователь Brian Brazil написал: > > On Mon, 18 May 2020 at 18:45, Denis Trunov <[email protected] > <javascript:>> 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/8acdac77-21bf-4d5d-8192-b5486abb966f%40googlegroups.com.

