Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 May 2022 12:28:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263878] sysutils/snmp_exporter: configuration file "generator.yml" is overwritten on update
Message-ID:  <bug-263878-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 263878
           Summary: sysutils/snmp_exporter: configuration file
                    "generator.yml" is overwritten on update
           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: topical@gmx.net
                CC: fabian.freyer@physik.tu-berlin.de
             Flags: maintainer-feedback?(fabian.freyer@physik.tu-berlin.de
                    )
                CC: fabian.freyer@physik.tu-berlin.de

The snmp_exporter daemon reads its configuration from "snmp.yml".=20

Because of the size and complexity of "snmp.yml", there is a generator call=
ed
"snmp_exporter_generator" that takes "generator.yml" as its input.

So, you always edit "generator.yml", call the generator and then (re)start =
the
daemon.

Unfortunately, the file "generator.yml" is unconditionally written by the p=
ort,
so you loose your configuration on every port update.

--=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-263878-7788>