Goal
To detect automatically Virtual machine, and ESX, you must enable the Vsphere source in the file /etc/shinken/modules/sync-vmware.cfg
Variable Descriptions
| 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. |
Definition Example
Here there an example of the module definition:
...
| Code Block |
|---|
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
} |
Automatic templates for Virtual Server based on their OS
Some host templates are automatically added to the detected Virtual Server, based on the value set on the vSphere data (VM definition and/or the VMWare tools).
...