Initial import: monitoring, power-management, maintenance, web scripts

This commit is contained in:
2026-08-05 12:26:50 +02:00
commit 1936ded08f
10 changed files with 1306 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env python3
"""Wrapper: graceful shutdown of pve2 (DL380p Gen8) via Proxmox API.
Silent on success, sends email on failure.
Used by cron job server-stop (no_agent mode)."""
import sys, os
script = os.path.join(os.path.dirname(__file__), "host-power.py")
os.execvp(sys.executable, [sys.executable, script, "stop"])