v7.2 #100
11
grafana.sh
11
grafana.sh
|
@ -60,15 +60,16 @@ apt-get install -y gnupg2 \
|
||||||
echo "
|
echo "
|
||||||
# Setup InfluxDB Packages
|
# Setup InfluxDB Packages
|
||||||
"
|
"
|
||||||
wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
|
curl -s https://repos.influxdata.com/influxdata-archive.key > /etc/apt/trusted.gpg.d/influxdata-archive.key
|
||||||
echo "deb https://repos.influxdata.com/debian buster stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
|
echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive.key] https://repos.influxdata.com/debian buster stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
|
||||||
apt-get update && apt-get install influxdb -y
|
apt-get update && apt-get install influxdb -y
|
||||||
run_service influxdb
|
run_service influxdb
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
# Setup Grafana Packages
|
# Setup Grafana Packages
|
||||||
"
|
"
|
||||||
curl -s https://packages.grafana.com/gpg.key | sudo apt-key add -
|
curl -s https://apt.grafana.com/gpg-full.key | \
|
||||||
|
gpg --dearmor | tee /etc/apt/trusted.gpg.d/grafana-full-key.gpg >/dev/null
|
||||||
add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
|
add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
|
||||||
apt-get update && apt-get install grafana -y
|
apt-get update && apt-get install grafana -y
|
||||||
run_service grafana-server
|
run_service grafana-server
|
||||||
|
@ -76,8 +77,6 @@ run_service grafana-server
|
||||||
echo "
|
echo "
|
||||||
# Setup Telegraf Packages
|
# Setup Telegraf Packages
|
||||||
"
|
"
|
||||||
wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
|
|
||||||
echo "deb https://repos.influxdata.com/debian buster stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
|
|
||||||
apt-get update && apt-get install telegraf -y
|
apt-get update && apt-get install telegraf -y
|
||||||
mv /etc/telegraf/telegraf.conf /etc/telegraf/telegraf.conf.original
|
mv /etc/telegraf/telegraf.conf /etc/telegraf/telegraf.conf.original
|
||||||
|
|
||||||
|
@ -134,7 +133,7 @@ JITSI_TELEGRAF
|
||||||
|
|
||||||
run_service telegraf
|
run_service telegraf
|
||||||
|
|
||||||
echo -n "\n# Setup videobridge options\n"
|
echo -e "\n# Setup videobridge options\n"
|
||||||
echo '
|
echo '
|
||||||
# extra options to pass to the JVB daemon
|
# extra options to pass to the JVB daemon
|
||||||
JVB_OPTS="--apis=rest,xmpp"' >> /etc/jitsi/videobridge/config
|
JVB_OPTS="--apis=rest,xmpp"' >> /etc/jitsi/videobridge/config
|
||||||
|
|
Loading…
Reference in New Issue