From nobody Mon Jun 5 00:57:26 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QZFZG3LzDz4ZsFR for ; Mon, 5 Jun 2023 00:57:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QZFZG0Sbwz44B1 for ; Mon, 5 Jun 2023 00:57:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685926646; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3jXJqtYVTu+HnuGkjGI0hvINQt7EM2os8wrZJDF2qIo=; b=f+1G0N1zlo0bRInHjQUS6jLRRwEF2XLg7t+9GRNe4UleG7PAr0EWN6PcaOfydiBalhiKu8 cald2p58FkNdcxb2/r2pQipMerEo69qzpfL9s1+koFGThFWKcXj3Seb56nSin9a71oPSLj 6lWxgPtHEiyjwxBEtRrlSbUwhuefIf3LrK8FeZQb4jibOq/Xacv8XPJ0IHbIVj3B7+uTRQ tDe0AZz7c/s4JAiV7v8T607pqtFhwXdH6uUFKYsFIkj6u5uRhCLl0EpsBEABtgXw1FzFm8 GntGypo4sCOCinwPpsn7nhalowVpwXAaOZFQfCkpuymVBc22dUUR9jTeJMvM9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685926646; a=rsa-sha256; cv=none; b=Tc9+NeZ8BppLGkBO26LWHIFak3Gq07gmXzQI8gWxacUrT6FMT5vJvSQVf3UWK6qmL7OqrH HRGxAjrg0qSMczeC/69Z/1kUzjRtNJ/zw3KcKvk7t3eJle9CNipq4PRlGFiFLgz7W1J7Tj DfGFlZOTdfgXUgb6G3SrO6JpBw0ecrHi1tBjwVvzV22HkT4SYrDQyD00ocJ5Fjc3wD/yCn RriNO+VR4lOV8Q08xL9kCMwXEZ3DCxLt8iGaENUlKjiWg36wihRVWIhQRAHnNfYl3vfOBx cAzpDuOqQROaC2TnwtlohO4TiknXR5l+JxS6HUD7NYU4EZbhKqPfoarecEojHg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QZFZF6fSJzSBb for ; Mon, 5 Jun 2023 00:57:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3550vPU6065710 for ; Mon, 5 Jun 2023 00:57:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3550vPcP065709 for ports-bugs@FreeBSD.org; Mon, 5 Jun 2023 00:57:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271833] snmp_exporter generator is broken with provided generator.yml Date: Mon, 05 Jun 2023 00:57:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: shatilov18@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271833 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 compi= le into snmp.yml when running `snmp_exporter_generator generate -o "/usr/local/etc/snmp_exporter/snmp.ym= l"` I was able to resolve it locally by changing fields.=20 old_index must become `source_indexes: [...]`.=20 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/generato= r.yml --=20 You are receiving this mail because: You are the assignee for the bug.=