Skip to content

About

Automated setup script for Prometheus, Grafana, and Node Exporter on Ubuntu, enabling real-time monitoring of CPU, memory, and disk usage.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Prometheus & Grafana Auto-Installer

Prometheus Grafana Automation

🎯 Overview

This automated setup script installs and configures:
✅ Prometheus - Metrics Collection
✅ Node Exporter - Server Monitoring
✅ Grafana - Data Visualization
✅ Firewall Configuration (optional, auto-detected)


🛠 Installation

1️⃣ Download & Run the Script

git clone https://github.com/Baumfaust/prometheus-grafana-setup.git
cd prometheus-grafana-setup
chmod +x install_monitoring.sh
./install_monitoring.sh

2️⃣ Wait for Installation

The script will:
✔️ Detect your system architecture
✔️ Install necessary packages
✔️ Set up services for Prometheus, Grafana, and Node Exporter
✔️ Optionally configure iptables firewall


🌐 Access Your Services

Service URL
📊 Grafana http://your-server-ip:3000
📈 Prometheus http://your-server-ip:9090
🔍 Node Exporter http://your-server-ip:9100/metrics

🔥 Features

✨ Fully Automated – One command to set up everything
✨ Firewall Rules – Only if iptables is installed
✨ Service Management – Enables & starts systemd services
✨ Logging Enabled – Outputs to setup.log


📌 Requirements

  • ✅ Ubuntu / Debian (64-bit)
  • ✅ sudo permissions
  • ✅ Internet connection

❌ Uninstall

To remove all services and configurations:

sudo systemctl stop prometheus node_exporter grafana-server
sudo systemctl disable prometheus node_exporter grafana-server
sudo rm -rf /usr/local/bin/node_exporter /usr/local/bin/prometheus /etc/prometheus /var/lib/prometheus
sudo apt remove --purge grafana -y

💡 Contributions & Support

📌 Feel free to fork, improve, and submit PRs!
💬 Questions? Open an issue or reach out!

🚀 Happy Monitoring! 🎯

About

Automated setup script for Prometheus, Grafana, and Node Exporter on Ubuntu, enabling real-time monitoring of CPU, memory, and disk usage.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages