57 lines
1.3 KiB
Markdown
57 lines
1.3 KiB
Markdown
|
|
# 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
|
||
|
|
```
|
||
|
|
|
||
|
|
## 📦 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
|