--- title: PatchMon created: 2026-06-07 updated: 2026-06-07 type: app tags: [catalogue, monitoring, patchs, linux, securite, debian, ubuntu, go, auto-hebergement] confidence: high contested: false sources: [https://selfh.st/apps/?tag=Monitoring, https://github.com/PatchMon/PatchMon] --- # 📊 PatchMon > **Le monitoring de patches Linux simplifiĂ©** : dĂ©tectez les MAJ disponibles sur vos serveurs Debian/Ubuntu/RHEL et appliquez-les en un clic. Indispensable pour la sĂ©curitĂ©. ## 📋 Informations GĂ©nĂ©rales | Champ | Valeur | | :--- | :--- | | **Site web** | [patchmon.io](https://patchmon.io) | | **GitHub** | [PatchMon/PatchMon](https://github.com/PatchMon/PatchMon) | | **License** | MIT | | **Langage** | Go | | **Étoiles GitHub** | 2.9k ⭐ | | **DerniĂšre MAJ** | 2026-06-06 | | **CatĂ©gorie** | [[cat-monitoring|Monitoring]] | ## 📝 Description **PatchMon** est un **outil de monitoring de correctifs (patchs) self-hosted** pour flottes de machines Linux. Il dĂ©tecte automatiquement les paquets nĂ©cessitant une mise Ă  jour, classe les correctifs par criticitĂ© (sĂ©curitĂ©, bug-fix, feature) et permet de dĂ©clencher les MAJ depuis une interface web centralisĂ©e. Contrairement Ă  un [[app-uptime-kuma]] qui vĂ©rifie que vos services *tournent*, PatchMon vĂ©rifie qu'ils sont *Ă  jour*. C'est un pilier de la **compliance CVE** et de l'hygiĂšne systĂšme pour les admins qui gĂšrent plusieurs serveurs. - ✅ **Agents lĂ©gers** (Go) pour Linux : Debian, Ubuntu, RHEL, CentOS, Fedora, Rocky, Alma - ✅ **Dashboard centralisĂ©** : Ă©tat des patches par hĂŽte, par groupe, par criticitĂ© - ✅ **CatĂ©gorisation** : MAJ de sĂ©curitĂ© / bug-fix / feature - ✅ **Notifications** : Discord, Slack, email, webhook - ✅ **DĂ©tection CVE** corrĂ©lĂ©e aux paquets installĂ©s - ✅ **API REST** pour intĂ©gration Ansible, Puppet, etc. - ✅ **Mode multi-tenant** : gĂ©rez plusieurs organisations - ✅ **Authentification** : utilisateurs locaux + OIDC / SAML - ✅ **Historique** : traçabilitĂ© complĂšte des MAJ appliquĂ©es - ✅ **Schedules** : planification de fenĂȘtres de maintenance - ✅ **Groupes d'hĂŽtes** : par environnement (prod / staging / dev) **Public cible** : **admins sys, MSP, Ă©quipes DevOps** qui gĂšrent ≄ 5 serveurs Linux et veulent arrĂȘter de faire `apt update` Ă  la main sur 30 machines. ### Comparaison rapide | Outil | Cible | DiffĂ©rence | | :--- | :--- | :--- | | **PatchMon** | Patchs OS | Simple, rapide, focus MAJ | | [[app-netdata]] | MĂ©triques runtime | Ne fait pas le suivi des patches | | **Canonical Landscape** | Ubuntu uniquement | PropriĂ©taire, lourd | | **Spacewalk / Foreman** | Provisioning complet | Beaucoup plus complexe | ## 🚀 Installation ### Option 1 : Docker Compose (recommandĂ©) ```yaml # docker-compose.yml version: '3.8' services: patchmon: image: patchmon/patchmon:latest container_name: patchmon restart: unless-stopped ports: - "3000:3000" # Web UI environment: - DB_HOST=patchmon-db - DB_USER=patchmon - DB_PASSWORD=change_me_strong_pwd - DB_NAME=patchmon - JWT_SECRET=change_me_jwt_secret - TZ=Europe/Paris depends_on: - patchmon-db volumes: - patchmon-data:/app/data labels: - "traefik.enable=true" - "traefik.http.routers.patchmon.rule=Host(`patchmon.example.com`)" - "traefik.http.routers.patchmon.entrypoints=websecure" - "traefik.http.routers.patchmon.tls.certresolver=letsencrypt" patchmon-db: image: postgres:16-alpine container_name: patchmon-db restart: unless-stopped environment: - POSTGRES_USER=patchmon - POSTGRES_PASSWORD=change_me_strong_pwd - POSTGRES_DB=patchmon volumes: - patchmon-db:/var/lib/postgresql/data patchmon-agent: image: patchmon/agent:latest container_name: patchmon-agent restart: unless-stopped environment: - PATCHMON_SERVER=http://patchmon:3000 - PATCHMON_API_KEY=will_be_set_after_agent_registration volumes: - /etc:/host/etc:ro - /var/lib/dpkg:/host/var/lib/dpkg:ro - /var/lib/rpm:/host/var/lib/rpm:ro volumes: patchmon-data: patchmon-db: ``` > 💡 L'agent peut aussi ĂȘtre installĂ© **nativement** sur les hĂŽtes (binaire Go, paquet .deb/.rpm) au lieu d'un conteneur side-car. ### Option 2 : Binaire natif (agent) ```bash curl -L -o patchmon-agent https://github.com/PatchMon/PatchMon/releases/latest/download/patchmon-agent-linux-amd64 chmod +x patchmon-agent sudo ./patchmon-agent install --server https://patchmon.example.com --api-key YOUR_KEY ``` ## ⚙ Configuration Initiale 1. **AccĂ©der Ă  l'UI** : `https://patchmon.example.com` — crĂ©er le compte admin 2. **DĂ©ployer l'agent** : sur chaque hĂŽte Linux, lancer l'agent et noter la **clĂ© d'API** 3. **Enregistrer l'hĂŽte** dans PatchMon : Settings > Hosts > Add (saisir la clĂ© API) 4. **Activer les notifications** : Settings > Notifications > Discord/Slack/Email 5. **CrĂ©er des groupes** : par environnement (prod-staging-dev) ou par criticitĂ© 6. **DĂ©finir une politique de MAJ** : auto-appliquer les patchs de sĂ©curitĂ© hors heures ouvrĂ©es, valider manuellement les MAJ majeures ## 🔄 Alternatives ### Open Source - **Foreman / Katello** — Provisioning + patchs (trĂšs lourd) - **Spacewalk** — Red Hat only, vieillissant - **Canonical Landscape** — Ubuntu uniquement, propriĂ©taire - **Wazuh** — SIEM qui inclut du suivi patchs (beaucoup plus large) - [[app-uptime-kuma]] — uptime, pas patchs (complĂ©mentaire) ### PropriĂ©taires (ce que PatchMon remplace) - **ManageEngine Patch Manager Plus** - **Ivanti Patch Management** - **Qualys VMDR** (module patching) - **Tanium Patch** ### Comparaison | CritĂšre | PatchMon | Landscape | Wazuh | | :--- | :--- | :--- | :--- | | Self-hosted | ✅ | ❌ (commercial) | ✅ | | Prix | Gratuit | Payant | Gratuit | | Multi-distro | ✅ | ❌ (Ubuntu) | ✅ | | DĂ©clenchement MAJ | ✅ Web | ✅ | ❌ | | SIEM intĂ©grĂ© | ❌ | ❌ | ✅ | | ComplexitĂ© | Basse | Moyenne | Haute | **Verdict** : PatchMon est **le choix Ă©vident** pour qui veut un suivi patchs Linux lĂ©ger, moderne et gratuit. Wazuh reste prĂ©fĂ©rable si vous voulez en plus un SIEM complet. ## 🔐 SĂ©curitĂ© - **Auth locale + OIDC/SAML** pour l'UI web - **Communication agent ↔ serveur** chiffrĂ©e (HTTPS) - **HTTPS recommandĂ©** via [[app-traefik]] avec Let's Encrypt - **Tokens d'API** rĂ©vocables individuellement - **RBAC** : rĂŽles admin / opĂ©rateur / lecteur ## 📚 Ressources - [GitHub PatchMon/PatchMon](https://github.com/PatchMon/PatchMon) - [Site officiel](https://patchmon.io) - [Documentation](https://docs.patchmon.io) ## Pages LiĂ©es - [[cat-monitoring]] — CatĂ©gorie Monitoring - [[app-uptime-kuma]] — Monitoring d'uptime (complĂ©mentaire) - [[app-traefik]] — Pour exposer en HTTPS - [[checklist-monitoring-minimal]] — Checklist - [[observabilite]] — Vue d'ensemble