To detect automatically Virtual machine, and ESX, you must enable the Vsphere source in the file /etc/shinken/modules/sync-vmware.cfg
| Property | Default | Description |
|---|---|---|
| vcenter | vcenter.fqdn.com | FQDN or Ipaddress of the vSphere server. |
| user | DOMAIN\user | User used to connect to the vSphere server. Must be a read-only account. |
| password | PASSWORD | Password for the user access. |
| esx_templates | esx | Host template to set on the detected esx or esxi hosts. |
| vm_templates | vmware-vm | Host template to set on the detected virtual servers. |
Here there an example of the module definition:
define module{
module_name sync-vmware
module_type sync-vmware
check_esx_path /var/lib/shinken/libexec/synchronizer/esx_discovery.pl
vcenter myesx.ovh.com
user admin
password XYZ
esx_templates esx
vm_templates vmware-vm
} |