mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-12 23:14:43 +02:00
feat: monitoring — node_exporter + ROCm sysfs collector + alertmanager webhook
Ansible roles: - node_exporter : déploie node_exporter v1.9.1 sur storage-01 et gpu-01 avec textfile collector + services systemd. ROCm activé sur gpu-01 uniquement via group_vars. Collecte métriques GPU via sysfs (temp, VRAM, utilisation) — pas de dépendance rocm-smi (remplacé dans ROCm 7.x) - alertmanager_webhook : service Python sur storage-01 (:9093/webhook) reçoit alertes AlertManager et les route vers ask-agent monitor → Hermes Playbooks: node_exporter + alertmanager_webhook ajoutés à storage-01 et gpu-01 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
857351bcf9
commit
92a882aa94
15 changed files with 354 additions and 2 deletions
|
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=AlertManager webhook — Hermes monitor bridge
|
||||
After=network.target hermes-agent.service
|
||||
|
||||
[Service]
|
||||
User={{ webhook_user }}
|
||||
Group={{ webhook_user }}
|
||||
Environment=WEBHOOK_PORT={{ webhook_port }}
|
||||
ExecStart=/usr/bin/python3 {{ webhook_install_dir }}/webhook.py
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=alertmanager-webhook
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue