[Bug 271833] snmp_exporter generator is broken with provided generator.yml

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 05 Jun 2023 01:02:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271833

--- Comment #1 from shatilov18@gmail.com ---
Error experienced:

snmp_exporter_generator generate --log.level="debug"

level=info ts=2023-06-05T00:10:11.037Z caller=net_snmp.go:144 msg="Loading
MIBs" from=$HOME/.snmp/mibs:/usr/local/share/snmp/mibs
level=error ts=2023-06-05T00:10:11.095Z caller=main.go:130 msg="Error
generating config netsnmp" err="error parsing yml config: yaml: unmarshal
errors:\n  line9: field old_index not found in type main.Lookup\n  line 10:
field new_index not found in type main.Lookup\n  line 15: field old_index not
found in type main.Lookup\n  line 16: field new_index not found in type
main.Lookup\n  line 21: field old_index not found in type main.Lookup\n  line
23: field new_index not found in type main.Lookup\n..."

-- 
You are receiving this mail because:
You are the assignee for the bug.