homelab-scripts

Scripts de monitoring, maintenance et automatisation du homelab Keller.

Structure

homelab-scripts/
├── monitoring/          # Métriques et rapports
│   ├── pve-monitor.py       # Collecte métriques PVE toutes les 15min
│   ├── pve-report.py        # Génération rapports PDF hebdo/mensuel
│   └── hermes-metrics.py    # Métriques Hermes → Prometheus (1min)
├── power-management/   # Gestion d'alimentation
│   ├── host-power-start.py  # Allumage serveur (11h)
│   └── host-power-stop.py   # Extinction serveur (22h)
├── maintenance/        # Tâches de fond
│   ├── archive-old-sessions.sh  # Archive sessions Hermes (3h)
│   └── check-obsolete.sh        # Rapport éléments obsolètes (lundi)
├── web/                # Surveillance sites
│   ├── site-test.py          # Audit sécurité/UX laurentkeller.org
│   └── suivi-quotidien.py    # Suivi quotidien Mon-site-web-photos
└── one-shot/            # Scripts ponctuels (réutilisables)
    ├── plan_maison.py            # Plan d'étage matplotlib
    ├── generate-honcho-pdf.py    # PDF architecture Honcho
    ├── generate_gramps_report.py # Rapport généalogie PDF
    ├── google-workspace-mcp-login.py  # OAuth Google Workspace
    ├── oauth-step1.py / oauth-step2.py  # Flow OAuth
    ├── populate_gramps_sheet.py  # Gramps → Google Sheet
    └── fix_maxbuffer.py         # Fix maxBuffer wiremcp-sse

Déploiement

Les scripts sont exécutés par les cron jobs Hermes. Pour les utiliser hors Hermes :

git clone https://git.keller-laurent.org/hermes-agent/homelab-scripts.git
cd homelab-scripts

Licence

AGPL-3.0

S
Description
Scripts de monitoring, maintenance et automatisation du homelab
Readme
84 KiB
Languages
Python 96.3%
Shell 3.7%