Telegraf: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
|||
| Zeile 1: | Zeile 1: | ||
=Install= | =Install= | ||
| − | * | + | *[[Telegraf install]] |
=Config= | =Config= | ||
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