Question

Support For Vmware ESXI 6.7 Monitoring through Centreon 22.04

  • 29 November 2022
  • 9 replies
  • 477 views

Badge +3

I’m trying to monitore vmware esxi 6.7 from my fresh install centreon version 22.04 with no success. 


 

Please help !


9 replies

Userlevel 2
Badge +11

Did you activate or configure vmware connector ?

https://docs.centreon.com/pp/integrations/plugin-packs/procedures/virtualization-vmware2-vcenter-6/

Centreon VMWare Connector

For the VMWare monitoring, Centreon use daemon to connect and request the Vcenter.

Install this daemon on each needed poller:

yum install centreon-plugin-Virtualization-VMWare-daemon
 

To configure the access to your infrastructure, edit the "/etc/centreon/centreon_vmware.pm" configuration file:

%centreon_vmware_config = (
vsphere_server => {
default => {
url => 'https://<ip_hostname>/sdk',
username => '<username>',
password => '<password>'
}
}
);

1;
 

Make sure to replace variables with needed information:

  • ip_hostname: IP address or hostname of the vCenter or ESX (if standalone),
  • username: username with at least "read only" access to the vCenter or ESX (you can use domain user),
  • password: password of the username.

You can configure multiple vCenter or ESXi connections using this 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;
 

Each entry is called a container.

Badge +3

Yes I did ! But I want to notice you that I don’t have Vcenter only Exsi host.

Userlevel 2
Badge +11

That’s the same , in place of vcenter write your esxi IP_HOSTNAME .

 

You dont need a vcenter to use VMWARE connector .

Badge +3

I done : 


%centreon_vmware_config = (
vsphere_server => {


'ESX53' => {'url' => 'https://x.x.x.x/sdk',
'username' => 'xxxxxx',
'password' => 'xxxxx'},

 

'ESX58' => {'url' => 'https://x.x.x.x/sdk',
'username' => 'xxxxx,
'password' => 'xxxxxxx'},
 

port => 5700

);

1;

 

Badge +3

it seems that issue is from  EXSI side, can you share me a link or documentation for exsi 6.7 configurations. I will compare with my actual configs. 

Userlevel 2
Badge +11

In fact i use this one on centreon documentation :

https://docs.centreon.com/pp/integrations/plugin-packs/procedures/virtualization-vmware2-esx/

It works for vcenter and esxi standalone .

Badge +3

Hi @sdouce  ! Well received ! Thanks.

Badge

it seems that issue is from  EXSI side, can you share me a link or documentation for exsi 6.7 configurations. I will compare with my actual configs. 

Bonjour, avez-vous réussi à résoudre votre problème ? Je suis dans le même cas, deux esxi sans vsphere ni vcenter. 

Merci d'avance, 😉

Antoine ROY. 

Badge

Hello,

What is the purpose of the "overall status" check on the standalone esx.

Because from my side I have the same error.
To solve this I had to remove all the checks with the option "overall status" as on the picture.

How did you get this to work with?

Thanks in advance, 

Reply