Files
jambonz-infrastructure/packer/jambonz-sbc-sip-rtp/scripts/install_telegraf.sh
2021-07-03 11:37:31 -04:00

12 lines
394 B
Bash

#!/bin/bash
echo installing telegraf..
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
echo "deb https://repos.influxdata.com/debian stretch stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt-get update
sudo apt-get install -y telegraf
sudo cp /tmp/telegraf.conf /etc/telegraf/telegraf.conf
sudo systemctl enable telegraf
sudo systemctl start telegraf