telegraf

Installation of a Telegraf for LogMan.io

This chapter describes an installation of the Telegraf as a probe for a LogMan.io service.

Prerequisities

Telegraf is a sub-probe for syslog-ng, so you need to install syslog-ng first.

Installation steps

  1. Install Telegraf.

Download configuration

sudo wget -O /etc/telegraf/telegraf.d/logmanio.conf https://raw.githubusercontent.com/TeskaLabs/LogMan-io-configs/master/syslog-ng/telegraf-logmanio.conf

  1. Start a service

sudo service telegraf start

  1. Restart a LogMan.io Syslog-ng

sudo service logman-io-syslog-ng restart

  1. Optionally reboot

sudo reboot

Alternative connection without syslog-ng

See https://github.com/TeskaLabs/LogMan-io-configs/tree/master/telegraf​