VMware vSphere

This topic provides information about configuring the VMware vSphere by using Central Monitoring Administration.

On the Add Monitor Types dialog, with the Monitoring Profile set to VMware vSphere, and the Monitor Type set to VMware vSphere, provide the following details:

Field

Description

vCenter/ESX Server Monitoring Configuration
Collection Mode

Select the type of collection mode

  • Enterprise
  • Cloud LifeCycle Management
JAVA HomeSpecify the path of the Java home.
vCenter/ESX server Details
Host Name

Enter the name or the IP address of the VMware vCenter or ESX server you want to monitor.

Port Number

Enter the port number for the vCenter or ESX server you want to connect to.

Default port: 443

vCenter/ESX Credentials
User Name

Enter the user name required to connect to the vCenter or ESX server.

This user must be the vCenter user and must have Read-Only rights.

PasswordEnter the password required to connect to the vCenter or ESX server.
Confirm Password

Re-enter the password required to connect to the vCenter or ESX server.

Device Hostname lookup order

Define the lookup order for the hostname of the virtual machine. The namespace variable for the hostname of the VSM_VM application class (InfoBox: DNS name) is set according to the value defined in this field.

Valid values are:

  • DNSNAME: (default) The KM sets the hostname variable as the DNS name of the virtual machine (as reported by the VMware tools). If the DNS name of the virtual machine is not available, the hostname is set to an empty string.
  • VMNAME: The KM sets the hostname variable as the virtual machine name if the virtual machine name is a valid DNS name. Otherwise, the hostname is set to an empty string.
  • DNSNAME, VMNAME: The KM sets the hostname variable as the DNS name of the virtual machine (as reported by the VMware tools). If the DNS name is not available, the KM sets the hostname variable as the virtual machine name, provided that virtual machine name is a valid DNS name. If the virtual machine name is not a valid DNS name, the hostname is set to an empty string.
Enable vSAN PerformanceSelect this check box if you want to enable the vSAN performance.
Object Filtering Details
Datacenter Name

Specify a datacenter name or a regular expression to filter datacenters that you want to include or exclude from monitoring.

Note

If you enter a regular expression to include or exclude a datacenter, all the clusters, hosts and virtual machines under that datacenter are included or excluded from monitoring.

Datacenter Filter TypeSelect whether to Include or Exclude the Datacenter filter type.
Cluster Name

Specify a cluster name or a regular expression to filter clusters that you want to include or exclude from monitoring.

Note

If you enter a regular expression to include or exclude a cluster, all the hosts and virtual machines under that cluster are included or excluded from the inventory.

Cluster Filter Type

Select Include or Exclude to include/exclude only those clusters in the inventory that satisfy the regular expression.

Host Name

Specify a host name or a regular expression to filter hosts that you want to include or exclude from monitoring.

Note

If you enter a regular expression to include or exclude a host, all the virtual machines on that host are included or excluded from the inventory.

Host Filter TypeSelect Include or Exclude to include/exclude only those hosts in the inventory that satisfy the regular expression.
VM Name

Specify a virtual machine name or a regular expression to filter virtual machines that you want to include or exclude from monitoring.

Note

If you enter a regular expression to include or exclude a cluster, all the hosts and virtual machines under that cluster are included or excluded from the inventory.

VM Filter TypeSelect Include or Exclude to include/exclude only those virtual machines in the inventory that satisfy the regular expression.
VM DNS Name

Specify a virtual machine DNS name or a regular expression to filter virtual machines that you want to include or exclude from monitoring based on DNS names.

VM DNS Name Filter TypeSelect whether to Include or Exclude the VM DNS Name filter type.
VM IP Address

Specify a virtual machine IP address or a regular expression to filter virtual machines that you want to include or exclude from monitoring based on IP addresses.

VM IP Address Filter TypeSelect whether to Include or Exclude the VM IP Address filter type.
Datastore Name

Specify a datastore name or a regular expression to filter datastore that you want to include or exclude from monitoring.

Datastore Filter TypeSelect Include or Exclude to include/exclude only those datastores in the inventory that satisfy the regular expression.
Exclude SCSI DeviceSelect this check box if you want to exclude SCSI devices from monitoring.
Exclude VM TemplatesSelect this check box if you want to exclude virtual machine templates from monitoring.

Event Monitoring Configuration

Enable Annotations

Select this check box to receive VMware event details in annotations of event filter parameters.

Turn Off EventsSelect this check box to turn off the custom events generated by KM. When you enable this checkbox, it disables all the custom events. When you disable this checkbox, it enables all the custom events. For more details, see custom events.
Event Filtering Details
Filter NameEnter a unique filter name.
Filter DescriptionEnter any significant information that you would like to store about the filter
Managed Object Name

If you selected any one of the managed object type (except Other Type) from the Managed Object Type list, enter the managed object name as it appears in the vCenter.
If you selected Other Type in the Managed Object Type field, enter the type and ID of the managed object in the following format - ManagedObjectID|ManagedObjectType. For example, to create a filter for a network object with a managed object ID of network-19, enter network-19|Network in the Managed Object Name field. You can find the managed object type and ID in the Managed Object browser of vCenter. 

Managed Object Type

Select the type of the managed object for which you want to monitor the events.
The following managed objects are available.

  • Datacenter
  • HostSystem
  • VirtualMachine
  • ClusterComputerResource
  • ResourcePool
  • Datastore
  • Folder
  • Other Type
Monitor Events of Child Entities of this Object

Select the check box to monitor events of all the child instances of the selected managed object name.

For example, if you want to monitor all events for a Datacenter and all its related entities, select this check box and ensure that you have selected Datacenter in the Manged Object Type list.

Event Severity

Select one or more event severity by which you want to filter events for the selected managed object type. 

The following severity values are available for monitoring:

  • Information
  • Warning
  • Error
  • User
Event Types

Enter a comma-separated list of VMware vSphere available event types (VMware event data objects) by which you want to filter events for the selected managed object type.

If you do not specify an event type, all event types are monitored by default.

For example (VMware event data objects): VmConnectedEvent,VmPoweredOffEvent,VmPoweredOnEvent,DrsVmMigratedEvent

Event Users

Enter a comma-separated list of users by which you want to filter events for the selected managed object type.

If you do not specify a user, events for all the users are monitored by default. 

Monitor System Generated Events
Select the check box to monitor system-generated events along with the user-generated events.
Add to ListClick this option for confirming the configuration information that you provided and adding the host name to the list of configured hosts.
Modify SelectionSelect one of the items that you added to the list in the preceding step, and click this option to modify details.
ResetClick this option to clear off your configuration details and revert to default settings.
Add

Click this option to add this monitoring configuration. This information is displayed on the Monitor Configuration page.

After you click this option, you can continue to add more objects for monitoring.

CloseClick this option to exit without saving any changes.
Was this page helpful? Yes No Submitting... Thank you

Comments

  1. Daric Smith

    What permissions are required for the user account?

    Jul 10, 2014 10:23
  2. Shweta Patil

    Thank you for your comment. We need read only permission for the vCenter.

    This information is available at https://docs.bmc.com/docs/display/public/vmwarevsphere40/Configuring+VMware+vCenter.

     

    Jul 11, 2014 08:34
  3. Hal Devore

    It would be useful to note what Object filtering is done if nothing is specified.

    Jan 19, 2015 03:17
  4. William Castro

    When I need to filter several DNS Names, do I need to separate it with commas?

    Sep 05, 2018 03:54
  5. Atul Singh

    Hi William,


    check below link and that should help you.


    Agent Configuration Variables

    Look for FilterVMSDNS variable...

    Sep 10, 2018 10:48