./generator generate error

74 views
Skip to first unread message

Hoai Thanh Do

unread,
Oct 5, 2020, 4:33:18 AM10/5/20
to Prometheus Users
Hi bros, 

When i try to run command ./generator generate . having error as below :

level=info ts=2020-10-05T08:26:08.670Z caller=net_snmp.go:142 msg="Loading MIBs" from=$HOME/.snmp/mibs:/usr/share/snmp/mibs
level=warn ts=2020-10-05T08:26:11.073Z caller=main.go:120 msg="NetSNMP reported parse error(s)" errors=546
level=warn ts=2020-10-05T08:26:12.038Z caller=tree.go:83 msg="Can't find augmenting node" augments=tokenRingMLStatsEntry node=tokenRingMLStats2Entry
level=warn ts=2020-10-05T08:26:12.038Z caller=tree.go:83 msg="Can't find augmenting node" augments=tokenRingPStatsEntry node=tokenRingPStats2Entry
level=warn ts=2020-10-05T08:26:12.041Z caller=tree.go:83 msg="Can't find augmenting node" augments=rptrPortEntry node=ciscoRptrPortEntry

would you please help me to explain this issue ? 
Many thanks !

Brian Candler

unread,
Oct 5, 2020, 5:06:15 AM10/5/20
to Prometheus Users
> NetSNMP reported parse error(s)" errors=546

Run:
    ./generator parse_errors
to see the errors.

It probably means you are missing the MIB files you need.  Some MIBs depend on other MIBs.  You may need the top-level standard MIBs too (Ubuntu/Debian: "apt-get install snmp-mibs-downloader")

Reply all
Reply to author
Forward
0 new messages