Skip to main content

[sysop@centreon ~]# ls -la /etc/centreon/

drwxrwxr-x.   4 centreon centreon  274 Jan  5 11:04 .
drwxr-xr-x. 118 root     root     8192 Jan  5 09:19 ..
-rw-r-----.   1 apache   apache   1277 Nov 24 09:28 centreon.conf.php
-rw-rw-r--.   1 centreon centreon  590 Jan  4 06:44 centreon_vmware.json
-rw-rw-r--.   1 centreon centreon  590 Jan  4 06:44 centreon_vmware.json.backup
-rw-r--r--.   1 root     root      628 Jan  4 07:12 centreon_vmware.pm.deprecated
 

 

Hi, 

Thanks for your interest in Centreon.

Could you give me more detail about how you initialy configured centreon_vmware.json ? 

Did you use direct edit on Poller or the dedicated UI (Additional Connector Configuration), brought by Centreon 24.10 ?

Thanks


I have not configured centreon_vmware.json .
After upgrading from version 24.10.2 to version 24.10.3
the initial configuration changed like this:
centreon_vmware.pm => + centreon_vmware.pm.deprecated
+ centreon_vmware.json


that was the perl config, if you upgrade the plugin on the poller this file (centreon_vmware.pm) is converted to json

 


I have the same problem, everytime I export my poller and move the export files, the file /etc/centreon/centreon_vmware.json is empty

I have to manually edit the file.

after export poller:

{}

What it should be:

{
"vsphere_server" : [
{
"password": "**********",
"username": "vmware-user",
"name": "FIRSTVCENTER",
"url": "https://url-of-first-vcenter-server/sdk"
},
{
"password": "**********",
"username": "vmware-user",
"name": "SECONDVCENTER",
"url": "https://url-of-second-vcenter/sdk"
}
]
}

Where does the export function should get the info to populate this file?

 

UPDATE:

I found the “Additional connector configuration” in the WebGUI and added my vcenters there. Now its working.

 


Hi, thanks for these details.

The json file must be populated using the new Additional Connector Configuraiton menu : https://docs.centreon.com/pp/integrations/plugin-packs/getting-started/how-to-guides/additional-connector-configuration/

We will make the release note and upgrade documentation more explicit about that


🤗Thanks


solved


Reply