Telegraf: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
=Install= | =Install= | ||
| − | * | + | *[[Telegraf install]] |
=Config= | =Config= | ||
| 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= | ||
Aktuelle Version vom 10. Oktober 2019, 07:50 Uhr
Install
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