Files
server-monitor/systemd/server-monitor.service
T
MrYoshii c756195530 Initial commit: server-monitor v1 (Python)
Kompletter Neustart als Python-Projekt.
Portiert von zfs-monitor Bash v3, saubere Architektur:
- config.py: TOML-Config mit dataclasses
- state.py: zentrales State-Management (JSON statt Einzeldateien)
- notify.py: Telegram + Persistent Alerting als wiederverwendbare Klasse
- checks/zfs.py: ZFS Pool-Health, I/O-Fehler, Kapazität
- checks/smart.py: SATA + NVMe SMART-Monitoring
- checks/nut.py: NUT/USV-Monitoring (APC Back-UPS RS 1500G)
2026-04-12 04:15:02 +02:00

11 lines
212 B
Desktop File

[Unit]
Description=Server Monitor
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/python3 /usr/local/lib/server-monitor/monitor.py
TimeoutStartSec=120
StandardOutput=journal
StandardError=journal