Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2023 01:02:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271833] snmp_exporter generator is broken with provided generator.yml
Message-ID:  <bug-271833-7788-C2gjiPGxJh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271833-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271833-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271833

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

snmp_exporter_generator generate --log.level=3D"debug"

level=3Dinfo ts=3D2023-06-05T00:10:11.037Z caller=3Dnet_snmp.go:144 msg=3D"=
Loading
MIBs" from=3D$HOME/.snmp/mibs:/usr/local/share/snmp/mibs
level=3Derror ts=3D2023-06-05T00:10:11.095Z caller=3Dmain.go:130 msg=3D"Err=
or
generating config netsnmp" err=3D"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 n=
ot
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  li=
ne
23: field new_index not found in type main.Lookup\n..."

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271833-7788-C2gjiPGxJh>