On this page
Downloads
Install the following components which constitute the monitoring node:
To install and configure InfluxDB
[influxdata] name = InfluxData Repository - Stable baseurl = https://repos.influxdata.com/stable/\$basearch/main enabled = 1 gpgcheck = 1 gpgkey = https://repos.influxdata.com/influxdata-archive_compat.key |
sudo yum install -y influxdb |
sudo systemctl enable influxdb |
sudo systemctl start influxdb |
sudo influx -execute "CREATE DATABASE graphite with duration 35d" sudo influx -execute "CREATE DATABASE telegraf with duration 35d" sudo influx -execute "CREATE DATABASE twcloud with duration 35d" sudo influx -execute "CREATE DATABASE webapp with duration 35d" |
To install Grafana on the monitoring node
Determine a Grafana version and use the following command to install (example for version 9.2.10):
GRAFANA_VER=9.2.10 sudo yum install -y https://dl.grafana.com/oss/release/grafana-$GRAFANA_VER-1.x86_64.rpm |
Enable the Grafana service for startup with the command:
sudo systemctl enable grafana-server |
Start Grafana with the command:
sudo systemctl start grafana-server |
To install Jmxtrans on the monitoring node
Install with the command:
sudo yum -y install https://repo.maven.apache.org/maven2/org/jmxtrans/jmxtrans/270/jmxtrans-270.rpm |
Delete the Jmxtrans System V service autostart:
chkconfig --del jmxtrans and remove the System V startup script rm -f /etc/init.d/jmxtrans |