[Bug 271833] snmp_exporter generator is broken with provided generator.yml
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271833] snmp_exporter generator is broken with provided generator.yml"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271833] sysutils/snmp_exporter generator: provided generator.yml doesn't work due to old syntax"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271833] sysutils/snmp_exporter generator: provided generator.yml doesn't work due to old syntax"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jun 2023 00:57:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271833 Bug ID: 271833 Summary: snmp_exporter generator is broken with provided generator.yml Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: shatilov18@gmail.com https://cgit.freebsd.org/ports/commit/sysutils/snmp_exporter Provided generator.yml generator.yml.sample have old syntax and don't compile into snmp.yml when running `snmp_exporter_generator generate -o "/usr/local/etc/snmp_exporter/snmp.yml"` I was able to resolve it locally by changing fields. old_index must become `source_indexes: [...]`. new_index must be changed to `lookup:`. However it's probably best just to copy example generator.yml from upstream git: https://github.com/prometheus/snmp_exporter/blob/v0.20.0/generator/generator.yml -- You are receiving this mail because: You are the assignee for the bug.