2024-12-08 15:05:13 -05:00
|
|
|
# Fresh Start Installation Script 🚀
|
|
|
|
|
|
|
|
|
|
> A powerful bash script for automating Proxmox installations with monitoring tools and system health checks.
|
|
|
|
|
|
|
|
|
|
## ✨ Features
|
|
|
|
|
|
|
|
|
|
* 📦 Installs essential system packages
|
|
|
|
|
* 📊 Sets up Prometheus Node Exporter (v1.8.2)
|
|
|
|
|
* 🔍 Configures system health monitoring daemon (hwmon)
|
|
|
|
|
* ✅ Performs initial dry-run test of monitoring systems
|
|
|
|
|
|
|
|
|
|
## 📋 Prerequisites
|
|
|
|
|
|
|
|
|
|
* Debian-based system (Proxmox)
|
|
|
|
|
* Root/sudo access
|
|
|
|
|
* Internet connectivity
|
|
|
|
|
|
|
|
|
|
## 🛠️ Installation
|
|
|
|
|
|
|
|
|
|
Execute these commands as root:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
chmod +x freshStart.sh
|
|
|
|
|
./freshStart.sh
|
|
|
|
|
```
|
2025-12-01 10:52:27 -05:00
|
|
|
or if you want to run instantly without downloading (recommended)
|
|
|
|
|
```bash
|
|
|
|
|
curl -s http://10.10.10.63:3000/LotusGuild/freshStartScript/raw/branch/main/freshStart.sh | bash
|
|
|
|
|
```
|
|
|
|
|
|
2024-12-08 15:05:13 -05:00
|
|
|
|
|
|
|
|
## 📦 Components Installed
|
|
|
|
|
**System Packages:**
|
|
|
|
|
|
|
|
|
|
* python3-pip
|
|
|
|
|
* smartmontools
|
|
|
|
|
* iperf3
|
|
|
|
|
* python3-psutil
|
|
|
|
|
* python3-requests
|
|
|
|
|
|
|
|
|
|
**Prometheus Node Exporter:**
|
|
|
|
|
✅ Installed as a systemd service
|
|
|
|
|
✅ Runs on default port 9100
|
|
|
|
|
✅ Configured to start on boot
|
|
|
|
|
|
|
|
|
|
**Hardware Monitoring Daemon (hwmon):**
|
|
|
|
|
✅ Installed as a systemd service and timer
|
|
|
|
|
✅ Performs regular system health checks
|
|
|
|
|
✅ Creates tickets for detected issues
|
|
|
|
|
|
|
|
|
|
🔍 **Verification**
|
|
|
|
|
Verify service status after installation:
|
|
|
|
|
```bash
|
|
|
|
|
systemctl status node_exporter
|
|
|
|
|
systemctl status hwmon.timer
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
🌐 **Network Requirements**
|
|
|
|
|
Service Purpose
|
|
|
|
|
GitHub Node Exporter download
|
|
|
|
|
10.10.10.110:3000 hwmon daemon files
|
|
|
|
|
10.10.10.45 Ticket API access
|