Telegraf install: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „=Add the influxdata Key= *sudo curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add - =Add the influxdata repository= *source /etc/lsb-release…“) |
|||
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| − | =Add the influxdata Key= | + | =Add the influxdata Key (if not already done)= |
*sudo curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add - | *sudo curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add - | ||
| − | =Add the influxdata repository= | + | =Add the influxdata repository (if not already done)= |
*source /etc/lsb-release | *source /etc/lsb-release | ||
*echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list | *echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list | ||
Aktuelle Version vom 10. Oktober 2019, 07:54 Uhr
Add the influxdata Key (if not already done)
- sudo curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
Add the influxdata repository (if not already done)
- source /etc/lsb-release
- echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
Now update the repository and install the 'telegraf' ackage using the apt command below
- sudo apt update
- sudo apt install telegraf -y
Enable and start
- sudo systemctl start telegraf
- sudo systemctl enable telegraf
Check
- sudo systemctl status telegraf