Bug 226435

Summary: sysutils/snmp_exporter: Update to 0.11.0 and log to syslog
Product: Ports & Packages Reporter: David O'Rourke <dor.bsd>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Some People CC: fabian.freyer
Priority: --- Keywords: patch
Version: LatestFlags: fabian.freyer: maintainer-feedback+
Hardware: Any   
OS: Any   
Attachments:
Description Flags
sysutils/snmp_exporter: Add log file
none
sysutils/snmp_exporter: Update to 0.10.0 and add log file
none
sysutils/snmp_exporter: Update to 0.11.0 and log to syslog none

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