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.
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
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.
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