Polling vCenter servers

This section explains how to configure event notifications for VMware vCenter Server in your environment such that you are able to monitor your data center more closely for any events. The following topics describe vCenter Server polling in detail:

 

For a detailed overview of how to use the vCenter polling feature, see the video (04:34)

Overview of vCenter server polling

As a BMC Discovery user, you must be up-to-date with your VMware vCenter environment at all times. However, running a scan of your environment might not provide you with a minute-to-minute update. This is because you might have scheduled your scans to occur only once in 24 hours. For that reason, you might be able to better monitor your VM environment if an automated notification is generated every time a VM-related event occurs with the VMs, such as VM moves, and VM renaming.

You can configure the VMware vCenter event source—which is built-in with the BMC Discovery appliance—to gather events from the vCenter servers in your environment. The patterns shipped with BMC Discovery define which events are collected from the vCenter servers. These patterns—which are shipped with TKUs—might be periodically updated to collect additional events. Therefore, if the appropriate patterns are not activated on your appliance, event collection will not occur. For more information about updated patterns, see the latest TKU documentation

The event collection for vCenter instances are disabled by default. You can enable event collection at the global level and the local level. The global level enables event collection for all vCenter Servers, whereas, the local level enables event collection for each individual vCenter Server. When you enable event collection globally, events are collected from all known vCenter Server instances. You can disable any specific vCenter Server in the server domain at any point to exclude it from event collections.

vCenter Polling availability

You can configure automatic polling of vCenter Servers only for version 4.0 and later.

Before you begin

Before you configure event collection for your vCenter Servers, ensure you have the following information:

  • vCenter credentials for all vCenter Server instances that have been set up and are working.
  • vCenter Server instances from which you want to gather events have been scanned in a previous discovery run.

Managing event collection

This section explains how to view and configure event collection for vCenter Servers.

To enable event collection

  1. On the menu bar, click the Administration icon.
    The Administration page is displayed.
  2. In the Discovery section, click Event Sources.
  3. To enable the built-in vCenter event source, from the vCenter table, click Actions > Enable.
    The event collection is now turned on at the global and local levels.

To disable event collection locally

  1. On the menu bar, click the Administration icon.
    The Administration page is displayed.
  2. In the Discovery section, click Event Sources.
  3. In the vCenter Instances field, click the collections status link.
    A list of vCenter Software Instances (SI) is displayed.
  4. Select the vCenter SI that you want to disable. The vCenter SI page is displayed.
  5. Scroll down the vCenter page and In the vCenter Event Collection field, click the Actions list.
  6. Click Disable Event Collection for this vCenter.
    The event collection for the specific vCenter host is now disabled.

    Event notification settings

    The global and local event collection levels are mutually exclusive. This means that if you enable global event collection, local event collection is not automatically enabled. You must individually enable the specific vCenter at the local level.

To view events for all or a specific vCenter Server

  1. To view events for all vCenters in your environment:
    1. On the menu bar, click the Administration icon.
      The Administration page is displayed.
    2. In the Discovery section, click Event Sources.
    3. From the vCenter section, click RecentEvents.
  2. To view events for a specific vCenters in your environment:
    1. On the menu bar, click the Administration icon.
      The Administration page is displayed.
    2. In the Discovery section, click Event Sources.
    3. In the vCenter Instances field, click the collections status link.
      The SI page for the specific VM host is displayed.
    4. Scroll down on the page and select the vCenter SI that you want to disable.
      The SI page is displayed for the vCenter SI.
    5. In the vCenter Event Collection field expand the Actions list.
    6. Click Show Events.
      The events collected for the specific vCenter Server is displayed.

To edit an event source

  1. On the menu bar, click the Administration icon.
    The Administration page is displayed.
  2. In the Discovery section, click Event Sources.
  3. In the Event Source table, perform any of the following steps as required for the specific event source that you want to edit:
    • To reset an event count, in the Event Sources row, click Actions > Reset Count.
      This resets the count to zero. You might need to perform this step to analyze and determine the number of events that are generated from a source within a set period of time.
    • To update other parameters for the event source, in the Event Sources row, click Actions > Edit.
      The Edit Event Source page is displayed.
    • Depending on the fields that you want to edit, perform the following changes:

      FieldDescription
      DescriptionThe information about the event source, which is configured to collect events from a specific source.
      Event RemovalOnce the events are collected, how often are they to be removed from the logs.
      EnabledWhether the event collection is currently enabled.
      Polling IntervalSpecifies how often the event collection must occur.
      **Process vMotion eventsSelect or clear this check box when a VM is moved.
      **Process VM Removal eventsSelect or clear this check box when a VM is removed.
      **Process VM Rename eventsSelect or clear this check box when a VM is renamed.

      ** These listed fields are based on the vCenter Polling patterns that are shipped with the product. Therefore, you might see a difference in the fields displayed in the UI based on the pattern changes from time to time. The patterns are shipped with TKUs. For more information about updated patterns, see the latest TKU documentation.

Related topics

Was this page helpful? Yes No Submitting... Thank you

Comments