The sysutils/telegraf port
telegraf-1.36.2 – plugin-driven server agent for collecting metrics (cvsweb github mirror)
Description
Telegraf is an agent for collecting, processing, aggregating, and writing metrics. Plugin-driven, it has the concept of 4 distinct plugin types: * Input Plugins collect metrics from the system, services, or 3rd party APIs * Processor Plugins transform, decorate, and/or filter metrics * Aggregator Plugins create aggregate metrics (e.g. mean, min, max, quantiles, etc.) * Output Plugins write metrics to various destinationsWWW: https://www.influxdata.com/time-series-platform/telegraf/
Readme
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------
doas(1) support
===============
If you use any of the following input plugins, you do not need to
install and configure sudo:
* pf
* NSD
* OpenNTPD
* OpenSMTPD
* Unbound
Below are some example doas.conf(5) lines which could be used. If you
have a nonstandard configuration of those daemons, adjustments to the
location of binaries and arguments may be needed.
permit nopass _telegraf as _unbound cmd /usr/sbin/unbound-control \
args stats_noreset
permit nopass _telegraf as _nsd cmd /usr/sbin/nsd-control args stats_noreset
permit nopass _telegraf cmd /sbin/pfctl args -s info
permit nopass _telegraf cmd /usr/sbin/ntpctl args -s peers
permit nopass _telegraf cmd /usr/sbin/smtpctl args show stats
Resource Limits
===============
telegraf runs with a dedicated login class. See /etc/login.conf.d/telegraf
and refer to getcap(3), login.conf(5), and rc.d(8) for further details.
Maintainer
Lucas Raab
Only for arches
aarch64 amd64 arm i386 riscv64
Broken
on arm: build fails, no error message
on i386: /usr/local/go/pkg/tool/openbsd_386/link: mapping output file failed: cannot allocate memory