Goal

To automatically detect Virtual machine, and ESX, you must enable the Vsphere source in the file /etc/shinken/modules/sync-vmware.cfg

 

Variable Descriptions

PropertyDefaultDescription
vcenter vcenter.fqdn.comFQDN 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 esxHost template to set on the detected esx or esxi hosts.
vm_templates vmware-vmHost template to set on the detected virtual servers.

 

Definition Example

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

}