Grafana & InfluxDB Installation Guide#
1. Install Grafana#
Documentation: Grafana Debian Installation
Video Reference: Grafana Setup Guide
Install Prerequisites#
apt-get install -y apt-transport-https software-properties-common wgetImport GPG Key#
mkdir -p /etc/apt/keyrings/wget -q -O - [https://apt.grafana.com/gpg.key](https://apt.grafana.com/gpg.key) | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg > /dev/nullAdd Stable Repository#
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] [https://apt.grafana.com](https://apt.grafana.com) stable main" | tee -a /etc/apt/sources.list.d/grafana.listInstall Grafana OSS#
apt-get updateapt-get install grafana -yEnable and Start Service#
systemctl daemon-reloadsystemctl enable grafana-serversystemctl start grafana-serversystemctl status grafana-server2. Install InfluxDB#
Documentation: InfluxDB Installation
Setup InfluxData Repository#
wget -q [https://repos.influxdata.com/influxdata-archive_compat.key](https://repos.influxdata.com/influxdata-archive_compat.key)echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/nullecho 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] [https://repos.influxdata.com/debian](https://repos.influxdata.com/debian) stable main' | sudo tee /etc/apt/sources.list.d/influxdata.listInstall InfluxDB Service#
apt-get update
sudo apt-get install influxdbStart and Verify InfluxDB#
service influxdb start
systemctl start influxdb
systemctl status influxdb.serviceAlternative: Download .deb Package#
wget [https://download.influxdata.com/influxdb/releases/influxdb2_2.7.6-1_amd64.deb](https://download.influxdata.com/influxdb/releases/influxdb2_2.7.6-1_amd64.deb)3. Configuration#
InfluxDB Initial Setup#
- User/Password: [Set during setup]
- Bucket:
HP1ProxmoxCluster - Organisation:
marcoue - Action: Save and rename API key.
Proxmox Integration#
- Go to Proxmox > Datacenter > Metric Server.
- Click Add > InfluxDB.
- Enter server details and API token.
Connect to Grafana#
- Go to Grafana > Connections > Data Source.
- Add InfluxDB and use the bucket/token created above.