{% extends 'base.html' %} {% block title %}Settings{% endblock %} {% block content %}
| Nom | Endpoint | Datacenter | Description | Responsable | Actif | {% if editable.vsphere %}Action | {% endif %}
|---|---|---|---|---|---|---|
| {{ vc.name }} | {{ vc.endpoint }} | {{ vc.datacenter or '-' }} | {{ vc.description or '-' }} | {{ vc.responsable or '-' }} | {{ 'Oui' if vc.is_active else 'Non' }} | {% if editable.vsphere %}{% if vc.is_active %} {% endif %} | {% endif %}
Deux modes pris en charge : SharePoint (PatchCenter écrit un fichier .txt dans un dossier OneDrive sync, un Workflow Power Automate côté SharePoint poste sur Teams — pas d'OAuth) ; Webhook (POST direct, OAuth Entra ID requis, futur). Le routage serveur → canal est pris en charge par les règles.
| Nom | Mode | SP route / Webhook | Défaut | Reboot | DM dyn. | Actif | {% if editable.vsphere %}Actions | {% endif %}
|---|---|---|---|---|---|---|---|
| {{ tc.name }} | {{ tc.mode }} | {{ 'Oui' if tc.is_default else '-' }} | {{ 'Oui' if tc.is_reboot_channel else '-' }} | {{ 'Oui' if tc.is_dynamic_dm else '-' }} | {{ 'Oui' if tc.is_active else 'Non' }} | {% if editable.vsphere %}{% endif %} | |
| Aucun canal Teams configuré. | |||||||
Les règles sont évaluées par ordre de priorité croissante (10, 20, 30…). La première règle dont toutes les conditions actives matchent décide du canal. Conditions vides = pas filtré. Pour reboot, le canal flaggé "Reboot" gagne avant toute règle.
| Prio | Nom | Match | → Canal | Actif | {% if editable.vsphere %}Actions | {% endif %}
|---|---|---|---|---|---|
| {{ tr.priority }} | {{ tr.name }} | {% if tr.responsable_name %}resp: {{ tr.responsable_name }}{% endif %} {% if tr.match_application_domain %}domain~{{ tr.match_application_domain }}{% endif %} {% if tr.match_env_in %}env∈{{ tr.match_env_in|join(',') }}{% endif %} {% if tr.match_msg_type_in %}msg∈{{ tr.match_msg_type_in|join(',') }}{% endif %} {% if tr.match_hostname_pattern %}host~{{ tr.match_hostname_pattern }}{% endif %} {% if tr.match_is_database_server is true %}DB only{% endif %} {% if tr.match_is_database_server is false %}non-DB only{% endif %} | {{ tr.channel_name or '(canal supprimé)' }} | {{ 'Oui' if tr.is_active else 'Non' }} | {% if editable.vsphere %}{% endif %} |
| Aucune règle. Sans règles, seul le canal "défaut" sera utilisé. | |||||
Les clusters permettent de patcher plusieurs serveurs liés (ex : DB master + slaves,
HAProxy + backends) avec un ordre de redémarrage. Le champ
cluster_order sur chaque serveur fixe la
séquence (1 = premier patché). Stratégie sequential = un par un (recommandé)
ou parallel = tous en même temps.
| Nom | Description | Stratégie | # Serveurs | Actif | {% if editable.vsphere %}Actions | {% endif %}
|---|---|---|---|---|---|
| {{ sc.name }} | {{ sc.description or '-' }} | {{ sc.reboot_strategy }} | {{ sc.server_count }} | {{ 'Oui' if sc.is_active else 'Non' }} | {% if editable.vsphere %}{% endif %} |
| Aucun cluster configuré. | |||||
| CIDR | Description | Actif | {% if editable.security %}Actions | {% endif %}
|---|---|---|---|
| {{ n.cidr }} | {{ n.description or '-' }} | {{ 'Oui' if n.is_active else 'Non' }} | {% if editable.security %}
|
{% endif %}
Le fichier /etc/nginx/patchcenter_acl.conf est régénéré automatiquement à chaque modification. Nginx est rechargé.