From 457d99d25aaefee09a40395160302d961b2f0ca0 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 6 Feb 2019 10:58:03 +0100 Subject: [PATCH] update readme --- connectors/vmware/README.md | 45 ++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/connectors/vmware/README.md b/connectors/vmware/README.md index 8063633e7..3dff1357e 100644 --- a/connectors/vmware/README.md +++ b/connectors/vmware/README.md @@ -1,6 +1,6 @@ # centreon-vmware -“centreon-vmware” is a free and open source project. The project can be used with Centreon and all monitoring softwares compatible with Nagios plugins. +"centreon-vmware" is a free and open source project. The project can be used with Centreon and all monitoring softwares compatible with Nagios plugins. It's a Perl daemon in charged to get back VMWare indicators. This program uses the SDK Perl provided by VMWare. The connector could get following indicators: @@ -41,29 +41,38 @@ Please follow the documentation for the installation: https://github.com/centreo Check vmtools states of virtual machines (with name matching the regexp 'prd'): - $ perl centreon_plugins.pl --plugin=apps::vmware::connector::plugin --custommode=connector --connector-hostname=127.0.0.1 --container=default --verbose --mode=tools-vm --display-description --vm-hostname='prd' --filter + $ perl centreon_plugins.pl --plugin=apps::vmware::connector::plugin --connector-hostname=127.0.0.1 --container=default --verbose --mode=tools-vm --display-description --vm-hostname='prd' --filter WARNING: 1 VM with VMTools not installed | vmtools not installed: prd-Reporting - 10.0.0.1 [description xxxx] Check datastore IOPs of virtual machines (with name matching the regexp 'centreon-central-1|Formation'): - $ perl centreon_plugins.pl --plugin=apps::vmware::connector::plugin --custommode=connector --connector-hostname=127.0.0.1 --container=default --verbose --mode=datastore-vm --vm-hostname='centreon-central-1|Formation' --filter - OK: All Datastore IOPS counters are ok | 'riops_Formation-Reporting - 10.30.2.89_R&D-BI'=0.00iops;;;0; 'wiops_Formation-Reporting - 10.30.2.89_R&D-BI'=1.43iops;;;0; 'riops_centreon-central-1_INTEGRATION'=0.00iops;;;0; 'wiops_centreon-central-1_INTEGRATION'=0.60iops;;;0; - 'Formation-Reporting - 10.30.2.89' read iops on 'R&D-BI' is 0.00 - 'Formation-Reporting - 10.30.2.89' write iops on 'R&D-BI' is 1.43 - 'centreon-central-1' read iops on 'INTEGRATION' is 0.00 - 'centreon-central-1' write iops on 'INTEGRATION' is 0.60 + $ perl centreon_plugins.pl --plugin=apps::vmware::connector::plugin --connector-hostname=127.0.0.1 --container=default --verbose --mode=datastore-vm --vm-hostname='woot|test-migration' --filter + OK: All virtual machines are ok | 'max_total_latency_test-migration'=2.00ms;;;0; 'riops_test-migration_INTEGRATION'=0.41iops;;;0; 'wiops_test-migration_INTEGRATION'=4.84iops;;;0;4.84 'riops_test-migration_ISOs'=0.00iops;;;0; 'wiops_test-migration_ISOs'=0.00iops;;;0;0.00 'max_total_latency_woot'=23.00ms;;;0; 'riops_woot'=0.02iops;;;0; 'wiops_woot'=0.67iops;;;0;0.67 + checking virtual machine 'test-migration' + [connection state connected][power state poweredOn] + max total latency is 2.00 ms + datastore 'INTEGRATION' 0.41 read iops, 4.84 write iops + datastore 'ISOs' 0.00 read iops, 0.00 write iops + checking virtual machine 'woot' + [connection state connected][power state poweredOn] + max total latency is 23.00 ms + datastore 'DSI' 0.02 read iops, 0.67 write iops Check the health of ESX Servers: - $ perl centreon_plugins.pl --plugin=apps::vmware::connector::plugin --custommode=connector --connector-hostname=127.0.0.1 --container=default --verbose --mode=health-host --esx-hostname='.*' --filter --disconnect-status='ok' - OK: All ESX health checks are ok | 'problems_srvi-clus-esx-n2.merethis.net'=0;;;0;299 'problems_srvi-clus-esx-n1.merethis.net'=0;;;0;299 'problems_srvi-clus-esx-n4.merethis.net'=0;;;0;186 'problems_srvi-clus-esx-n3.merethis.net'=0;;;0;186 - Checking srvi-clus-esx-n2.merethis.net - 299 health checks are green - Checking srvi-clus-esx-n1.merethis.net - 299 health checks are green - Checking srvi-clus-esx-n4.merethis.net - 186 health checks are green - Checking srvi-clus-esx-n3.merethis.net - 186 health checks are green + $ perl centreon_plugins.pl --plugin=apps::vmware::connector::plugin --connector-hostname=127.0.0.1 --container=default --verbose --mode=health-host --esx-hostname='.*' --filter --disconnect-status='ok' + OK: 0 total health issue(s) found - All ESX hosts are ok | 'total_problems'=0;;;0;1034 'problems_srvi-clus-esx-n1.int.centreon.com'=0;;;0;315 'problems_yellow_srvi-clus-esx-n1.int.centreon.com'=0;;;0;315 'problems_red_srvi-clus-esx-n1.int.centreon.com'=0;;;0;315 'problems_srvi-clus-esx-n2.int.centreon.com'=0;;;0;315 'problems_yellow_srvi-clus-esx-n2.int.centreon.com'=0;;;0;315 'problems_red_srvi-clus-esx-n2.int.centreon.com'=0;;;0;315 'problems_srvi-clus-esx-n3.int.centreon.com'=0;;;0;202 'problems_yellow_srvi-clus-esx-n3.int.centreon.com'=0;;;0;202 'problems_red_srvi-clus-esx-n3.int.centreon.com'=0;;;0;202 'problems_srvi-clus-esx-n4.int.centreon.com'=0;;;0;202 'problems_yellow_srvi-clus-esx-n4.int.centreon.com'=0;;;0;202 'problems_red_srvi-clus-esx-n4.int.centreon.com'=0;;;0;202 + checking host 'srvi-clus-esx-n1.int.centreon.com' + status connected + 315 health checks are green, 0 total health issue(s) found, 0 yellow health issue(s) found, 0 red health issue(s) found + checking host 'srvi-clus-esx-n2.int.centreon.com' + status connected + 315 health checks are green, 0 total health issue(s) found, 0 yellow health issue(s) found, 0 red health issue(s) found + checking host 'srvi-clus-esx-n3.int.centreon.com' + status connected + 202 health checks are green, 0 total health issue(s) found, 0 yellow health issue(s) found, 0 red health issue(s) found + checking host 'srvi-clus-esx-n4.int.centreon.com' + status connected + 202 health checks are green, 0 total health issue(s) found, 0 yellow health issue(s) found, 0 red health issue(s) found