Seemingly some enterprise monitoring solutions look that they can be suitable for your infrastructure but afterwards it shows up that your expectations are not satisfied. There are a lot of online monitoring tools that are just a waste of money. Rather than investing your budget, I would prefer choosing Grafana which is a multi-platform open source monitoring tool. Grafana provides a lot of complex monitoring dashboards depending on the connected data sources. Let’s jump and see how to install it on Debian 11.
Prerequisites
- Debian 11
- sudo privileges
Install Grafana on Debian 11
Step 1. Update system packages and install some Grafana requirements.
sudo apt-get update
sudo apt-get install -y apt-transport-https
sudo apt-get install -y software-properties-common wget
Step 2. Add Grafana’s GPG key.
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
Step 3. For stable releases add the following repo:
echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
Step 4. Grab latest changes and install Grafana.
sudo apt-get update
sudo apt-get install grafana
Step 5. To verify installation and Grafana version, run:
grafana-cli -v
grafana-server -v
Output:
Grafana CLI version 8.2.3
Version 8.2.3 (commit: fb85ed6912, branch: HEAD)
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.