Skip to main content

Actually  I use Centreon v23.04.24 on AlmaLinux 9.5, I monitoring a ESX version standalone without vcenter, i would like monitoring 2 ESX in standalone without vcenter. and i don’t have poller only central server.

I more problem : the first, i found all topic for centreon_vmware.pm but it was deprecated and switch by centreon_vmware.json to my centreon server (the first time when i had set with *.pm file) , but now i’m not sure it’s a good setting and i didn’t find information to the Centreon Document, it talk just about file *.pm ?

{
"vsphere_server" : r
{
"password" : "xxxxxxxxxx",
"url" : "https://10.16.1.020/sdk",
"name" : "default",
"username" : "centreon"
},
{
"password" : "xxxxxxxxxxx",
"url" : "https://10.16.1.010/sdk",
"name" : "esx03",
"username" : "centreon"
}
]
}

My second problems, it doesn’t work, when I try with the above config, i monitoring correctly the first ESX but not the second, i have an error (UNKNOWN: Cannot find 'HostSystem' object) and when i change the name esx03 by default like the first ESX, I monitoring correctly my second  ESX but no longer the first.

on my sensor if I add --container=esx03, i guess name meaning container, but doesn’t work too

on some topics talk about to add a connector to this link https://docs.centreon.com/pp/integrations/plugin-packs/getting-started/how-to-guides/additional-connector-configuration/ then i didn’t find it, where I can add this connector. for me only  i found connectors only by this way Configuration\Control\Connectors but not nothing matches like on the document.

maybe i’am stupid, someone could help me ?

 

it’s ok, I resolved my problem, it’s was to Host configuration the ESXNAME is sensitive about low and uppercase, I had wrote in lowcase and my file centreon_vmware.json is right :-)

 


Reply