VMWare est une solution de virtualisation et d'infrastructure de Cloud Computing.
Le connecteur de supervision Centreon s'appuie sur le SDK VMWare pour requêter l'API du vCenter.
Avec le connecteur, Centreon peut superviser les VMs, Datastores, ESXs, Clusters, etc.
Ce connecteur de supervision fonctionne avec les versions 6 et 7 de l'API VMware.
Contenu du pack​
Modèles​
Le connecteur de supervision VMware vCenter apporte un modèle d'hôte :
- Virt-VMWare2-VCenter-custom
Le connecteur apporte les modèles de service suivants
(classés selon le modèle d'hôte auquel ils sont rattachés) :
- Virt-VMWare2-VCenter-custom
- Non rattachés à un modèle d'hôte
Alias | Modèle de service | Description |
---|
Vm-Tools-Global | Virt-VMWare2-Vm-Tools-Global-custom | Contrôle permettant de vérifier l'état des vmtools de plusieurs machines virtuelles |
Les services listés ci-dessus sont créés automatiquement lorsque le modèle d'hôte Virt-VMWare2-VCenter-custom est utilisé.
Alias | Modèle de service | Description | Découverte |
---|
Cluster-Cpu | Virt-VMWare2-Cluster-Cpu-Generic-custom | Contrôle permettant de vérifier l'utilisation processeur d'un cluster | |
Cluster-Cpu-Global | Virt-VMWare2-Cluster-Cpu-Global-custom | Contrôle permettant de vérifier l'utilisation processeur des clusters | |
Cluster-Status | Virt-VMWare2-Cluster-Status-Generic-custom | Contrôle permettant de vérifier l'état global d'une machine virtuelle | |
Cluster-Status-Global | Virt-VMWare2-Cluster-Status-Global-custom | Contrôle permettant de vérifier l'état global de plusieurs machines virtuelles | X |
Datacenter-Alarms | Virt-VMWare2-Datacenter-Alarms-Generic-custom | Contrôle permettant de vérifier les alarmes d'un datacenter | |
Datacenter-Alarms-Global | Virt-VMWare2-Datacenter-Alarms-Global-custom | Contrôle permettant de vérifier les alarmes des datacenters | X |
Datastore-Io-Global | Virt-VMWare2-Datastore-Io-Global-custom | Contrôle permettant de vérifier le taux d'utilisation en Kbps des datastores | X |
Datastore-Iops-Global | Virt-VMWare2-Datastore-Iops-Global-custom | Contrôle permettant de vérifier les IOPs moyens de plusieurs datastores | X |
Datastore-Snapshots-Global | Virt-VMWare2-Datastore-Snapshots-Global-custom | Contrôle permettant de vérifier le taux d'utilisation des snapshots sur plusieurs datastores | |
Datastore-Usage-Global | Virt-VMWare2-Datastore-Usage-Global-custom | Contrôle permettant de vérifier le taux d'utilisation de plusieurs datastores | X |
Datastore-Vm-Count-Global | Virt-VMWare2-Datastore-Vm-Count-Global-custom | Contrôle permettant de vérifier le nombre de machines virtuelles allumées/éteintes/suspendues sur plusieurs datastores | X |
ESX-Alarms-Global | Virt-VMWare2-ESX-Alarms-Global-custom | Contrôle permettant de vérifier les alarmes des serveurs ESX | |
Esx-Cpu-Global | Virt-VMWare2-ESX-Cpu-Global-custom | Contrôle permettant de vérifier le taux d'utilisation CPU de plusieurs serveurs ESX | |
Esx-Datastores-Latency-Global | Virt-VMWare2-ESX-Datastores-Latency-Global-custom | Contrôle permettant de vérifier la latence rencontré par les serveurs ESX sur ses datastores | |
Esx-Health-Global | Virt-VMWare2-ESX-Health-Global-custom | Contrôle permettant de vérifier les sondes matériels et processeurs de plusieurs serveurs ESX | |
Esx-Memory-Global | Virt-VMWare2-ESX-Memory-Global-custom | Contrôle permettant de vérifier le taux d'utilisation mémoire de plusieurs serveurs ESX | |
Esx-Service-Global | Virt-VMWare2-ESX-Service-Global-custom | Contrôle permettant de vérifier l'état des services de plusieurs serveurs ESX | |
Esx-Status-Global | Virt-VMWare2-ESX-Status-Global-custom | Contrôle permettant de vérifier l'état global de plusieurs serveurs ESX | |
Esx-Storage-Global | Virt-VMWare2-ESX-Storage-Global-custom | Contrôle permettant de vérifier les informations de stockage de plusieurs serveurs ESX | |
Esx-Swap-Global | Virt-VMWare2-ESX-Swap-Global-custom | Contrôle permettant de vérifier si une machine virtuelle swappe sur les serveurs ESX | |
Esx-Time-Global | Virt-VMWare2-ESX-Time-Global-custom | Contrôle permettant de vérifier le décalage de temps de plusieurs serveurs ESX | |
Esx-Traffic-Global | Virt-VMWare2-ESX-Traffic-Global-custom | Contrôle permettant de vérifier le taux d'utilisation de plusieurs interfaces réseau physique de plusieurs serveurs ESX. Les seuils sont en pourcent | |
Esx-Uptime-Global | Virt-VMWare2-ESX-Uptime-Global-custom | Contrôle permettant de récuperer l'uptime en jours des serveurs ESX | |
Esx-Vm-Count-Global | Virt-VMWare2-ESX-Vm-Count-Global-custom | Contrôle permettant de vérifier le nombre de machines virtuelles allumées/éteintes/suspendues sur plusieurs serveurs ESX | |
Esx-is-Maintenance-Global | Virt-VMWare2-ESX-Maintenance-Global-custom | Contrôle permettant de vérifier le mode de maintenance de plusieurs serveurs ESX | |
Licenses | Virt-VMWare2-Licenses-custom | Contrôle permettant de vérifier l'utilisation des licences | |
Vm-Cpu-Global | Virt-VMWare2-Vm-Cpu-Global-custom | Contrôle permettant de vérifier le taux d'utilisation CPU d'une machine virtuelle | |
Vm-Datastores-Iops-Global | Virt-VMWare2-Vm-Datastores-Iops-Global-custom | Contrôle permettant de vérifier le taux d'utilisation des datastores rattachées aux machines virtuelles. | |
Vm-Device-Global | Virt-VMWare2-Vm-Device-Global-custom | Contrôle permettant de vérifier le taux d'utilisation CPU d'une machine virtuelle | |
Vm-Limit-Global | Virt-VMWare2-Vm-Limit-Global-custom | Contrôle permettant de vérifier la définition de limites | |
Vm-Memory-Global | Virt-VMWare2-Vm-Memory-Global-custom | Contrôle permettant de vérifier le taux d'utilisation mémoire des machines virtuelles | |
Vm-Snapshot-Global | Virt-VMWare2-Vm-Snapshot-Global-custom | Contrôle permettant de vérifier l'âge des snapshosts sur plusieurs machine virtuelles | |
Vm-Status-Global | Virt-VMWare2-Vm-Status-Global-custom | Contrôle permettant de vérifier l'état global de plusieurs machines virtuelles | |
Vm-Swap-Global | Virt-VMWare2-Vm-Swap-Global-custom | Contrôle permettant de vérifier si les machines virtuelles swappent | |
Vm-Thinprovisioning-Global | Virt-VMWare2-Vm-Thinprovisioning-Global-custom | Contrôle permettant de vérifier si une machine virtuelle possède un disque en mode 'thinprovisioning' ou non | |
Vsan-Cluster-Usage | Virt-VMWare2-Vsan-Cluster-Usage-Generic-custom | Contrôle permettant de vérifier les performances d'un cluster VSAN | |
Vsan-Cluster-Usage-Global | Virt-VMWare2-Vsan-Cluster-Usage-Global-custom | Contrôle permettant de vérifier les performances d'un cluster VSAN | |
Les services listés ci-dessus ne sont pas créés automatiquement lorsqu'un modèle d'hôte est appliqué. Pour les utiliser, créez un service manuellement et appliquez le modèle de service souhaité.
Si la case Découverte est cochée, cela signifie qu'une règle de découverte de service existe pour ce service.
Règles de découverte​
Découverte de service​
Nom de la règle | Description |
---|
Virt-VMWare2-Datacenters-Alarm-Name | |
Virt-VMWare2-Vcenter-Clusters-Status-Name | |
Virt-VMWare2-Vcenter-Datastores-Io-Name | |
Virt-VMWare2-Vcenter-Datastores-Iops-Name | |
Virt-VMWare2-Vcenter-Datastores-Usage-Name | |
Virt-VMWare2-Vcenter-Datastores-Vm-Count-Name | |
Rendez-vous sur la documentation dédiée
pour en savoir plus sur la découverte automatique de services et sa planification.
Métriques & statuts collectés​
Voici le tableau des services pour ce connecteur, détaillant les métriques rattachées à chaque service.
- Cluster-Cpu
- Cluster-Cpu-Global
- Cluster-Status
- Cluster-Status-Global
- Datacenter-Alarms
- Datacenter-Alarms-Global
- Datastore-Io-Global
- Datastore-Iops-Global
- Datastore-Snapshots-Global
- Datastore-Usage-Global
- Datastore-Vm-Count-Global
- ESX-Alarms-Global
- Esx-Cpu-Global
- Esx-Datastores-Latency-Global
- Esx-Health-Global
- Esx-Memory-Global
- Esx-Service-Global
- Esx-Status-Global
- Esx-Storage-Global
- Esx-Swap-Global
- Esx-Time-Global
- Esx-Traffic-Global
- Esx-Uptime-Global
- Esx-Vm-Count-Global
- Esx-is-Maintenance-Global
- Licenses
- Vm-Cpu-Global
- Vm-Datastores-Iops-Global
- Vm-Device-Global
- Vm-Limit-Global
- Vm-Memory-Global
- Vm-Snapshot-Global
- Vm-Status-Global
- Vm-Swap-Global
- Vm-Thinprovisioning-Global
- Vm-Tools-Global
- Vsan-Cluster-Usage
- Vsan-Cluster-Usage-Global
Métrique | Unité |
---|
clusters~cluster.cpu.utilization.percentage | % |
clusters~cluster.cpu.utilization.mhz | MHz |
Métrique | Unité |
---|
clusters~cluster.cpu.utilization.percentage | % |
clusters~cluster.cpu.utilization.mhz | MHz |
Métrique | Unité |
---|
cluster#status | N/A |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
cluster#status | N/A |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
datacenter.alarms.warning.current.count | count |
datacenter.alarms.critical.current.count | count |
status | N/A |
alarm-warning | N/A |
alarm-critical | N/A |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
datacenter.alarms.warning.current.count | count |
datacenter.alarms.critical.current.count | count |
status | N/A |
alarm-warning | N/A |
alarm-critical | N/A |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
datastore.read.usage.bytespersecond | B/s |
datastore.write.usage.bytespersecond | B/s |
datastore#status | N/A |
datastore#datastore.read.usage.bytespersecond | B/s |
datastore#datastore.write.usage.bytespersecond | B/s |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
datastores.read.usage.iops | iops |
datastores.write.usage.iops | iops |
datastore~status | N/A |
datastore~datastore.read.usage.iops | iops |
datastore~datastore.write.usage.iops | iops |
datastore~vm#datastore.vm.read.usage.iops | iops |
datastore~vm#datastore.vm.write.usage.iops | iops |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
datastore~status | N/A |
datastore~datastore.snapshots.usage.bytes | B |
datastore~files#datastore.snapshot.usage.bytes | B |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
datastore#status | N/A |
datastore#datastore.space.usage.bytes | B |
datastore#datastore.space.free.bytes | B |
datastore#datastore.space.usage.percentage | % |
datastore#datastore.space.provisioned.bytes | B |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
datastore.vm.poweredon.current.count | count |
datastore.vm.poweredoff.current.count | count |
datastore.vm.suspended.current.count | count |
datastore#status | N/A |
datastore#datastore.vm.poweredon.current.count | count |
datastore#datastore.vm.poweredoff.current.count | count |
datastore#datastore.vm.suspended.current.count | count |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
host.alarms.warning.current.count | count |
host.alarms.critical.current.count | count |
status | N/A |
alarm-warning | N/A |
alarm-critical | N/A |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
host~status | N/A |
host~host.cpu.utilization.percentage | % |
host~host.cpu.utilization.mhz | MHz |
host~cpu#host.core.cpu.utilization.percentage | % |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
host~status | N/A |
host~datastore#host.datastore.latency.read.milliseconds | ms |
host~datastore#host.datastore.latency.write.milliseconds | ms |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
host.health.problems.current.count | count |
host~status | N/A |
host~ok | N/A |
host~host.health.problems.current.count | count |
host~host.health.yellow.current.count | count |
host~host.health.red.current.count | count |
host~global_summary#global-summary | N/A |
host~sensors_temp#host.sensor.temperature.celsius | C |
host~sensors_fan#host.sensor.fan.speed.rpm | rpm |
host~sensors_voltage#host.sensor.voltage.volt | V |
host~sensors_power#host.sensor.power.watt | W |
Métrique | Unité |
---|
host#status | N/A |
host#host.memory.usage.bytes | B |
host#host.memory.overhead.bytes | B |
host#host.memory.state.count | count |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
host~status | N/A |
host~service#service-status | N/A |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
host#status | N/A |
host#overall-status | N/A |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
host~status | N/A |
host~host.adapters.total.count | count |
host~host.adapters.online.count | count |
host~host.adapters.offline.count | count |
host~host.adapters.fault.count | count |
host~host.adapters.unknown.count | count |
host~host.luns.total.count | count |
host~host.luns.ok.count | count |
host~host.luns.error.count | count |
host~host.luns.off.count | count |
host~host.luns.unknown.count | count |
host~host.luns.quiesced.count | count |
host~host.luns.degraded.count | count |
host~host.paths.total.count | count |
host~host.paths.active.count | count |
host~host.paths.disabled.count | count |
host~host.paths.standby.count | count |
host~host.paths.dead.count | count |
host~host.paths.unknown.count | count |
host~adapters#adapter-status | N/A |
host~luns#lun-status | N/A |
host~paths#path-status | N/A |
Métrique | Unité |
---|
host#status | N/A |
host#host.swap.in.usage.bytespersecond | B/s |
host#host.swap.out.usage.bytespersecond | B/s |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
host#status | N/A |
host#host.time.offset.seconds | s |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
host~status | N/A |
host~host.traffic.in.bitsperseconds | b/s |
host~host.traffic.out.bitsperseconds | b/s |
host~pnic#link-status | N/A |
host~pnic#host.traffic.in.bitsperseconds | b/s |
host~pnic#host.traffic.out.bitsperseconds | b/s |
host~pnic#host.packets.in.dropped.percentage | % |
host~pnic#host.packets.out.dropped.percentage | % |
host~vswitch#host.vswitch.traffic.in.bitsperseconds | b/s |
host~vswitch#host.vswitch.traffic.out.bitsperseconds | b/s |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
host#status | N/A |
host#host.uptime.offset.seconds | s |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
host.vm.poweredon.current.count | count |
host.vm.poweredoff.current.count | count |
host.vm.suspended.current.count | count |
host#status | N/A |
host#host.vm.poweredon.current.count | count |
host#host.vm.poweredoff.current.count | count |
host#host.vm.suspended.current.count | count |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
host#status | N/A |
host#maintenance-status | N/A |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
licenses.total.count | count |
licenses#license.usage.count | count |
licenses#license.free.count | count |
licenses#license.usage.percentage | % |
licenses#license.expires.days | d |
Métrique | Unité |
---|
vm~status | N/A |
vm~vm.cpu.utilization.percentage | % |
vm~vm.cpu.utilization.mhz | MHz |
vm~vm.cpu.ready.percentage | % |
vm~cpu#vm.core.cpu.utilization.percentage | MHz |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
vm~status | N/A |
vm~vm.datastore.latency.max.milliseconds | ms |
vm~datastore#vm.datastore.read.usage.iops | iops |
vm~datastore#vm.datastore.write.usage.iops | iops |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
vm.devices.connected.count | count |
vm#status | N/A |
vm#vm.devices.connected.count | count |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
cpu-status | N/A |
memory-status | N/A |
disk-status | N/A |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
vm~status | N/A |
vm~vm.memory.consumed.usage.bytes | B |
vm~vm.memory.active.usage.bytes | B |
vm~vm.memory.overhead.bytes | B |
vm~vm.memory.ballooning.bytes | B |
vm~vm.memory.shared.bytes | B |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
vm.snapshots.warning.current.count | count |
vm.snapshots.critical.current.count | count |
Métrique | Unité |
---|
vm#status | N/A |
vm#overall-status | N/A |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Métrique | Unité |
---|
vm#status | N/A |
vm#vm.swap.in.usage.bytespersecond | B/s |
vm#vm.swap.out.usage.bytespersecond | B/s |
Pour obtenir ce nouveau format de métrique, incluez la valeur --use-new-perfdata dans la macro de service EXTRAOPTIONS.
Metric name | Unit |
---|
VM Connection State | N/A |
Thin Provisioning Status of VMs | N/A |
VM Power State | N/A |
Métrique | Unité |
---|
vm.tools.notupdated.current.count | count |
vm.tools.notrunning.current.count | count |
vm.tools.notinstalled.current.count | count |
Métrique | Unité |
---|
cluster#cluster.vsan.backend.read.usage.iops | iops |
cluster#cluster.vsan.backend.write.usage.iops | iops |
cluster#cluster.vsan.backend.congestions.count | count |
cluster#cluster.vsan.backend.outstanding.io.count | count |
cluster#cluster.vsan.backend.throughput.read.bytespersecond | B/s |
cluster#cluster.vsan.backend.throughput.write.bytespersecond | B/s |
cluster#cluster.vsan.backend.latency.read.microseconds | µs |
cluster#cluster.vsan.backend.latency.write.microseconds | µs |
Métrique | Unité |
---|
cluster#cluster.vsan.backend.read.usage.iops | iops |
cluster#cluster.vsan.backend.write.usage.iops | iops |
cluster#cluster.vsan.backend.congestions.count | count |
cluster#cluster.vsan.backend.outstanding.io.count | count |
cluster#cluster.vsan.backend.throughput.read.bytespersecond | B/s |
cluster#cluster.vsan.backend.throughput.write.bytespersecond | B/s |
cluster#cluster.vsan.backend.latency.read.microseconds | µs |
cluster#cluster.vsan.backend.latency.write.microseconds | µs |
Prérequis​
Configuration du connecteur Centreon VMWare​
Pour la supervision VMWare, centreon utlise un daemon pour se connecter et requêter le vCenter.
Installez le daemon sur tous les collecteurs :
yum install centreon-plugin-Virtualization-VMWare-daemon
- Centreon Cloud et OnPrem à partir de la 24.10
- Versions de Centreon OnPrem antérieures à la 24.10
Pour configurer les accès à votre infrastructure, éditez le fichier
"/etc/centreon/centreon_vmware.pm" :
%centreon_vmware_config = (
vsphere_server => {
default => {
url => 'https://<ip_hostname>/sdk',
username => '<username>',
password => '<password>'
}
}
);
1;
Assurez-vous d'avoir remplacé toutes les variables avec les informations nécessaires :
- ip_hostname: Adresse IP ou nom d'hôte du vCenter ou de l'ESX (Si il est en mode standalone),
- username: utilisateur avec un accès "lecture seul" au vCenter ou à l'ESX (Vous pouvez utilisez un utilisateur du domaine),
- password: le mot de passe de l'utilisateur.
Vous pouvez configurer plusieurs connexions à différents vCenter ou ESX
en utilisant cette structure:
%centreon_vmware_config = (
vsphere_server => {
'my_first_vcenter' => {
url => 'https://<ip_hostname>/sdk',
username => '<username>',
password => '<password>'
},
'my_other_vcenter' => {
url => 'https://<ip_hostname>/sdk',
username => '<DOMAIN>\<username>',
password => '<password>'
},
},
port => 5700
);
1;
Chaque entrée est un container.
Pour démarrer le daemon et l'activer au démarrage :
systemctl start centreon_vmware
systemctl enable centreon_vmware
Vous pouvez vérifiez que votre configuration est fonctionelle en consultant les journaux dans :
"/var/log/centreon/centreon_vmware.log".
Flux réseau​
Le Collecteur Centreon avec le connecteur VMWare d'installé doit accéder en HTTPS (TCP/443) au vCenter.
Les Collecteurs requêtant le Collecteur avec le connecteur VMWare doit accéder en TCP/5700 au Collecteur avec le Connecteur VMWare.
Installer le connecteur de supervision​
- Si la plateforme est configurée avec une licence online, l'installation d'un paquet
n'est pas requise pour voir apparaître le connecteur dans le menu Configuration > Gestionnaire de connecteurs de supervision.
Au contraire, si la plateforme utilise une licence offline, installez le paquet
sur le serveur central via la commande correspondant au gestionnaire de paquets
associé à sa distribution :
- Alma / RHEL / Oracle Linux 8
- Alma / RHEL / Oracle Linux 9
- Debian 11 & 12
- CentOS 7
dnf install centreon-pack-virtualization-vmware2-vcenter-generic
dnf install centreon-pack-virtualization-vmware2-vcenter-generic
apt install centreon-pack-virtualization-vmware2-vcenter-generic
yum install centreon-pack-virtualization-vmware2-vcenter-generic
- Quel que soit le type de la licence (online ou offline), installez le connecteur VMware vCenter
depuis l'interface web et le menu Configuration > Gestionnaire de connecteurs de supervision.
À partir de Centreon 22.04, il est possible de demander le déploiement automatique
du plugin lors de l'utilisation d'un connecteur. Si cette fonctionnalité est activée, et
que vous ne souhaitez pas découvrir des éléments pour la première fois, alors cette
étape n'est pas requise.
Plus d'informations dans la section Installer le plugin.
Utilisez les commandes ci-dessous en fonction du gestionnaire de paquets de votre système d'exploitation :
- Alma / RHEL / Oracle Linux 8
- Alma / RHEL / Oracle Linux 9
- Debian 11 & 12
- CentOS 7
dnf install centreon-plugin-Virtualization-Vmware2-Connector-Plugin
dnf install centreon-plugin-Virtualization-Vmware2-Connector-Plugin
apt install centreon-plugin-virtualization-vmware2-connector-plugin
yum install centreon-plugin-Virtualization-Vmware2-Connector-Plugin
Utiliser le connecteur de supervision​
Utiliser un modèle d'hôte issu du connecteur​
- Ajoutez un hôte à Centreon depuis la page Configuration > Hôtes.
- Complétez les champs Nom, Alias & IP Address/DNS correspondant à votre ressource.
- Appliquez le modèle d'hôte Virt-VMWare2-VCenter-custom. Une liste de macros apparaît. Les macros vous permettent de définir comment le connecteur se connectera à la ressource, ainsi que de personnaliser le comportement du connecteur.
- Renseignez les macros désirées. Attention, certaines macros sont obligatoires.
Macro | Description | Valeur par défaut | Obligatoire |
---|
CENTREONVMWAREPORT | Connector port | 5700 | |
CENTREONVMWARECONTAINER | Container to use (it depends on the connector's configuration) | default | |
CENTREONVMWAREHOST | Connector hostname (required) | localhost | |
CENTREONVMWAREEXTRAOPTIONS | Any extra option you may want to add to every command (e.g. a --verbose flag). Toutes les options sont listées ici | | |
- Déployez la configuration. L'hôte apparaît dans la liste des hôtes supervisés, et dans la page Statut des ressources. La commande envoyée par le connecteur est indiquée dans le panneau de détails de l'hôte : celle-ci montre les valeurs des macros.
Utiliser un modèle de service issu du connecteur​
- Si vous avez utilisé un modèle d'hôte et coché la case Créer aussi les services liés aux modèles, les services associés au modèle ont été créés automatiquement, avec les modèles de services correspondants. Sinon, créez les services désirés manuellement et appliquez-leur un modèle de service.
- Renseignez les macros désirées (par exemple, ajustez les seuils d'alerte). Les macros indiquées ci-dessous comme requises (Obligatoire) doivent être renseignées.
- Cluster-Cpu
- Cluster-Cpu-Global
- Cluster-Status
- Cluster-Status-Global
- Datacenter-Alarms
- Datacenter-Alarms-Global
- Datastore-Io-Global
- Datastore-Iops-Global
- Datastore-Snapshots-Global
- Datastore-Usage-Global
- Datastore-Vm-Count-Global
- ESX-Alarms-Global
- Esx-Cpu-Global
- Esx-Datastores-Latency-Global
- Esx-Health-Global
- Esx-Memory-Global
- Esx-Service-Global
- Esx-Status-Global
- Esx-Storage-Global
- Esx-Swap-Global
- Esx-Time-Global
- Esx-Traffic-Global
- Esx-Uptime-Global
- Esx-Vm-Count-Global
- Esx-is-Maintenance-Global
- Licenses
- Vm-Cpu-Global
- Vm-Datastores-Iops-Global
- Vm-Device-Global
- Vm-Limit-Global
- Vm-Memory-Global
- Vm-Snapshot-Global
- Vm-Status-Global
- Vm-Swap-Global
- Vm-Thinprovisioning-Global
- Vm-Tools-Global
- Vsan-Cluster-Usage
- Vsan-Cluster-Usage-Global
Macro | Description | Valeur par défaut | Obligatoire |
---|
WARNINGTOTALCPU | Thresholds | | |
CRITICALTOTALCPU | Thresholds | | |
WARNINGTOTALCPUMHZ | Thresholds | | |
CRITICALTOTALCPUMHZ | Thresholds | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTERNAME | cluster to check. If not set, we check all clusters | .* | |
WARNINGTOTALCPU | Thresholds | | |
CRITICALTOTALCPU | Thresholds | | |
WARNINGTOTALCPUMHZ | Thresholds | | |
CRITICALTOTALCPUMHZ | Thresholds | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %{overall_status}, %{vsan_status}, %{drs_enabled}, %{ha_enabled} | %{overall_status} =~ /gray/i || %{vsan_status} =~ /gray/i | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{overall_status}, %{vsan_status}, %{drs_enabled}, %{ha_enabled} | %{overall_status} =~ /yellow/i || %{vsan_status} =~ /yellow/i | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL . You can use the following variables: %{overall_status}, %{vsan_status}, %{drs_enabled}, %{ha_enabled} | %{overall_status} =~ /red/i || %{vsan_status} =~ /red/i | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTERNAME | Cluster to check. If not set, we check all clusters | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %{overall_status}, %{vsan_status}, %{drs_enabled}, %{ha_enabled} | %{overall_status} =~ /gray/i || %{vsan_status} =~ /gray/i | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{overall_status}, %{vsan_status}, %{drs_enabled}, %{ha_enabled} | %{overall_status} =~ /yellow/i || %{vsan_status} =~ /yellow/i | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{overall_status}, %{vsan_status}, %{drs_enabled}, %{ha_enabled} | %{overall_status} =~ /red/i || %{vsan_status} =~ /red/i | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTERTIME | Do not check alarms older than specified time (value in seconds) | 3600 | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status}, %{name}, %{entity}, %{type} | %{status} =~ /yellow/i | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status}, %{name}, %{entity}, %{type} | %{status} =~ /red/i | |
WARNINGTOTALALARMWARNING | Warning threshold | | |
CRITICALTOTALALARMWARNING | Critical threshold | | |
WARNINGTOTALALARMCRITICAL | Warning threshold | | |
CRITICALTOTALALARMCRITICAL | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose --ignore-warn-msg | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Datacenter to check. If not set, we check all datacenters | .* | |
FILTERTIME | Do not check alarms older than specified time (value in seconds) | 3600 | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status}, %{name}, %{entity}, %{type} | %{status} =~ /yellow/i | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status}, %{name}, %{entity}, %{type} | %{status} =~ /red/i | |
WARNINGTOTALALARMWARNING | Warning threshold | | |
CRITICALTOTALALARMWARNING | Critical threshold | | |
WARNINGTOTALALARMCRITICAL | Warning threshold | | |
CRITICALTOTALALARMCRITICAL | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose --ignore-warn-msg | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | The connector will only take into account alerts coming from the datastores listed here | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{accessible} !~ /^true|1$/i'). You can use the following variables: %{accessible} | | |
WARNINGREAD | Warning threshold | | |
CRITICALREAD | Critical threshold | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{accessible} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{accessible} | | |
WARNINGTOTALREAD | Warning threshold | | |
CRITICALTOTALREAD | Critical threshold | | |
WARNINGTOTALWRITE | Warning threshold | | |
CRITICALTOTALWRITE | Critical threshold | | |
WARNINGWRITE | Warning threshold | | |
CRITICALWRITE | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | The connector will only take into account alerts coming from the datastores listed here | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{accessible} !~ /^true|1$/i'). You can use the following variables: %{accessible} | | |
WARNINGREAD | Thresholds | | |
CRITICALREAD | Thresholds | | |
WARNINGREADTOTAL | Thresholds | | |
CRITICALREADTOTAL | Thresholds | | |
WARNINGREADVM | Thresholds | | |
CRITICALREADVM | Thresholds | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{accessible} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{accessible} | | |
WARNINGWRITE | Thresholds | | |
CRITICALWRITE | Thresholds | | |
WARNINGWRITETOTAL | Thresholds | | |
CRITICALWRITETOTAL | Thresholds | | |
WARNINGWRITEVM | Thresholds | | |
CRITICALWRITEVM | Thresholds | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | The connector will only take into account alerts coming from the datastores listed here | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{accessible} !~ /^true|1$/i'). You can use the following variables: %{accessible} | | |
WARNINGSNAPSHOT | Warning threshold | | |
CRITICALSNAPSHOT | Critical threshold | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{accessible} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{accessible} | | |
WARNINGTOTAL | Warning threshold | | |
CRITICALTOTAL | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | The connector will only take into account alerts coming from the datastores listed here | .* | |
UNIT | Set this option to '%' if you want the thresholds to be interpreted as a percentage of the maximum possible value instead of as an absolute threshold. | % | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{accessible} !~ /^true|1$/i'). You can use the following variables: %{accessible} | | |
WARNINGPROVISIONED | Thresholds. : 'usage' (B), 'usage-free' (B), 'usage-prct' (%), 'provisioned' | | |
CRITICALPROVISIONED | Thresholds. : 'usage' (B), 'usage-free' (B), 'usage-prct' (%), 'provisioned' | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{accessible} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{accessible} | | |
WARNINGUSAGE | Thresholds. : 'usage' (B), 'usage-free' (B), 'usage-prct' (%), 'provisioned' | 80 | |
CRITICALUSAGE | Thresholds. : 'usage' (B), 'usage-free' (B), 'usage-prct' (%), 'provisioned' | 90 | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | The connector will only take into account alerts coming from the datastores listed here | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{accessible} !~ /^true|1$/i'). You can use the following variables: %{accessible} | | |
WARNINGOFF | Warning threshold | | |
CRITICALOFF | Critical threshold | | |
WARNINGON | Warning threshold | | |
CRITICALON | Critical threshold | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{accessible} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{accessible} | | |
WARNINGSUSPENDED | Warning threshold | | |
CRITICALSUSPENDED | Critical threshold | | |
WARNINGTOTALOFF | Warning threshold | | |
CRITICALTOTALOFF | Critical threshold | | |
WARNINGTOTALON | Warning threshold | | |
CRITICALTOTALON | Critical threshold | | |
WARNINGTOTALSUSPENDED | Warning threshold | | |
CRITICALTOTALSUSPENDED | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
FILTERTIME | The connector will ignore any alert older than the time period specified here (in seconds). | 3600 | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status}, %{name}, %{entity}, %{type} | %{status} =~ /yellow/i | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status}, %{name}, %{entity}, %{type} | %{status} =~ /red/i | |
WARNINGTOTALALARMWARNING | Warning threshold | | |
CRITICALTOTALALARMWARNING | Critical threshold | | |
WARNINGTOTALALARMCRITICAL | Warning threshold | | |
CRITICALTOTALALARMCRITICAL | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose --ignore-warn-msg | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} | | |
WARNING | Warning threshold | | |
CRITICAL | Critical threshold | | |
WARNINGCPU | Warning threshold | | |
CRITICALCPU | Critical threshold | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status} | | |
WARNINGTOTALCPUMHZ | Warning threshold | | |
CRITICALTOTALCPUMHZ | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTERESXNAME | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
FILTERDATASTORENAME | Datastore to check. If not set, we check all datastores | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} | | |
WARNINGREADLATENCY | Warning threshold | | |
CRITICALREADLATENCY | Critical threshold | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status} | | |
WARNINGWRITELATENCY | Warning threshold | | |
CRITICALWRITELATENCY | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %{status} | %{status} !~ /^connected$/i | |
WARNINGPROBLEMS | Thresholds | | |
CRITICALPROBLEMS | Thresholds | | |
WARNINGPROBLEMSRED | Thresholds | | |
CRITICALPROBLEMSRED | Thresholds | | |
WARNINGPROBLEMSYELLOW | Thresholds | | |
CRITICALPROBLEMSYELLOW | Thresholds | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status} | | |
WARNINGTOTALPROBLEMS | Thresholds | | |
CRITICALTOTALPROBLEMS | Thresholds | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} | | |
WARNING | Warning threshold (can use unit option) | | |
CRITICAL | Critical threshold (can use unit option) | | |
WARNINGOVERHEADMEMORY | Overhead threshold | | |
CRITICALOVERHEADMEMORY | Critical threshold | | |
WARNINGSTATEMEMORY | Warning threshold. For state != 'high': --warning-state=0 | | |
CRITICALSTATEMEMORY | Critical threshold. For state != 'high': --warning-state=0 | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status} | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
FILTERSERVICES | Filter services you want to check (can be a regexp) | ^(?!(snmpd|xorg)$) | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i && %{maintenance} =~ /false/i'). You can use the following variables: %{status} | | |
CRITICALSERVICESTATUS | Define the conditions to match for the status to be CRITICAL (Default: '%{policy} =~ /^on\ | automatic/i && !%{running}'). You can use the following variables: %{running}, %{label}, %{policy} | %{policy} =~ /^on|automatic/i && !%{running} |
WARNINGSERVICESTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{running}, %{label}, %{policy} | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status} | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
UNKNOWNOVERALLSTATUS | Define the conditions to match for the status to be WARNING . You can use the following variables: %{overall_status} | %{overall_status} =~ /gray/i | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} | | |
WARNINGOVERALLSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{overall_status} | %{overall_status} =~ /yellow/i | |
CRITICALOVERALLSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{overall_status} | %{overall_status} =~ /red/i | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status} | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
FILTERADAPTERNAME | Filter adapters by name (can be a regexp) | | |
FILTERLUNNAME | Filter luns by name (can be a regexp) | | |
FILTERPATHNAME | Filter paths by name (can be a regexp) | | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i && %{maintenance} =~ /false/i'). You can use the following variables: %{status}, %{maintenance} | | |
WARNINGADAPTERSFAULT | Thresholds | | |
CRITICALADAPTERSFAULT | Thresholds | | |
WARNINGADAPTERSOFFLINE | Thresholds | | |
CRITICALADAPTERSOFFLINE | Thresholds | | |
WARNINGADAPTERSONLINE | Thresholds | | |
CRITICALADAPTERSONLINE | Thresholds | | |
CRITICALADAPTERSTATUS | Set critical threshold for adapter status. You can use the following variables: %{name}, %{host}, %{status} | %{status} =~ /fault/ | |
WARNINGADAPTERSTATUS | Set warning threshold for adapter status. You can use the following variables: %{name}, %{host}, %{status} | | |
WARNINGADAPTERSTOTAL | Thresholds | | |
CRITICALADAPTERSTOTAL | Thresholds | | |
WARNINGADAPTERSUNKNOWN | Thresholds | | |
CRITICALADAPTERSUNKNOWN | Thresholds | | |
WARNINGLUNSDEGRADED | Set warning threshold for the count of LUNs in a degraded state. | | |
CRITICALLUNSDEGRADED | Set critical threshold for the count of LUNs in a degraded state. | | |
WARNINGLUNSERROR | Set warning threshold for the count of LUNs in an error state. | | |
CRITICALLUNSERROR | Set critical threshold for the count of LUNs in an error state. | | |
WARNINGLUNSOFF | Set warning threshold for the count of LUNs that are offline. | | |
CRITICALLUNSOFF | Set critical threshold for the count of LUNs that are offline. | | |
WARNINGLUNSOK | Set warning threshold for the count of LUNs that are operational. | | |
CRITICALLUNSOK | Set critical threshold for the count of LUNs that are operational. | | |
WARNINGLUNSQUIESCED | Set warning threshold for the count of LUNs that are in a quiesced state. | | |
CRITICALLUNSQUIESCED | Set critical threshold for the count of LUNs that are in a quiesced state. | | |
WARNINGLUNSTATUS | Set warning threshold for lun status. You can use the following variables: %{name}, %{host}, %{status} | %{status} =~ /degraded|quiesced/ | |
CRITICALLUNSTATUS | Set critical threshold for lun status. You can use the following variables: %{name}, %{host}, %{status} | %{status} =~ /lostcommunication|error/ | |
WARNINGLUNSTOTAL | Set warning threshold for the total count of LUNs. | | |
CRITICALLUNSTOTAL | Set critical threshold for the total count of LUNs. | | |
WARNINGLUNSUNKNOWN | Set warning threshold for the count of LUNs with an unknown status. | | |
CRITICALLUNSUNKNOWN | Set critical threshold for the count of LUNs with an unknown status. | | |
WARNINGPATHSACTIVE | Set warning threshold for the count of active storage paths. | | |
CRITICALPATHSACTIVE | Set critical threshold for the count of active storage paths. | | |
WARNINGPATHSDEAD | Set warning threshold for the count of dead storage paths. | | |
CRITICALPATHSDEAD | Set critical threshold for the count of dead storage paths. | | |
WARNINGPATHSDISABLED | Set warning threshold for the count of disabled storage paths. | | |
CRITICALPATHSDISABLED | Set critical threshold for the count of disabled storage paths. | | |
WARNINGPATHSSTANDBY | Set warning threshold for the count of storage paths in standby mode. | | |
CRITICALPATHSSTANDBY | Set critical threshold for the count of storage paths in standby mode. | | |
CRITICALPATHSTATUS | Set critical threshold for path status. You can use the following variables: %{name}, %{host}, %{status} | %{status} =~ /dead/ | |
WARNINGPATHSTATUS | Set warning threshold for path status. You can use the following variables: %{name}, %{host}, %{status} | | |
WARNINGPATHSTOTAL | Set warning threshold for the total count of storage paths. | | |
CRITICALPATHSTOTAL | Set critical threshold for the total count of storage paths. | | |
WARNINGPATHSUNKNOWN | Set warning threshold for the count of storage paths with an unknown status. | | |
CRITICALPATHSUNKNOWN | Set critical threshold for the count of storage paths with an unknown status. | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status}, %{maintenance} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status}, %{maintenance} | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status} | | |
WARNINGSWAPIN | Warning threshold | | |
CRITICALSWAPIN | Critical threshold | | |
WARNINGSWAPOUT | Warning threshold | | |
CRITICALSWAPOUT | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status} | | |
WARNINGTIME | Warning threshold in seconds | -2:2 | |
CRITICALTIME | Critical threshold in seconds | -5:5 | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTERESXNAME | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
FILTERNICNAME | ESX nic to check. If not set, we check all nics | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} | | |
UNKNOWNLINKSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{link_status}, %{display} | | |
WARNINGDROPPEDIN | Thresholds | | |
CRITICALDROPPEDIN | Thresholds | | |
WARNINGDROPPEDOUT | Thresholds | | |
CRITICALDROPPEDOUT | Thresholds | | |
WARNINGHOSTTRAFFICIN | Thresholds | | |
CRITICALHOSTTRAFFICIN | Thresholds | | |
WARNINGHOSTTRAFFICOUT | Thresholds | | |
CRITICALHOSTTRAFFICOUT | Thresholds | | |
WARNINGIN | Thresholds | 80 | |
CRITICALIN | Thresholds | 90 | |
WARNINGLINKSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{link_status}, %{display} | | |
CRITICALLINKSTATUS | Define the conditions to match for the status to be CRITICAL (Default: '%{link_status} !~ /up/'). You can use the following variables: %{link_status}, %{display} | | |
WARNINGOUT | Thresholds | 80 | |
CRITICALOUT | Thresholds | 90 | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status} | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status} | | |
WARNINGTIME | Warning threshold in seconds | | |
CRITICALTIME | Critical threshold in seconds | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} | | |
WARNINGOFF | Warning threshold | | |
CRITICALOFF | Critical threshold | | |
WARNINGON | Warning threshold | | |
CRITICALON | Critical threshold | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status} | | |
WARNINGSUSPENDED | Warning threshold | | |
CRITICALSUSPENDED | Critical threshold | | |
WARNINGTOTALOFF | Warning threshold | | |
CRITICALTOTALOFF | Critical threshold | | |
WARNINGTOTALON | Warning threshold | | |
CRITICALTOTALON | Critical threshold | | |
WARNINGTOTALSUSPENDED | Warning threshold | | |
CRITICALTOTALSUSPENDED | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the ESX to monitor. If not set, we check all ESX | .* | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} | | |
CRITICALMAINTENANCESTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{maintenance} | %{maintenance} !~ /false/ | |
WARNINGMAINTENANCESTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{maintenance} | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status} | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
UNIT | Select the unit for performance data and thresholds. May be 's' for seconds,'m' for minutes, 'h' for hours, 'd' for days, 'w' for weeks. Default is days | d | X |
FILTERNAME | Filter licenses by name (can be a regexp) | | |
FILTEREDITION | Filter licenses by edition name (can be a regexp) | | |
WARNINGEXPIRES | Thresholds | | |
CRITICALEXPIRES | Thresholds | | |
WARNINGTOTALLICENSES | Thresholds | | |
CRITICALTOTALLICENSES | Thresholds | | |
WARNINGUSAGE | Thresholds | | |
CRITICALUSAGE | Thresholds | | |
WARNINGUSAGEFREE | Thresholds | | |
CRITICALUSAGEFREE | Thresholds | | |
WARNINGUSAGEPRCT | Thresholds | | |
CRITICALUSAGEPRCT | Thresholds | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the VMs to monitor. If not set, we check all VMs | .* | |
VMUUID | Filter by UUID | | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{connection_state} !~ /^connected$/i or %{power_state} !~ /^poweredOn$/i'). You can use the following variables: %{connection_state}, %{power_state} | | |
WARNINGCPU | Warning threshold | | |
CRITICALCPU | Critical threshold | | |
WARNINGREADY | Warning threshold | 5 | |
CRITICALREADY | Critical threshold | 10 | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{connection_state}, %{power_state} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{connection_state}, %{power_state} | | |
WARNINGUSAGE | Warning threshold | 80 | |
CRITICALUSAGE | Critical threshold | 90 | |
WARNINGUSAGEMHZ | Warning threshold | | |
CRITICALUSAGEMHZ | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the VMs to monitor. If not set, we check all VMs | .* | |
FILTERDATASTORENAME | Datastore to check. If not set, we check all datastores | .* | |
VMUUID | Filter by UUID | | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{connection_state} !~ /^connected$/i or %{power_state} !~ /^poweredOn$/i'). You can use the following variables: %{connection_state}, %{power_state} | | |
WARNINGMAXTOTALLATENCY | Thresholds | | |
CRITICALMAXTOTALLATENCY | Thresholds | | |
WARNINGREAD | Thresholds | | |
CRITICALREAD | Thresholds | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{connection_state}, %{power_state} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{connection_state}, %{power_state} | | |
WARNINGWRITE | Thresholds | | |
CRITICALWRITE | Thresholds | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the VMs to monitor. If not set, we check all VMs | .* | |
VMUUID | Filter by UUID | | |
FILTERDEVICE | Device to check (Required) (Example: --device='VirtualCdrom') | | X |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{connection_state} !~ /^connected$/i'). You can use the following variables: %{connection_state} | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{connection_state} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{connection_state} | | |
WARNINGTOTALDEVICECONNECTED | Warning threshold | | |
CRITICALTOTALDEVICECONNECTED | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the VMs to monitor. If not set, we check all VMs | .* | |
VMUUID | Filter by UUID | | |
CRITICALCPUSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{connection_state}, %{power_state}, %{limit} | %{limit} != -1 | |
WARNINGCPUSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{connection_state}, %{power_state}, %{limit} | | |
CRITICALDISKSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{connection_state}, %{power_state}, %{limit} | %{limit} != -1 | |
WARNINGDISKSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{connection_state}, %{power_state}, %{limit} | | |
CRITICALMEMORYSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{connection_state}, %{power_state}, %{limit} | %{limit} != -1 | |
WARNINGMEMORYSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{connection_state}, %{power_state}, %{limit} | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the VMs to monitor. If not set, we check all VMs | .* | |
VMUUID | Filter by UUID | | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{connection_state} !~ /^connected$/i or %{power_state} !~ /^poweredOn$/i'). You can use the following variables: %{connection_state}, %{power_state} | | |
WARNING | Warning threshold | | |
CRITICAL | Critical threshold | | |
WARNINGACTIVE | Warning threshold | | |
CRITICALACTIVE | Critical threshold | | |
WARNINGBALLOONING | Warning threshold | | |
CRITICALBALLOONING | Critical threshold | | |
WARNINGOVERHEAD | Warning threshold | | |
CRITICALOVERHEAD | Critical threshold | | |
WARNINGSHARED | Warning threshold | | |
CRITICALSHARED | Critical threshold | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{connection_state}, %{power_state} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{connection_state}, %{power_state} | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the VMs to monitor. If not set, we check all VMs | .* | |
VMUUID | Filter by UUID | | |
WARNING | Warning threshold for snapshot's age | 259200 | |
CRITICAL | Critical threshold for snapshot's age | 432000 | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --disconnect-status='ok' --nopoweredon-skip --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the VMs to monitor. If not set, we check all VMs | .* | |
UNKNOWNOVERALLSTATUS | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %{overall_status} | %{overall_status} =~ /gray/i | |
VMUUID | Filter by UUID | | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{connection_state} !~ /^connected$/i'). You can use the following variables: %{connection_state}, %{power_state} | | |
WARNINGOVERALLSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{overall_status} | %{overall_status} =~ /yellow/i | |
CRITICALOVERALLSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{overall_status} | %{overall_status} =~ /red/i | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{connection_state} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{connection_state}, %{power_state} | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the VMs to monitor. If not set, we check all VMs | .* | |
VMUUID | Filter by UUID | | |
UNKNOWNSTATUS | Define the conditions to match for the status to be UNKNOWN (Default: '%{connection_state} !~ /^connected$/i or %{power_state} !~ /^poweredOn$/i'). You can use the following variables: %{connection_state}, %{power_state} | | |
WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %{connection_state}, %{power_state} | | |
CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{connection_state}, %{power_state} | | |
WARNINGSWAPIN | Warning threshold | | |
CRITICALSWAPIN | Critical threshold | | |
WARNINGSWAPOUT | Warning threshold | | |
CRITICALSWAPOUT | Critical threshold | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the VMs to monitor. If not set, we check all VMs | .* | |
STATUS | Thinprovisioning status (default: none) Example: 'active,CRITICAL' or 'notactive,WARNING' | active,WARNING | X |
VMUUID | Filter by UUID | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --disconnect-status='ok' --nopoweredon-skip --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTER | Hostnames of the VMs to monitor. If not set, we check all VMs | .* | |
NOTINSTALLEDSTATUS | Status if vmtools is not installed (default: critical) | critical | X |
NOTRUNNINGSTATUS | Status if vmtools is not running (default: critical) | critical | X |
NOTUP2DATESTATUS | Status if vmtools is not up to date (default: warning) | warning | |
VMUUID | Filter by UUID | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | --disconnect-status='ok' --nopoweredon-skip --verbose | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
WARNINGBACKENDCONGESTIONS | Thresholds | | |
CRITICALBACKENDCONGESTIONS | Thresholds | | |
WARNINGBACKENDLATENCYREAD | Thresholds | | |
CRITICALBACKENDLATENCYREAD | Thresholds | | |
WARNINGBACKENDLATENCYWRITE | Thresholds | | |
CRITICALBACKENDLATENCYWRITE | Thresholds | | |
WARNINGBACKENDOUTSTANDINGIO | Thresholds | | |
CRITICALBACKENDOUTSTANDINGIO | Thresholds | | |
WARNINGBACKENDREADUSAGE | Thresholds | | |
CRITICALBACKENDREADUSAGE | Thresholds | | |
WARNINGBACKENDTHROUGHPUTREAD | Thresholds | | |
CRITICALBACKENDTHROUGHPUTREAD | Thresholds | | |
WARNINGBACKENDTHROUGHPUTWRITE | Thresholds | | |
CRITICALBACKENDTHROUGHPUTWRITE | Thresholds | | |
WARNINGBACKENDWRITEUSAGE | Thresholds | | |
CRITICALBACKENDWRITEUSAGE | Thresholds | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | | |
Macro | Description | Valeur par défaut | Obligatoire |
---|
FILTERNAME | Cluster to check. If not set, we check all clusters | .* | |
WARNINGBACKENDCONGESTIONS | Thresholds | | |
CRITICALBACKENDCONGESTIONS | Thresholds | | |
WARNINGBACKENDLATENCYREAD | Thresholds | | |
CRITICALBACKENDLATENCYREAD | Thresholds | | |
WARNINGBACKENDLATENCYWRITE | Thresholds | | |
CRITICALBACKENDLATENCYWRITE | Thresholds | | |
WARNINGBACKENDOUTSTANDINGIO | Thresholds | | |
CRITICALBACKENDOUTSTANDINGIO | Thresholds | | |
WARNINGBACKENDREADUSAGE | Thresholds | | |
CRITICALBACKENDREADUSAGE | Thresholds | | |
WARNINGBACKENDTHROUGHPUTREAD | Thresholds | | |
CRITICALBACKENDTHROUGHPUTREAD | Thresholds | | |
WARNINGBACKENDTHROUGHPUTWRITE | Thresholds | | |
CRITICALBACKENDTHROUGHPUTWRITE | Thresholds | | |
WARNINGBACKENDWRITEUSAGE | Thresholds | | |
CRITICALBACKENDWRITEUSAGE | Thresholds | | |
EXTRAOPTIONS | Any extra option you may want to add to the command (e.g. a --verbose flag). Toutes les options sont listées ici | | |
- Déployez la configuration. Le service apparaît dans la liste des services supervisés, et dans la page Statut des ressources. La commande envoyée par le connecteur est indiquée dans le panneau de détails du service : celle-ci montre les valeurs des macros.
Une fois le plugin installé, vous pouvez tester celui-ci directement en ligne
de commande depuis votre collecteur Centreon en vous connectant avec
l'utilisateur centreon-engine (su - centreon-engine
). Vous pouvez tester
que le connecteur arrive bien à superviser une ressource en utilisant une commande
telle que celle-ci (remplacez les valeurs d'exemple par les vôtres) :
/usr/lib/centreon/plugins/centreon_vmware_connector_client.pl \
--plugin=apps::vmware::connector::plugin \
--mode=vsan-cluster-usage \
--custommode=connector \
--connector-hostname='localhost' \
--connector-port='5700' \
--container='default' \
--cluster-name='.*' \
--filter \
--warning-backend-read-usage='' \
--critical-backend-read-usage='' \
--warning-backend-write-usage='' \
--critical-backend-write-usage='' \
--warning-backend-congestions='' \
--critical-backend-congestions='' \
--warning-backend-outstanding-io='' \
--critical-backend-outstanding-io='' \
--warning-backend-throughput-read='' \
--critical-backend-throughput-read='' \
--warning-backend-throughput-write='' \
--critical-backend-throughput-write='' \
--warning-backend-latency-read='' \
--critical-backend-latency-read='' \
--warning-backend-latency-write='' \
--critical-backend-latency-write=''
La commande devrait retourner un message de sortie similaire à :
OK: All clusters are ok | '*cluster*#cluster.vsan.backend.read.usage.iops'=iops;;;0;'*cluster*#cluster.vsan.backend.write.usage.iops'=iops;;;0;'*cluster*#cluster.vsan.backend.congestions.count'=;;;0;'*cluster*#cluster.vsan.backend.outstanding.io.count'=;;;0;'*cluster*#cluster.vsan.backend.throughput.read.bytespersecond'=B/s;;;0;'*cluster*#cluster.vsan.backend.throughput.write.bytespersecond'=B/s;;;0;'*cluster*#cluster.vsan.backend.latency.read.milliseconds'=ms;;;0;'*cluster*#cluster.vsan.backend.latency.write.milliseconds'=ms;;;0;
Voici un autre exemple :
/usr/lib/centreon/plugins//centreon_vmware_connector_client.pl \
--plugin=apps::vmware::connector::plugin \
--mode=snapshot-vm \
--custommode=connector \
--connector-hostname='localhost' \
--connector-port='5700' \
--container='vcenter01' \
--vm-hostname='.*' \
--filter \
--filter-uuid='' \
--warning='259200' \
--critical='432000' \
--disconnect-status='ok' \
--nopoweredon-skip \
--check-consolidation \
--verbose
La commande devrait retourner un message de sortie similaire à :
CRITICAL: Snapshots for VM older than 432000 seconds: [TLS-LIN-001] | 'num_warning'=0;;;0; 'num_critical'=1;;;0;
'TLS-LIN-001' snapshot create time: 2020-07-20T12:19:16.246902Z [only base os image]
La commande ci-dessus contrôle les snapshots de machines virtuelles (--plugin=apps::vmware::connector::plugin --mode=snapshot-vm
).
Elle se connecte au daemon VMWare sur localhost (--connector-hostname='localhost'
), sur le port 5700 (--connector-port='5700'
).
Puis la commande interroge le container vcenter01 (--container='vcenter01'
).
Une alerte WARNING sera déclenchée si l'âge du snapshot est supérieur à 3 jours / 259200s (--warning='259200'
),
et une alerte CRITICAL si le snapshot est plus vieux que 5 jours / 432000s (--critical='432000'
).
Diagnostic des erreurs communes​
Rendez-vous sur la documentation dédiée
pour le diagnostic des erreurs communes des plugins Centreon.
Modes disponibles​
Dans la plupart des cas, un mode correspond à un modèle de service. Le mode est renseigné dans la commande d'exécution
du connecteur. Dans l'interface de Centreon, il n'est pas nécessaire de les spécifier explicitement, leur utilisation est
implicite dès lors que vous utilisez un modèle de service. En revanche, vous devrez spécifier le mode correspondant à ce
modèle si vous voulez tester la commande d'exécution du connecteur dans votre terminal.
Tous les modes disponibles peuvent être affichés en ajoutant le paramètre
--list-mode
à la commande :
/usr/lib/centreon/plugins/centreon_vmware_connector_client.pl \
--plugin=apps::vmware::connector::plugin \
--list-mode
Le plugin apporte les modes suivants :
Mode | Modèle de service associé |
---|
alarm-datacenter [code] | Virt-VMWare2-Datacenter-Alarms-Generic-custom Virt-VMWare2-Datacenter-Alarms-Global-custom |
alarm-host [code] | Virt-VMWare2-ESX-Alarms-Global-custom |
countvm-host [code] | Virt-VMWare2-ESX-Vm-Count-Global-custom |
cpu-cluster [code] | Virt-VMWare2-Cluster-Cpu-Generic-custom Virt-VMWare2-Cluster-Cpu-Global-custom |
cpu-host [code] | Virt-VMWare2-ESX-Cpu-Global-custom |
cpu-vm [code] | Virt-VMWare2-Vm-Cpu-Global-custom |
datastore-countvm [code] | Virt-VMWare2-Datastore-Vm-Count-Global-custom |
datastore-host [code] | Virt-VMWare2-ESX-Datastores-Latency-Global-custom |
datastore-io [code] | Virt-VMWare2-Datastore-Io-Global-custom |
datastore-iops [code] | Virt-VMWare2-Datastore-Iops-Global-custom |
datastore-snapshot [code] | Virt-VMWare2-Datastore-Snapshots-Global-custom |
datastore-usage [code] | Virt-VMWare2-Datastore-Usage-Global-custom |
datastore-vm [code] | Virt-VMWare2-Vm-Datastores-Iops-Global-custom |
device-vm [code] | Virt-VMWare2-Vm-Device-Global-custom |
discovery [code] | Not used in this Monitoring Connector |
getmap [code] | Not used in this Monitoring Connector |
health-host [code] | Virt-VMWare2-ESX-Health-Global-custom |
licenses [code] | Virt-VMWare2-Licenses-custom |
limit-vm [code] | Virt-VMWare2-Vm-Limit-Global-custom |
list-clusters [code] | Used for service discovery |
list-datacenters [code] | Used for service discovery |
list-datastores [code] | Used for service discovery |
list-nichost [code] | Not used in this Monitoring Connector |
maintenance-host [code] | Virt-VMWare2-ESX-Maintenance-Global-custom |
memory-host [code] | Virt-VMWare2-ESX-Memory-Global-custom |
memory-vm [code] | Virt-VMWare2-Vm-Memory-Global-custom |
net-host [code] | Virt-VMWare2-ESX-Traffic-Global-custom |
net-vm [code] | Not used in this Monitoring Connector |
service-host [code] | Virt-VMWare2-ESX-Service-Global-custom |
snapshot-vm [code] | Virt-VMWare2-Vm-Snapshot-Global-custom |
stat-connectors [code] | Not used in this Monitoring Connector |
status-cluster [code] | Virt-VMWare2-Cluster-Status-Generic-custom Virt-VMWare2-Cluster-Status-Global-custom |
status-host [code] | Virt-VMWare2-ESX-Status-Global-custom |
status-vm [code] | Virt-VMWare2-Vm-Status-Global-custom |
storage-host [code] | Virt-VMWare2-ESX-Storage-Global-custom |
swap-host [code] | Virt-VMWare2-ESX-Swap-Global-custom |
swap-vm [code] | Virt-VMWare2-Vm-Swap-Global-custom |
thinprovisioning-vm [code] | Virt-VMWare2-Vm-Thinprovisioning-Global-custom |
time-host [code] | Virt-VMWare2-ESX-Time-Global-custom |
tools-vm [code] | Virt-VMWare2-Vm-Tools-Global-custom |
uptime-host [code] | Virt-VMWare2-ESX-Uptime-Global-custom |
vmoperation-cluster [code] | Not used in this Monitoring Connector |
vsan-cluster-usage [code] | Virt-VMWare2-Vsan-Cluster-Usage-Generic-custom Virt-VMWare2-Vsan-Cluster-Usage-Global-custom |
Options disponibles​
Options génériques​
Les options génériques sont listées ci-dessous :
Option | Description |
---|
--mode | Define the mode in which you want the plugin to be executed (see--list-mode). |
--dyn-mode | Specify a mode with the module's path (advanced). |
--list-mode | List all available modes. |
--mode-version | Check minimal version of mode. If not, unknown error. |
--version | Return the version of the plugin. |
--custommode | When a plugin offers several ways (CLI, library, etc.) to get information the desired one must be defined with this option. |
--list-custommode | List all available custom modes. |
--multiple | Multiple custom mode objects. This may be required by some specific modes (advanced). |
--pass-manager | Define the password manager you want to use. Supported managers are: environment, file, keepass, hashicorpvault and teampass. |
--verbose | Display extended status information (long output). |
--debug | Display debug messages. |
--filter-perfdata | Filter perfdata that match the regexp. Eg: adding --filter-perfdata='avg' will remove all metrics that do not contain 'avg' from performance data. |
--filter-perfdata-adv | Filter perfdata based on a "if" condition using the following variables: label, value, unit, warning, critical, min, max. Variables must be written either %{variable} or %(variable). Eg: adding --filter-perfdata-adv='not (%(value) == 0 and %(max) eq "")' will remove all metrics whose value equals 0 and that don't have a maximum value. |
--explode-perfdata-max | Create a new metric for each metric that comes with a maximum limit. The new metric will be named identically with a '_max' suffix). Eg: it will split 'used_prct'=26.93%;0:80;0:90;0;100 into 'used_prct'=26.93%;0:80;0:90;0;100 'used_prct_max'=100%;;;; |
--change-perfdata --extend-perfdata | Change or extend perfdata. Syntax: --extend-perfdata=searchlabel,newlabel,target[,[newuom],[min],[m ax]] Common examples: Convert storage free perfdata into used: --change-perfdata=free,used,invert() Convert storage free perfdata into used: --change-perfdata=used,free,invert() Scale traffic values automatically: --change-perfdata=traffic,,scale(auto) Scale traffic values in Mbps: --change-perfdata=traffic_in,,scale(Mbps),mbps Change traffic values in percent: --change-perfdata=traffic_in,,percent() |
--extend-perfdata-group | Add new aggregated metrics (min, max, average or sum) for groups of metrics defined by a regex match on the metrics' names. Syntax: --extend-perfdata-group=regex,namesofnewmetrics,calculation[,[ne wuom],[min],[max]] regex: regular expression namesofnewmetrics: how the new metrics' names are composed (can use $1, $2... for groups defined by () in regex). calculation: how the values of the new metrics should be calculated newuom (optional): unit of measure for the new metrics min (optional): lowest value the metrics can reach max (optional): highest value the metrics can reach Common examples: Sum wrong packets from all interfaces (with interface need --units-errors=absolute): --extend-perfdata-group=',packets_wrong,sum(packets_(discard |error)_(in|out))' Sum traffic by interface: --extend-perfdata-group='traffic_in_(.*),traffic_$1,sum(traf fic_(in|out)_$1)' |
--change-short-output --change-long-output | Modify the short/long output that is returned by the plugin. Syntax: --change-short-output=pattern~replacement~modifier Most commonly used modifiers are i (case insensitive) and g (replace all occurrences). Eg: adding --change-short-output='OK~Up~gi' will replace all occurrences of 'OK', 'ok', 'Ok' or 'oK' with 'Up' |
--change-exit | Replace an exit code with one of your choice. Eg: adding --change-exit=unknown=critical will result in a CRITICAL state instead of an UNKNOWN state. |
--range-perfdata | Rewrite the ranges displayed in the perfdata. Accepted values: 0: nothing is changed. 1: if the lower value of the range is equal to 0, it is removed. 2: remove the thresholds from the perfdata. |
--filter-uom | Mask the units when they don't match the given regular expression. |
--opt-exit | Replace the exit code in case of an execution error (i.e. wrong option provided, SSH connection refused, timeout, etc). Default: unknown. |
--output-ignore-perfdata | Remove all the metrics from the service. The service will still have a status and an output. |
--output-ignore-label | Remove the status label ("OK:", "WARNING:", "UNKNOWN:", CRITICAL:") from the beginning of the output. Eg: 'OK: Ram Total:...' will become 'Ram Total:...' |
--output-xml | Return the output in XML format (to send to an XML API). |
--output-json | Return the output in JSON format (to send to a JSON API). |
--output-openmetrics | Return the output in OpenMetrics format (to send to a tool expecting this format). |
--output-file | Write output in file (can be combined with json, xml and openmetrics options). E.g.: --output-file=/tmp/output.txt will write the output in /tmp/output.txt. |
--disco-format | Applies only to modes beginning with 'list-'. Returns the list of available macros to configure a service discovery rule (formatted in XML). |
--disco-show | Applies only to modes beginning with 'list-'. Returns the list of discovered objects (formatted in XML) for service discovery. |
--float-precision | Define the float precision for thresholds (default: 8). |
--source-encoding | Define the character encoding of the response sent by the monitored resource Default: 'UTF-8'. |
--connector-hostname | Connector hostname (required). |
--connector-port | Connector port (default: 5700). |
--container | Container to use (it depends on the connector's configuration). |
--vsphere-address | Address of vpshere/ESX to connect. |
--vsphere-username | Username of vpshere/ESX connection (with --vsphere-address). |
--vsphere-password | Password of vpshere/ESX connection (with --vsphere-address). |
--timeout | Set global execution timeout (Default: 50) |
--sampling-period | Choose the sampling period (can change the default sampling for counters). Should be not different than 300 or 20. |
--time-shift | Can shift the time. We the following option you can average X counters values (default: 0). |
--case-insensitive | Searchs are case insensitive. |
--unknown-connector-status | Set unknown threshold for connector status (Default: '%{code} \< 0 || (%{code} > 0 && %{code} \< 200)'). You can use the following variables: %{code}, %{short_message}, %{extra_message}. |
--warning-connector-status | Set warning threshold for connector status (Default: ''). You can use the following variables: %{code}, %{short_message}, %{extra_message}. |
--critical-connector-status | Set critical threshold for connector status (Default: ''). You can use the following variables: %{code}, %{short_message}, %{extra_message}. |
Options des modes​
Les options disponibles pour chaque modèle de services sont listées ci-dessous :
- Cluster-Cpu
- Cluster-Cpu-Global
- Cluster-Status
- Cluster-Status-Global
- Datacenter-Alarms
- Datacenter-Alarms-Global
- Datastore-Io-Global
- Datastore-Iops-Global
- Datastore-Snapshots-Global
- Datastore-Usage-Global
- Datastore-Vm-Count-Global
- ESX-Alarms-Global
- Esx-Cpu-Global
- Esx-Datastores-Latency-Global
- Esx-Health-Global
- Esx-Memory-Global
- Esx-Service-Global
- Esx-Status-Global
- Esx-Storage-Global
- Esx-Swap-Global
- Esx-Time-Global
- Esx-Traffic-Global
- Esx-Uptime-Global
- Esx-Vm-Count-Global
- Esx-is-Maintenance-Global
- Licenses
- Vm-Cpu-Global
- Vm-Datastores-Iops-Global
- Vm-Device-Global
- Vm-Limit-Global
- Vm-Memory-Global
- Vm-Snapshot-Global
- Vm-Status-Global
- Vm-Swap-Global
- Vm-Thinprovisioning-Global
- Vm-Tools-Global
- Vsan-Cluster-Usage
- Vsan-Cluster-Usage-Global
Option | Description |
---|
--cluster-name | cluster to check. If not set, we check all clusters. |
--filter | Cluster name is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--warning- --critical- | Thresholds. Can be: 'total-cpu', 'total-cpu-mhz'. |
Option | Description |
---|
--cluster-name | cluster to check. If not set, we check all clusters. |
--filter | Cluster name is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--warning- --critical- | Thresholds. Can be: 'total-cpu', 'total-cpu-mhz'. |
Option | Description |
---|
--cluster-name | cluster to check. If not set, we check all clusters. |
--filter | Cluster name is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{overall_status} =~ /gray/i || %{vsan_status} =~ /gray/i'). You can use the following variables: %{overall_status}, %{vsan_status}, %{drs_enabled}, %{ha_enabled} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: '%{overall_status} =~ /yellow/i || %{vsan_status} =~ /yellow/i'). You can use the following variables: %{overall_status}, %{vsan_status}, %{drs_enabled}, %{ha_enabled} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: '%{overall_status} =~ /red/i || %{vsan_status} =~ /red/i'). You can use the following variables: %{overall_status}, %{vsan_status}, %{drs_enabled}, %{ha_enabled} |
Option | Description |
---|
--cluster-name | cluster to check. If not set, we check all clusters. |
--filter | Cluster name is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{overall_status} =~ /gray/i || %{vsan_status} =~ /gray/i'). You can use the following variables: %{overall_status}, %{vsan_status}, %{drs_enabled}, %{ha_enabled} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: '%{overall_status} =~ /yellow/i || %{vsan_status} =~ /yellow/i'). You can use the following variables: %{overall_status}, %{vsan_status}, %{drs_enabled}, %{ha_enabled} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: '%{overall_status} =~ /red/i || %{vsan_status} =~ /red/i'). You can use the following variables: %{overall_status}, %{vsan_status}, %{drs_enabled}, %{ha_enabled} |
Option | Description |
---|
--memcached | Memcached server to use (only one server). |
--redis-server | Redis server to use (only one server). Syntax: address[:port] |
--redis-attribute | Set Redis Options (--redis-attribute="cnx_timeout=5"). |
--redis-db | Set Redis database index. |
--failback-file | Failback on a local file if redis connection failed. |
--memexpiration | Time to keep data in seconds (Default: 86400). |
--statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
--statefile-suffix | Define a suffix to customize the statefile name (Default: ''). |
--statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
--statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
--statefile-key | Define the key to encrypt/decrypt the cache. |
--statefile-cipher | Define the cipher algorithm to encrypt the cache (Default: 'AES'). |
--datacenter | Datacenter to check. If not set, we check all datacenters. |
--exclude-type | Exclude alarms of specified type(s). Can be a regex. Can be for example: --exclude-type='HostSystem' will not show HostSystem alarms. |
--filter | Datacenter is a regexp. |
--filter-time | Do not check alarms older than specified time (value in seconds). |
--filter-type | Check only alarms for specified type(s). Can be a regex. Can be for example: --filter-type='VirtualMachine' will only show alarms for VirtualMachines. |
--memory | Check new alarms only. |
--warning-status | Define the conditions to match for the status to be WARNING (Default: '%{status} =~ /yellow/i). You can use the following variables: %{status}, %{name}, %{entity}, %{type}. |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: '%{status} =~ /red/i'). You can use the following variables: %{status}, %{name}, %{entity}, %{type}. |
--warning-* | Warning threshold. Can be: 'total-alarm-warning', 'total-alarm-critical'. |
--critical-* | Critical threshold. Can be: 'total-alarm-warning', 'total-alarm-critical'. |
Option | Description |
---|
--memcached | Memcached server to use (only one server). |
--redis-server | Redis server to use (only one server). Syntax: address[:port] |
--redis-attribute | Set Redis Options (--redis-attribute="cnx_timeout=5"). |
--redis-db | Set Redis database index. |
--failback-file | Failback on a local file if redis connection failed. |
--memexpiration | Time to keep data in seconds (Default: 86400). |
--statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
--statefile-suffix | Define a suffix to customize the statefile name (Default: ''). |
--statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
--statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
--statefile-key | Define the key to encrypt/decrypt the cache. |
--statefile-cipher | Define the cipher algorithm to encrypt the cache (Default: 'AES'). |
--datacenter | Datacenter to check. If not set, we check all datacenters. |
--exclude-type | Exclude alarms of specified type(s). Can be a regex. Can be for example: --exclude-type='HostSystem' will not show HostSystem alarms. |
--filter | Datacenter is a regexp. |
--filter-time | Do not check alarms older than specified time (value in seconds). |
--filter-type | Check only alarms for specified type(s). Can be a regex. Can be for example: --filter-type='VirtualMachine' will only show alarms for VirtualMachines. |
--memory | Check new alarms only. |
--warning-status | Define the conditions to match for the status to be WARNING (Default: '%{status} =~ /yellow/i). You can use the following variables: %{status}, %{name}, %{entity}, %{type}. |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: '%{status} =~ /red/i'). You can use the following variables: %{status}, %{name}, %{entity}, %{type}. |
--warning-* | Warning threshold. Can be: 'total-alarm-warning', 'total-alarm-critical'. |
--critical-* | Critical threshold. Can be: 'total-alarm-warning', 'total-alarm-critical'. |
Option | Description |
---|
--datastore-name | The connector will only take into account alerts coming from the datastores listed here |
--filter | Datastore name is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{accessible} !~ /^true|1$/i'). You can use the following variables: %{accessible} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{accessible} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{accessible} |
--warning-* | Warning threshold. Can be: 'total-read', 'total-write', 'read', 'write'. |
--critical-* | Critical threshold. Can be: 'total-read', 'total-write', 'read', 'write'. |
Option | Description |
---|
--datastore-name | The connector will only take into account alerts coming from the datastores listed here |
--filter | Datastore name is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--detail-iops-min | Only display VMs with iops higher value (default: 50). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{accessible} !~ /^true|1$/i'). You can use the following variables: %{accessible} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{accessible} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{accessible} |
--warning- --critical- | Thresholds. Can be: 'read-total', 'write-total', 'read', 'write', 'read-vm', 'write-vm'. |
Option | Description |
---|
--datastore-name | The connector will only take into account alerts coming from the datastores listed here |
--filter | Datastore name is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{accessible} !~ /^true|1$/i'). You can use the following variables: %{accessible} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{accessible} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{accessible} |
--warning-* | Warning threshold. Can be: 'total', 'snapshot'. |
--critical-* | Critical threshold. Can be: 'total', 'snapshot'. |
Option | Description |
---|
--datastore-name | The connector will only take into account alerts coming from the datastores listed here |
--filter | Datastore name is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--filter-host | Filter datastores attached to hosts (can be a regexp). |
--refresh | Explicitly ask vmware to refreshes free-space and capacity values (slower). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{accessible} !~ /^true|1$/i'). You can use the following variables: %{accessible} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{accessible} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{accessible} |
--warning- --critical- | Thresholds. Can be: Can be: 'usage' (B), 'usage-free' (B), 'usage-prct' (%), 'provisioned'. |
Option | Description |
---|
--datastore-name | The connector will only take into account alerts coming from the datastores listed here |
--filter | Datastore name is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{accessible} !~ /^true|1$/i'). You can use the following variables: %{accessible} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{accessible} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{accessible} |
--warning-* | Warning threshold. Can be: 'total-on', 'total-off', 'total-suspended', 'on', 'off', 'suspended'. |
--critical-* | Critical threshold. Can be: 'total-on', 'total-off', 'total-suspended', 'on', 'off', 'suspended'. |
Option | Description |
---|
--memcached | Memcached server to use (only one server). |
--redis-server | Redis server to use (only one server). Syntax: address[:port] |
--redis-attribute | Set Redis Options (--redis-attribute="cnx_timeout=5"). |
--redis-db | Set Redis database index. |
--failback-file | Failback on a local file if redis connection failed. |
--memexpiration | Time to keep data in seconds (Default: 86400). |
--statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
--statefile-suffix | Define a suffix to customize the statefile name (Default: ''). |
--statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
--statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
--statefile-key | Define the key to encrypt/decrypt the cache. |
--statefile-cipher | Define the cipher algorithm to encrypt the cache (Default: 'AES'). |
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | Datacenter is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--filter-time | The connector will ignore any alert older than the time period specified here (in seconds). |
--memory | Check new alarms only. |
--warning-status | Define the conditions to match for the status to be WARNING (Default: '%{status} =~ /yellow/i). You can use the following variables: %{status}, %{name}, %{entity}, %{type}. |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: '%{status} =~ /red/i'). You can use the following variables: %{status}, %{name}, %{entity}, %{type}. |
--warning-* | Warning threshold. Can be: 'total-alarm-warning', 'total-alarm-critical'. |
--critical-* | Critical threshold. Can be: 'total-alarm-warning', 'total-alarm-critical'. |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{status} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{status} |
--warning-* | Warning threshold. Can be: 'total-cpu', 'total-cpu-mhz', 'cpu'. |
--critical-* | Critical threshold. Can be: 'total-cpu', 'total-cpu-mhz', 'cpu'. |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--datastore-name | Datastore to check. If not set, we check all datastores. |
--filter-datastore | Datastore name is a regexp. |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{status} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{status} |
--warning-* | Warning threshold. Can be: 'read-latency', 'write-latency'. |
--critical-* | Critical threshold. Can be: 'read-latency', 'write-latency'. |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--storage-status | Check storage(s) status. |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{status} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{status} |
--warning- --critical- | Thresholds. Can be: 'total-problems', 'problems', 'problems-yellow', 'problems-red', 'sensor-temperature', 'sensor-fan', 'sensor-voltage', 'sensor-power'. |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--units | Units of thresholds (Default: '%') ('%', 'B'). |
--free | Thresholds are on free space left. |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{status} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{status} |
--warning-consumed-memory | Warning threshold (can use unit option). |
--critical-consumed-memory | Critical threshold (can use unit option). |
--warning-overhead-memory | Overhead threshold. |
--critical-overhead-memory | Critical threshold. |
--warning-state-memory | Warning threshold. For state != 'high': --warning-state=0 |
--critical-state-memory | Critical threshold. For state != 'high': --warning-state=0 |
--no-memory-state | Don't check memory state. |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--filter-services | Filter services you want to check (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i && %{maintenance} =~ /false/i'). You can use the following variables: %{status} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{status} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{status} |
--warning-service-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{running}, %{label}, %{policy} |
--critical-service-status | Define the conditions to match for the status to be CRITICAL (Default: '%{policy} =~ /^on|automatic/i && !%{running}'). You can use the following variables: %{running}, %{label}, %{policy} |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{status} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{status} |
--unknown-overall-status | Define the conditions to match for the status to be WARNING (Default: '%{overall_status} =~ /gray/i'). You can use the following variables: %{overall_status} |
--warning-overall-status | Define the conditions to match for the status to be WARNING (Default: '%{overall_status} =~ /yellow/i'). You can use the following variables: %{overall_status} |
--critical-overall-status | Define the conditions to match for the status to be CRITICAL (Default: '%{overall_status} =~ /red/i'). You can use the following variables: %{overall_status} |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--filter-adapter-name | Filter adapters by name (can be a regexp). |
--filter-lun-name | Filter luns by name (can be a regexp). |
--filter-path-name | Filter paths by name (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i && %{maintenance} =~ /false/i'). You can use the following variables: %{status}, %{maintenance} |
--warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %{status}, %{maintenance} |
--critical-status | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{status}, %{maintenance} |
--warning-adapter-status | Set warning threshold for adapter status. You can use the following variables: %{name}, %{host}, %{status} |
--critical-adapter-status | Set critical threshold for adapter status (Default: '%{status} =~ /fault/'). You can use the following variables: %{name}, %{host}, %{status} |
--warning-lun-status | Set warning threshold for lun status (Default: '%{status} =~ /degraded|quiesced/'). You can use the following variables: %{name}, %{host}, %{status} |
--critical-lun-status | Set critical threshold for lun status (Default: '%{status} =~ /lostcommunication|error/'). You can use the following variables: %{name}, %{host}, %{status} |
--warning-path-status | Set warning threshold for path status. You can use the following variables: %{name}, %{host}, %{status} |
--critical-path-status | Set critical threshold for path status (Default: '%{status} =~ /dead/'). You can use the following variables: %{name}, %{host}, %{status} |
--warning- --critical- | Thresholds. Can be: 'adapters-total', 'adapters-online', 'adapters-offline', 'adapters-fault', 'adapters-unknown', |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{status} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{status} |
--warning-* | Warning threshold. Can be: 'swap-in', 'swap-out'. |
--critical-* | Critical threshold. Can be: 'swap-in', 'swap-out'. |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{status} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{status} |
--warning-time | Warning threshold in seconds. |
--critical-time | Critical threshold in seconds. |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--nic-name | ESX nic to check. If not set, we check all nics. |
--filter-vswitch-name | Filter vswitch by name. It monitors only ESX nic that belongs to the filtered vswitches. |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{status} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{status} |
--unknown-link-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %{link_status}, %{display} |
--warning-link-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %{link_status}, %{display} |
--critical-link-status | Define the conditions to match for the status to be CRITICAL (Default: '%{link_status} !~ /up/'). You can use the following variables: %{link_status}, %{display} |
--warning- --critical- | Thresholds. Can be: 'host-traffic-in' (b/s), 'host-traffic-out' (b/s), 'vswitch-traffic-in' (b/s), 'vswitch-traffic-out' (b/s), 'link-traffic-in' (%), 'link-traffic-out' (%), 'link-dropped-in', 'link-dropped-out'. |
--no-proxyswitch | Use the following option if you are checking an ESX 3.x version (it's mandatory). |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{status} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{status} |
--warning-time | Warning threshold in seconds. |
--critical-time | Critical threshold in seconds. |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{status} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{status} |
--warning-* | Warning threshold. Can be: 'total-on', 'total-off', 'total-suspended', 'on', 'off', 'suspended'. |
--critical-* | Critical threshold. Can be: 'total-on', 'total-off', 'total-suspended', 'on', 'off', 'suspended'. |
Option | Description |
---|
--esx-hostname | Hostnames of the ESX to monitor. If not set, we check all ESX. |
--filter | ESX hostname is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{status} !~ /^connected$/i'). You can use the following variables: %{status} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{status} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{status} |
--warning-maintenance-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{maintenance} |
--critical-maintenance-status | Define the conditions to match for the status to be CRITICAL (Default: '%{maintenance} !~ /false/'). You can use the following variables: %{maintenance} |
Option | Description |
---|
--filter-name | Filter licenses by name (can be a regexp). |
--exclude-name | Exclude licenses by name (can be a regexp). |
--filter-edition | Filter licenses by edition name (can be a regexp). |
--exclude-edition | Exclude licenses by edition name (can be a regexp). |
--unit | Select the unit for performance data and thresholds. May be 's' for seconds,'m' for minutes, 'h' for hours, 'd' for days, 'w' for weeks. Default is days. |
--warning- --critical- | Thresholds. Can be: 'total-licenses', 'usage', 'usage-free', 'usage-prct', 'expires'. |
Option | Description |
---|
--vm-hostname | Hostnames of the VMs to monitor. If not set, we check all VMs. |
--filter | VM hostname is a regexp. Exemple : --vm-hostname='^((VM-PROD-*))' --filter |
--filter-description | Filter also virtual machines description (can be a regexp). |
--filter-os | Filter also virtual machines OS name (can be a regexp). |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--scope-host | Search in following host(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{connection_state} !~ /^connected$/i or %{power_state} !~ /^poweredOn$/i'). You can use the following variables: %{connection_state}, %{power_state} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{connection_state}, %{power_state} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{connection_state}, %{power_state} |
--warning-* | Warning threshold. Can be: 'total-cpu', 'total-cpu-mhz', 'cpu-ready', 'cpu'. |
--critical-* | Critical threshold. Can be: 'total-cpu', 'total-cpu-mhz', 'cpu-ready', 'cpu'. |
Option | Description |
---|
--vm-hostname | Hostnames of the VMs to monitor. If not set, we check all VMs. |
--filter | VM hostname is a regexp. |
--filter-description | Filter also virtual machines description (can be a regexp). |
--filter-os | Filter also virtual machines OS name (can be a regexp). |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--scope-host | Search in following host(s) (can be a regexp). |
--datastore-name | Datastore to check. If not set, we check all datastores. |
--filter-datastore | Datastore name is a regexp. |
--display-description | Display virtual machine description. |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{connection_state} !~ /^connected$/i or %{power_state} !~ /^poweredOn$/i'). You can use the following variables: %{connection_state}, %{power_state} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{connection_state}, %{power_state} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{connection_state}, %{power_state} |
--warning- --critical- | Thresholds. Can be: 'max-total-latency', 'read', 'write'. |
Option | Description |
---|
--vm-hostname | Hostnames of the VMs to monitor. If not set, we check all VMs. |
--filter | VM hostname is a regexp. |
--filter-description | Filter also virtual machines description (can be a regexp). |
--filter-os | Filter also virtual machines OS name (can be a regexp). |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--scope-host | Search in following host(s) (can be a regexp). |
--display-description | Display virtual machine description. |
--device | Device to check (Required) (Example: --device='VirtualCdrom'). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{connection_state} !~ /^connected$/i'). You can use the following variables: %{connection_state} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{connection_state} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{connection_state} |
--warning-* | Warning threshold. Can be: 'total-device-connected', 'device-connected'. |
--critical-* | Critical threshold. Can be: 'total-device-connected', 'device-connected'. |
Option | Description |
---|
--vm-hostname | Hostnames of the VMs to monitor. If not set, we check all VMs. |
--filter | VM hostname is a regexp. |
--filter-description | Filter also virtual machines description (can be a regexp). |
--filter-os | Filter also virtual machines OS name (can be a regexp). |
--display-description | Display virtual machine description. |
--check-disk-limit | Check disk limits (since vsphere 5.0). |
--warning-disk-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{connection_state}, %{power_state}, %{limit} |
--critical-disk-status | Define the conditions to match for the status to be CRITICAL (Default: '%{connection_state} !~ /^connected$/i || %{limit} != -1'). You can use the following variables: %{connection_state}, %{power_state}, %{limit} |
--warning-cpu-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{connection_state}, %{power_state}, %{limit} |
--critical-cpu-status | Define the conditions to match for the status to be CRITICAL (Default: '%{connection_state} !~ /^connected$/i || %{limit} != -1'). You can use the following variables: %{connection_state}, %{power_state}, %{limit} |
--warning-memory-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{connection_state}, %{power_state}, %{limit} |
--critical-memory-status | Define the conditions to match for the status to be CRITICAL (Default: '%{connection_state} !~ /^connected$/i || %{limit} != -1'). You can use the following variables: %{connection_state}, %{power_state}, %{limit} |
Option | Description |
---|
--vm-hostname | Hostnames of the VMs to monitor. If not set, we check all VMs. |
--filter | VM hostname is a regexp. |
--filter-description | Filter also virtual machines description (can be a regexp). |
--filter-os | Filter also virtual machines OS name (can be a regexp). |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--scope-host | Search in following host(s) (can be a regexp). |
--display-description | Display virtual machine description. |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{connection_state} !~ /^connected$/i or %{power_state} !~ /^poweredOn$/i'). You can use the following variables: %{connection_state}, %{power_state} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{connection_state}, %{power_state} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{connection_state}, %{power_state} |
--units | Units of thresholds (Default: '%') ('%', 'B'). |
--free | Thresholds are on free space left. |
--warning-* | Warning threshold. Can be: 'consumed', 'active', 'overhead', 'ballooning', 'shared'. |
--critical-* | Critical threshold. Can be: 'consumed', 'active', 'overhead', 'ballooning', 'shared'. |
Option | Description |
---|
--vm-hostname | Hostnames of the VMs to monitor. If not set, we check all VMs. |
--filter | VM hostname is a regexp. |
--filter-description | Filter also virtual machines description (can be a regexp). |
--filter-os | Filter also virtual machines OS name (can be a regexp). |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--scope-host | Search in following host(s) (can be a regexp). |
--display-description | Display virtual machine description. |
--check-consolidation | Check if VM needs consolidation (since vsphere 5.0). |
--disconnect-status | Status if VM disconnected (default: 'unknown'). |
--nopoweredon-skip | Skip check if VM is not poweredOn. |
--empty-continue | Ask to the connector that an empty response is ok. |
--unit | Select the unit for performance data and thresholds. May be 's'for seconds, 'm' for minutes, 'h' for hours, 'd' for days, 'w' for weeks. Default is seconds |
--warning | Warning threshold for snapshot's age. |
--critical | Critical threshold for snapshot's age. |
Option | Description |
---|
--vm-hostname | Hostnames of the VMs to monitor. If not set, we check all VMs. |
--filter | VM hostname is a regexp. |
--filter-description | Filter also virtual machines description (can be a regexp). |
--filter-os | Filter also virtual machines OS name (can be a regexp). |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--scope-host | Search in following host(s) (can be a regexp). |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{connection_state} !~ /^connected$/i'). You can use the following variables: %{connection_state}, %{power_state} |
--warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %{connection_state} |
--critical-status | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %{connection_state}, %{power_state} |
--unknown-overall-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{overall_status} =~ /gray/i'). You can use the following variables: %{overall_status} |
--warning-overall-status | Define the conditions to match for the status to be WARNING (Default: '%{overall_status} =~ /yellow/i'). You can use the following variables: %{overall_status} |
--critical-overall-status | Define the conditions to match for the status to be CRITICAL (Default: '%{overall_status} =~ /red/i'). You can use the following variables: %{overall_status} |
Option | Description |
---|
--vm-hostname | Hostnames of the VMs to monitor. If not set, we check all VMs. |
--filter | VM hostname is a regexp. |
--filter-description | Filter also virtual machines description (can be a regexp). |
--filter-os | Filter also virtual machines OS name (can be a regexp). |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--scope-host | Search in following host(s) (can be a regexp). |
--display-description | Display virtual machine description. |
--unknown-status | Define the conditions to match for the status to be UNKNOWN (Default: '%{connection_state} !~ /^connected$/i or %{power_state} !~ /^poweredOn$/i'). You can use the following variables: %{connection_state}, %{power_state} |
--warning-status | Define the conditions to match for the status to be WARNING (Default: ''). You can use the following variables: %{connection_state}, %{power_state} |
--critical-status | Define the conditions to match for the status to be CRITICAL (Default: ''). You can use the following variables: %{connection_state}, %{power_state} |
--warning-* | Warning threshold. Can be: 'swap-in', 'swap-out'. |
--critical-* | Critical threshold. Can be: 'swap-in', 'swap-out'. |
Option | Description |
---|
--vm-hostname | Hostnames of the VMs to monitor. If not set, we check all VMs. |
--filter | VM hostname is a regexp. |
--filter-description | Filter also virtual machines description (can be a regexp). |
--filter-os | Filter also virtual machines OS name (can be a regexp). |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--scope-host | Search in following host(s) (can be a regexp). |
--disconnect-status | Status if VM disconnected (default: 'unknown'). |
--nopoweredon-skip | Skip check if VM is not poweredOn. |
--display-description | Display virtual machine description. |
--thinprovisioning-status | Thinprovisioning status (default: none) Example: 'active,CRITICAL' or 'notactive,WARNING' |
Option | Description |
---|
--vm-hostname | Hostnames of the VMs to monitor. If not set, we check all VMs. |
--filter | VM hostname is a regexp. |
--filter-description | Filter also virtual machines description (can be a regexp). |
--filter-os | Filter also virtual machines OS name (can be a regexp). |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--scope-cluster | Search in following cluster(s) (can be a regexp). |
--scope-host | Search in following host(s) (can be a regexp). |
--disconnect-status | Status if VM disconnected (default: 'unknown'). |
--nopoweredon-skip | Skip check if VM is not poweredOn. |
--empty-continue | Ask to the connector that an empty response is ok. |
--display-description | Display virtual machine description. |
--tools-notinstalled-status | Status if vmtools is not installed (default: critical). |
--tools-notrunning-status | Status if vmtools is not running (default: critical). |
--tools-notup2date-status | Status if vmtools is not upd2date (default: warning). |
Option | Description |
---|
--cluster-name | cluster to check. If not set, we check all clusters. |
--filter | Cluster name is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--warning- --critical- | Thresholds. Can be: 'backend-write-usage', 'backend-read-usage', 'backend-outstanding-io', 'backend-congestions', 'backend-throughput-read', 'backend-throughput-write' . |
Option | Description |
---|
--cluster-name | cluster to check. If not set, we check all clusters. |
--filter | Cluster name is a regexp. |
--scope-datacenter | Search in following datacenter(s) (can be a regexp). |
--warning- --critical- | Thresholds. Can be: 'backend-write-usage', 'backend-read-usage', 'backend-outstanding-io', 'backend-congestions', 'backend-throughput-read', 'backend-throughput-write' . |
Pour un mode, la liste de toutes les options disponibles et leur signification peut être
affichée en ajoutant le paramètre --help
à la commande :
/usr/lib/centreon/plugins/centreon_vmware_connector_client.pl \
--plugin=apps::vmware::connector::plugin \
--mode=vsan-cluster-usage \
--help