Telegraf: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
|||
| Zeile 21: | Zeile 21: | ||
*[[Telegraf-dns_query]] | *[[Telegraf-dns_query]] | ||
*[[Telegraf-iptables]] | *[[Telegraf-iptables]] | ||
| + | *[[Telegraf-sensors]] | ||
| + | =Plugin Tests= | ||
| + | *telegraf --config telegraf.conf --config-directory telegraf.d/ --input-filter sensors --test | ||
=Links= | =Links= | ||
Version vom 17. Mai 2017, 21:00 Uhr
Install
- wget https://dl.influxdata.com/telegraf/releases/telegraf_1.2.1_amd64.deb && sudo dpkg -i telegraf_1.2.1_amd64.deb
Config
- cd /etc/telegraf
- telegraf config > telegraf.conf
Generate config with only cpu input & influxdb output plugins defined
- telegraf --input-filter cpu --output-filter influxdb config
Connect to HTTPS-Influxdb
- vi /etc/telegraf/telegraf.conf
[[outputs.influxdb]] urls = ["https://<domain_name>.com:8086"] insecure_skip_verify = true
- systemctl restart telegraf.service
Output-Plugins
Plugin Tests
- telegraf --config telegraf.conf --config-directory telegraf.d/ --input-filter sensors --test