Bug 226435 - sysutils/snmp_exporter: Update to 0.11.0 and log to syslog
Summary: sysutils/snmp_exporter: Update to 0.11.0 and log to syslog
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-03-07 22:01 UTC by David O'Rourke
Modified: 2018-06-16 14:21 UTC (History)
1 user (show)

See Also:
fabian.freyer: maintainer-feedback+


Attachments
sysutils/snmp_exporter: Add log file (1.70 KB, patch)
2018-03-07 22:01 UTC, David O'Rourke
no flags Details | Diff
sysutils/snmp_exporter: Update to 0.10.0 and add log file (2.69 KB, patch)
2018-05-12 00:48 UTC, David O'Rourke
no flags Details | Diff
sysutils/snmp_exporter: Update to 0.11.0 and log to syslog (1.95 KB, patch)
2018-06-15 18:56 UTC, David O'Rourke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David O'Rourke 2018-03-07 22:01:45 UTC
Created attachment 191290 [details]
sysutils/snmp_exporter: Add log file

This patch primarily adds a log file to snmp_exporter to avoid dumping output to the console while the daemon starts, and to log events while the daemon is running.

We also remove the $snmp_exporter_textfile_dir checking and initialization, as it isn't required for the snmp_exporter (textfile directory is for the node_exporter textfile collector), and as there was no $snmp_exporter_textfile_dir variable defined, it was broken.
Comment 1 David O'Rourke 2018-05-12 00:48:50 UTC
Created attachment 193311 [details]
sysutils/snmp_exporter: Update to 0.10.0 and add log file

This patch has now been update to also update snmp_exporter to 0.10.0
Comment 2 David O'Rourke 2018-06-15 18:56:41 UTC
Created attachment 194282 [details]
sysutils/snmp_exporter: Update to 0.11.0 and log to syslog

Updates the port to 0.11.0 and logs daemon output to syslog.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-06-16 14:21:57 UTC
A commit references this bug:

Author: krion
Date: Sat Jun 16 14:21:11 UTC 2018
New revision: 472549
URL: https://svnweb.freebsd.org/changeset/ports/472549

Log:
  Update to 0.11.0 and log to syslog

  PR:		226435
  Submitted by:	David O'Rourke <dor.bsd@xm0.uk>
  Approved by:	maintainer

Changes:
  head/sysutils/snmp_exporter/Makefile
  head/sysutils/snmp_exporter/distinfo
  head/sysutils/snmp_exporter/files/snmp_exporter.in