pbs - put inventory_hostname by default

This commit is contained in:
Ludovic Cartier
2026-06-01 17:30:19 +02:00
parent fc66a7b8b2
commit 1ab1166c1e
3 changed files with 9 additions and 10 deletions
+3 -6
View File
@@ -140,7 +140,7 @@ The following checks are deployed to `/usr/lib/nagios/plugins/` (or configured p
| `nrpe_pbs_host` | `-` | `check_pbs_backup` | Hôte PBS (IP ou FQDN). |
| `nrpe_pbs_token` | `-` | `check_pbs_backup` | API token PBS au format `user@realm!tokenid:secret`. |
| `nrpe_pbs_store` | `-` | `check_pbs_backup` | Nom du datastore PBS. |
| `nrpe_pbs_backups` | `-` | `check_pbs_backup` | Liste des backup-id à vérifier. |
| `nrpe_pbs_backups` | `[inventory_hostname]` | `check_pbs_backup` | Liste des backup-id à vérifier. |
| `nrpe_pbs_type` | `host` | `check_pbs_backup` | Type de backup : `host`, `vm` ou `ct` (optionnel). |
| `nrpe_pbs_port` | `8007` | `check_pbs_backup` | Port de l'API PBS (optionnel). |
| `nrpe_pbs_namespace` | `-` | `check_pbs_backup` | Namespace PBS (optionnel). |
@@ -185,11 +185,8 @@ The following checks are deployed to `/usr/lib/nagios/plugins/` (or configured p
vars:
nrpe_pbs_host: pbs01.example.com
nrpe_pbs_token: "backup@pbs!monitoring:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
nrpe_pbs_store: main
nrpe_pbs_backups:
- myhost
- otherhost
nrpe_pbs_ssl_insecure: true # optionnel, cert auto-signé
nrpe_pbs_datastore: main
nrpe_pbs_ssl_insecure: true
# nrpe_pbs_type: host # optionnel, défaut : host (vm, ct)
# nrpe_pbs_namespace: ns # optionnel
```