Bug 276992 - net-mgmt/blackbox_exporter: make syslog output configurable
Summary: net-mgmt/blackbox_exporter: make syslog output configurable
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nuno Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-11 23:25 UTC by Lexi Winter
Modified: 2024-02-12 09:13 UTC (History)
0 users

See Also:
eduardo: maintainer-feedback+


Attachments
patch (2.61 KB, patch)
2024-02-11 23:25 UTC, Lexi Winter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lexi Winter 2024-02-11 23:25:56 UTC
Created attachment 248375 [details]
patch

add the following new options, based on net-mgmt/ping_exporter:

+# blackbox_exporter_syslog_output_tag (str):      Set syslog tag.
+#               Default is "blackbox_exporter". See daemon(8).
+# blackbox_exporter_syslog_output_priority (str): Set syslog priority.
+#               Default is "notice". See daemon(8).
+# blackbox_exporter_syslog_output_facility (str): Set syslog facility.
+#               Default is "daemon". See daemon(8).

the defaults are unchanged from before, i.e. it outputs at daemon.notice.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-02-12 09:12:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8f0f02c25643fcc0be1c488f4fa4f8e95a67716c

commit 8f0f02c25643fcc0be1c488f4fa4f8e95a67716c
Author:     Lexi Winter <lexi.freebsd@le-fay.org>
AuthorDate: 2024-02-12 09:10:01 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-02-12 09:12:03 +0000

    net-mgmt/blackbox_exporter: Make syslog output configurable

    Add the following new options, based on net-mgmt/ping_exporter:

    +# blackbox_exporter_syslog_output_tag (str):      Set syslog tag.
    +#               Default is "blackbox_exporter". See daemon(8).
    +# blackbox_exporter_syslog_output_priority (str): Set syslog priority.
    +#               Default is "notice". See daemon(8).
    +# blackbox_exporter_syslog_output_facility (str): Set syslog facility.
    +#               Default is "daemon". See daemon(8).

    the defaults are unchanged from before, i.e. it outputs at daemon.notice.

    PR:             276992

 net-mgmt/blackbox_exporter/Makefile                   |  2 +-
 net-mgmt/blackbox_exporter/files/blackbox_exporter.in | 14 +++++++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)
Comment 2 Nuno Teixeira freebsd_committer freebsd_triage 2024-02-12 09:13:32 UTC
Committed, thanks!