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

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
}
 
  

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).

Here is the list of the host templates that are automatically added:

 
  • centos
  • debian
  • debian5
  • debian6
  • fedora
  • linux
  • oracle-linux
  • redhat
  • redhat4
  • redhat5
  • redhat6
  • windows
  • windows-datacenter
  • windows-enterprise
  • windows2000
  • windows2003
  • windows2008
  • windows2008r2
  • windows2012
  • windows7
  • windowsnt
  • windowsvista
  • windowsxp