From 6ae64397a01a2558913e91df01f8efb76cd3d355 Mon Sep 17 00:00:00 2001 From: Betty Date: Fri, 29 May 2026 20:29:02 +0200 Subject: [PATCH] post: commit 19aad43 in bojemoi --- .../commits/2026-05-29-commit-19aad43.md | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 content/posts/commits/2026-05-29-commit-19aad43.md diff --git a/content/posts/commits/2026-05-29-commit-19aad43.md b/content/posts/commits/2026-05-29-commit-19aad43.md new file mode 100644 index 0000000..5b17873 --- /dev/null +++ b/content/posts/commits/2026-05-29-commit-19aad43.md @@ -0,0 +1,50 @@ +--- +title: "[bojemoi] fix: corrections zap, ollama, alloy/prometheus et alerte swarm" +date: 2026-05-29T20:29:02+02:00 +draft: false +tags: ["commit", "bojemoi", "main"] +categories: ["Git Activity"] +summary: "Commit 19aad43 par Betty dans bojemoi" +author: "Betty" +--- + +## Commit `19aad43` + +| | | +|---|---| +| **Repository** | bojemoi | +| **Branch** | `main` | +| **Author** | Betty | +| **Hash** | `19aad438189ad8a2a7ef99a6ae364a1af8b8ad65` | + + +### Description + +- zap_scanner: normaliser la sévérité en lowercase (.lower()) +- ollama: remplacer le config file env par des variables d'environnement directes +- alloy: supprimer les scrapers node_exporter/cadvisor/alertmanager (déjà dans Prometheus) +- prometheus: supprimer le job alertmanager (dupliqué) +- alerts: seuil SwarmManagerLost 3→1 (cluster single-manager) + +Co-Authored-By: Claude Sonnet 4.6 (1M context) + +### Files Changed + +``` +M oblast-1/zap_scanner.py +M stack/51-service-ollama.yml +M volumes/alloy/config/config.alloy +M volumes/prometheus/prometheus.yml +M volumes/prometheus/rules/alerts.yml +``` + +### Diff Summary + +``` + oblast-1/zap_scanner.py | 2 +- + stack/51-service-ollama.yml | 8 +++----- + volumes/alloy/config/config.alloy | 19 ++----------------- + volumes/prometheus/prometheus.yml | 7 ------- + volumes/prometheus/rules/alerts.yml | 4 ++-- + 5 files changed, 8 insertions(+), 32 deletions(-) +```