> level=warn ts=2021-10-28T05:37:45.327Z caller=main.go:120 msg="NetSNMP reported parse error(s)" errors=4
You're likely missing the correct MIBs. What do you get for "generator parse_errors"? On Thu, Oct 28, 2021 at 7:51 AM Nikhil Aggarwal <[email protected]> wrote: > Hi everyone, > > Can you please help in advising what could be the issue in the my > generator.yml file. > It shows below error message. I tried to have the same generator.yml file > as per previous discussion in this group but no luck. > +++++++++++++++++++++++++++++ > > ./snmp-exporter-generator generate > > level=info ts=2021-10-28T05:37:45.301Z caller=net_snmp.go:142 msg="Loading > MIBs" from=$HOME/.snmp/mibs:/usr/share/snmp/mibs > > level=warn ts=2021-10-28T05:37:45.327Z caller=main.go:120 msg="NetSNMP > reported parse error(s)" errors=4 > > level=info ts=2021-10-28T05:37:45.348Z caller=main.go:52 msg="Generating > config for module" module=ciena_lldp_mib > > level=warn ts=2021-10-28T05:37:45.352Z caller=tree.go:354 msg="Can't > handle index type on node" node=lldpRemLocalPortNum index=lldpRemTimeMark > type=OTHER > > level=warn ts=2021-10-28T05:37:45.352Z caller=tree.go:354 msg="Can't > handle index type on node" node=lldpRemIndex index=lldpRemTimeMark > type=OTHER > > level=warn ts=2021-10-28T05:37:45.352Z caller=tree.go:354 msg="Can't > handle index type on node" node=lldpRemChassisIdSubtype > index=lldpRemTimeMark type=OTHER > > level=warn ts=2021-10-28T05:37:45.352Z caller=tree.go:354 msg="Can't > handle index type on node" node=lldpRemChassisId index=lldpRemTimeMark > type=OTHER > > level=warn ts=2021-10-28T05:37:45.352Z caller=tree.go:354 msg="Can't > handle index type on node" node=lldpRemPortIdSubtype index=lldpRemTimeMark > type=OTHER > > level=warn ts=2021-10-28T05:37:45.352Z caller=tree.go:354 msg="Can't > handle index type on node" node=lldpRemPortId index=lldpRemTimeMark > type=OTHER > > level=warn ts=2021-10-28T05:37:45.352Z caller=tree.go:354 msg="Can't > handle index type on node" node=lldpRemPortDesc index=lldpRemTimeMark > type=OTHER > > level=warn ts=2021-10-28T05:37:45.352Z caller=tree.go:354 msg="Can't > handle index type on node" node=lldpRemSysName index=lldpRemTimeMark > type=OTHER > > level=warn ts=2021-10-28T05:37:45.352Z caller=tree.go:354 msg="Can't > handle index type on node" node=lldpRemSysDesc index=lldpRemTimeMark > type=OTHER > > level=warn ts=2021-10-28T05:37:45.352Z caller=tree.go:354 msg="Can't > handle index type on node" node=lldpRemSysCapSupported > index=lldpRemTimeMark type=OTHER > > level=warn ts=2021-10-28T05:37:45.352Z caller=tree.go:354 msg="Can't > handle index type on node" node=lldpRemSysCapEnabled index=lldpRemTimeMark > type=OTHER > > level=info ts=2021-10-28T05:37:45.352Z caller=main.go:67 msg="Generated > metrics" module=ciena_lldp_mib metrics=4 > > level=info ts=2021-10-28T05:37:45.353Z caller=main.go:92 msg="Config > written" file=/lxhome/aggarwan/projects/snmp-test3/snmp.yml > > > > +++++++++++++++++++++++++++ > > cat generator.yml > > modules: > > ciena_lldp_mib: > > walk: > > - lldpLocPortTable > > - lldpRemTable > > lookups: > > auth: > > community: "xxxxxxxxxx" > > ++++++++++++++++++++++++++++++++++ > > -- > 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/32485fab-5c94-4f61-a99b-0037290d13a7n%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/32485fab-5c94-4f61-a99b-0037290d13a7n%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/CABbyFmpA6AWycv8F41v%2BA1y_k1ac_XHBg2VKWb29FF6CoYe%2B1g%40mail.gmail.com.

