Skip to main content
Question

vcenter plugin

  • June 28, 2022
  • 9 replies
  • 386 views

Forum|alt.badge.img+3

Hello,

 

We use the centreon vmware plugin for years now.

It works nice with our vcenter 6.5 and our 16 esxi 

 

Here’s the centreon_vmware.pm file

 

%centreon_vmware_config = (
 port => 5701,
 vsphere_server => {
            'vcsa' => {'url' => 'https://vcenter 6 ip/sdk',
                                     'username' => 'username',
                                     'password' => 'pwd'},
            'vcsa7' => {'url' => 'https://vcenter 7 ip/sdk',
                                     'username' => 'username',
                                     'password' => 'pwd'},

                        }
);

1;

 

I so did add the vcsa7 entry, then added the same permissions on the vcenter 7 than in the 6 to monitor our new vcenter with the new esxi’s in it

 

But, you see me coming 🙂 it doesn’t work

I tried to add an esxi by duplicate an actual one, the changing just vcsa by vcsa7

 

and i get a UNKNOWN: Container connection problem

 

Any idea about this? What can i check here?

 

Thank you

9 replies

Forum|alt.badge.img+3
  • Author
  • Steward *
  • June 28, 2022

ok got it, it was a right question :)


Forum|alt.badge.img+8
  • Builder *
  • June 28, 2022

ok got it, it was a right question :)

Hi ! what kind of right ?


Forum|alt.badge.img+3
  • Author
  • Steward *
  • June 28, 2022

Hello,

 

The user used to make the check from the centreon didn’t have the right to do it in the vcenter, i forgot to propagate the rights to the childrens


Forum|alt.badge.img+8
  • Builder *
  • June 28, 2022

Hello,

 

The user used to make the check from the centreon didn’t have the right to do it in the vcenter, i forgot to propagate the rights to the childrens

I see, I have another question you write “vcsa” and “vcsa7” in the centreon_vmware.pm file, im searching to get these information on my vcenter but I don’t know were to get it ? and which plugin are you using to monitor your vcenter ?


Forum|alt.badge.img+3
  • Author
  • Steward *
  • June 28, 2022

i’m using the vmware plugin but i do think they are not free

 

the centreon_vmware.pm is on the centreon not the vcenter, its just names like others


Forum|alt.badge.img+8
  • Builder *
  • June 28, 2022

i’m using the vmware plugin but i do think they are not free

 

the centreon_vmware.pm is on the centreon not the vcenter, its just names like others

which one of vmware plugin? this one?

 In the line ESXNAME there is a name to write but I have to check the name on my Vcenter but I don’t know where I can get this information? Its underline in red where did you get your vcenter name ?

 


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • June 28, 2022

Yep, this is the same plugin. 

 

The ESX Name is the one defined in the VCSA.

 

You can use ‘Configuration > Hosts > Discovery’ to have Centreon doing the job of correctly set this macro value for you. 


Forum|alt.badge.img+8
  • Builder *
  • June 28, 2022

Yep, this is the same plugin. 

 

The ESX Name is the one defined in the VCSA.

 

You can use ‘Configuration > Hosts > Discovery’ to have Centreon doing the job of correctly set this macro value for you. 

 Hi thanks for your answer but I can only discover VM and ESX, but no Vcenter how I can do ?

 And I can’t add these plugins because I have an errror with my licence

But I still think I have the licence because a can use Auto Discovery and we can the licence expires 9999-12-30

 


Forum|alt.badge.img+8
  • Builder *
  • June 29, 2022

i’m using the vmware plugin but i do think they are not free

 

the centreon_vmware.pm is on the centreon not the vcenter, its just names like others

Can you send me the command to check the cluster status on the vcenter please ? Just Hide your information

You can find it here: