Introduction

VMware is a virtualization and cloud computing software that distributes the work of a given virtual server across multiple physical hosts. VMware also enables each physical host to run multiple virtual server instances.

OpsRamp collects inventory and performance data using the following methods:

  • Uses SOAP APIs to access vCenter and ESXi hosts
  • Connects via SSH to monitor appliances
  • Retrieves host hardware data through CIM APIs
  • Gathers vSAN inventory and metrics using Python APIs
  • Uses REST APIs to collect VxRail inventory and performance data

Supported Target Versions

  • Validated on VMware 6.0.0, 6.5.0, 7.0.0, 8.0.0, 8.0.0 U2 and 8.0.0 U3

    Note: Not all metrics are supported,
    see VMware Recommended templates for more details.

Prerequisites

  • Ensure that the end device (vCenter or ESXi host) is reachable from the OpsRamp gateway. Use the following command to verify connectivity: ping <device IP address>

  • Classic Gateway
    Allow inbound and outbound traffic between the OpsRamp gateway and the vCenter or ESXi host server APIs (REST, SOAP, Python, etc.) on the respective port.
    The default port is 443.
    To verify connectivity, use: telnet <device IP address> <port>
    Allow inbound and outbound traffic between the OpsRamp gateway and the vCenter or ESXi CIM interface for CIM-based monitoring.
    The default port is 5989.

  • NextGen Gateway
    Allow inbound and outbound traffic between nodes or load balancers and the vCenter or ESXi APIs (such as REST, SOAP, or Python-based interfaces).
    The default port is 443.
    Allow inbound and outbound traffic on the CIM monitoring port (default: 5989) between nodes/load balancers and the vCenter or ESXi CIM interfaces for hardware-level monitoring.
    The default port is 5989.

  • Inventory and performance monitoring

    • To enable inventory and performance monitoring, create a vCenter user with at least the Read-only role. Make sure to select the “Propagate to children” checkbox when assigning the role.


      Follow the below steps to create a vCenter user with the required permissions for discovery and performance monitoring.

      NetApp Solidfire
      1. Under Single Sign On, click Users and Groups.
      2. Select the required domain from the Domain list box and click Add User.
      NetApp Solidfire
      1. Enter the required details and click Add.
      NetApp Solidfire
      1. Under Groups, select a group from the Group Name and add members by clicking ADD MEMBERS.
        Note: Click ADD GROUP to add a new group.
      NetApp Solidfire
      NetApp Solidfire
      1. Search for the user in the Add Member and click SAVE.
      NetApp Solidfire
      1. Under Access Control, click Global Permissions.
      NetApp Solidfire
      1. Select the user and click +.
      NetApp Solidfire
      1. Search for the user and select the role from the Role list.
      NetApp Solidfire
      1. Select Propagate to children checkbox and click OK.
      NetApp Solidfire

      Note: Username of the vCenter is <name of the user>@<domain name>


  • vCenter appliance monitoring

    • Apply SSH credentials to the vCenter server.

    • Users must have the appropriate privilege to execute commands on the vCenter appliance command prompt. For example, the privilege to execute commands such as shell and help api list.

      Steps to create SSH user for appliance monitoring.
      1. Once a user with the super administrator role successfully logged into vCenter using ssh.
        Note: The default user with a super administrator role is root.

      2. Create a local user account for the vCenter appliance, i.e., admin or super admin using the command localaccounts.user.add --role (admin/superadmin) --username(test) --password,.
        Example: localaccounts.user.add --role admin --username TestUser --password

      3. When prompted, enter and verify the new local user’s password.

      NetApp Solidfire
      1. To switch to bash shell from appliance-shell.
        Command>shell
        Note: if the above command does not work, we recomment using
        Command>bash
        To set appliance shell as the default shell run below command in the vCenter.
        chsh -s /bin/appliancesh <Opsramp-SSH-username>
      2. Exit the shell first, then the vCenter appliance.
      NetApp Solidfire
      1. Login to the created new user role with ssh and we can execute the command service-control --status will work in the new user role directly.
      NetApp Solidfire

      See Create a Local User Account in the vCenter Server Appliance and Enable Access to the VCSA Bash shell or Appliance Shell for more information.

  • Host hardware monitoring through CIM

    • Enable CIM APIs on each ESXi server, open port 5989 for communication, and apply the “VMware ESXi Hardware Status” template for monitoring.

    • You can retrieve ESXi host hardware data using either a vCenter user or an ESXi host user. To retrieve data using a vCenter user, follow these steps:

      • The user accounts configured for VMware integration must have privileges to access CIM APIs. Configure CIM and CIM Interaction permissions to access the host hardware metrics. Refer to Host CIM Privileges in the VMware documentation.

      • From vcenter version 8.0 the CIM monitoring is to be enabled manually using the command esxcli system wbem set -e true by connecting to the respective esxi using ssh credentials as mentioned in the Control Access for CIM-Based Hardware Monitoring Tools in the VMware documentation

      Steps to assign CIM permissions to vCenter users. 1. vCenter User should have Host CIM and CIM interaction privileges.
      2. Click Menu and then select Administration.
      3. In the Administration section, click Roles.
      4. Select the role assigned to the user.
      5. On the right-hand side of the screen, click Privileges.
      6. Check to see if the privileges listed are the ones that should be assigned to the user.
      NetApp Solidfire
      1. Alternatively, grant the rights by taking the following actions:
      • Click Edit role action and select the provider.
      NetApp Solidfire
      • On the Edit Role page, check box the CIM and CIM interaction.
      • Click NEXT.
      NetApp Solidfire
      1. The VMware Host should have the CIM Service functioning.
      NetApp Solidfire
      1. Enable gateway IPAddress access to 5989,5988 port.
      NetApp Solidfire
      1. CIM Secure Server and CIM Server services should be in running state.
      NetApp Solidfire
      1. Able to telnet from the gateway to 5989 port.
        For example: telnet <vmware-host-IP> 5989
        Notes:
        • If you assign CIM privileges to vCenter Account then it will allow you to perform host hardware monitoring or else create and assign.
        • CIM credentials on each host Steps to assign CIM permissions to vCenter Account (yet to work).

    • To retrieve CIM data using an ESXi host user, follow these steps:

      Steps to assign CIM permissions to vCenter users.
      1. Log in to host. Click Manage –> Users –> Add user.
      2. Enter the details and click Add.


      1. Right click on Host and select Permissions.


      1. Select the required role from the list, check the Propagate to all childre option, and click Assign role to apply permissions across all associated objects.



      Steps to create user with CLI commands
      1. Log in to the ESXi host using SSH credential.

      2. Create the user using the following command.

        esxcli system account add --id <username> --password <password> --description <description> --role <role>
        
      3. Use the following command to modify the role assigned to a user on host.

        esxcli system permission set --id=<username> --role=<roleName>
        

        or

        vim-cmd vimsvc/auth/entity_permission_add <moid> <username> <isGroup> <role> <propagate>
        

        Example: Adding ‘admin’ role to a user of the EXSI host.
        esxcli system permission set –id=‘cim’ –role=‘Admin’
        vim-cmd vimsvc/auth/entity_permission_add vim.Folder:ha-folder-root cim false Admin true


  • For RP4VM monitoring, Dell RecoverPoint for Virtual Machines (RP4VM) should be integrated with vSphere.

Hierarchy of vCentre

Compute

  — Compute
    — Datacenter
      — Cluster
        — Host
          — Virtual Machine

Storage

  — Storage
    — Datastore

Install the integration

  1. From All Clients, select a client.
  2. Navigate to Setup > Account.
  3. Select the Integrations and Apps tab.
  4. The Installed Integrations page, where all the installed applications are displayed. If there are no installed applications, it will navigate to the Available Integrations and Apps page.
  5. Click + ADD on the Installed Integrations page. The Available Integrations and Apps page displays all the available applications along with the newly created application with the version.
  6. Search for the application using the search option available. Alternatively, use the All Categories option to search.
NetApp Solidfire
  1. Click ADD on the VMware.
  2. The Configuration page is displayed, enter the below information:
    • Name: Configuration name.
    • IP Address/dnsName: IP Address or DNS Name of the vCenter.
    • CredentialSet: You can select a credential from the list or add a credential.
      Note: To add a credential:
      • Click + ADD available in the CredentialSet dropdown. The ADD CREDENTIAL page is displayed. Enter the following information:
        • Name: Credential name.
        • Description: Brief description of the credential.
        • User Name: User name. If you use a domain account to access vCenter, specify the domain with the username in the format <name of the user>@<domain name>.
        • Password: Password of the vCenter
        • Confirm Password: Confirm password
        • Port: Port of the vCenter. Set 443 for a secure connection.
        • Secure: Select the Secure checkbox for encryption.
        • Connection Timeout (ms): Timeout in milliseconds.
      • Click ADD to add the credential to the credential list.
NetApp Solidfire
  • vCenter Plug-ins Configurations: Enable the vSAN or VxRail check box and enter VxRail manager IP Address.
    Note:
    • For VxRail Components discovery and monitoring, Virtual Machine Discovery is mandatory.
    • For vSAN components discovery and monitoring, VMware Cluster discovery is Mandatory.
  1. Event Schedule: Enable the Event Schedule checkbox.
    Notes:
    • Event Schedule option is displayed if and only if Discovery Schedule option is enabled.
    • VMware Inventory begins when following events are identified at Vcenter: VmClonedEvent, VmDeployedEvent, VmCreatedEvent, VmRemovedEvent, VmRestartedOnAlternateHostEvent, VmRelocatedEvent, VmMigratedEvent, DrsVmMigratedEvent.
  2. FILTER BY RESOURCE TAG: Click Any or All of the rules below to match any one or all of the conditions you define for filtering.
  3. Enter/select the values in the Key, Operator, and Value fields for filtering the resources.
  4. FILTER BY RESOURCE TYPE:
    • ALL: All the existing and future resources will be discovered.
    • SELECT: You can select one or multiple resources to be discovered.
  5. PERFORM ACTION: Select the Manage Device checkbox, if you want the discovered devices to be managed.
  6. Discovery Schedule: Discovery is triggered based on the scheduled time. New resources added to the environment are automatically discovered. Choose one of the following Recurrence Patterns:
    • Hourly
    • Daily
    • Weekly
    • Monthly
    • None (On-demand discovery)
  7. Click NEXT.
NetApp Solidfire
  1. In the Installation page, select an existing registered gateway profile, and click FINISH.
    Note: The selected gateway should be up and running.
NetApp Solidfire
  1. The VMware integration is installed and displayed on the INSTALLED INTEGRATIONS page.

View VMware details

The discovered resource(s) are displayed in Infrastructure > Resources >VMware, with Native Resource Type as VMWareHost. You can navigate to the Attributes tab to view the discovery details.

NetApp Solidfire

Assign Monitoring templates to the resource

  1. Go to Infrastructure > Resources > VMware.
  2. On the Resources page of VMware, click resource name > resource Details > Monitors > Template.
  3. On the Templates screen, click +Assign Templates.
NetApp Solidfire
  1. In the Apply Templates section, AssignTemplates > Available templates, select the templates and click the > button.
  2. Click Assign. The Templates screen displays the selected templates.
NetApp Solidfire

The gateway monitors the application using the assigned templates and displays the results in a graphical format.

While applying a template to a resource, you can customize the default configuration parameters applied to that template.

Configuration ParameterDescription
Connection Time-outMaximum time to connect to the application. The driver waits for the specified time before timing out due to connection failure. The default time is 10000 milliseconds(ms).
VMware API PortPort number where VMware is running. The connection is made to the specified port if you specify the port and the resource name. The default port is 443.
VMware Events Include SecurityEvents triggered from gateway to cloud while applying a vCenter event template. The different events available are:
  • info
  • warning
  • error
  • user

To confirm the monitoring of VMware resource, review the following:

  • The graph is plotted for each metric in the template.
  • Alerts are generated for metrics in the template by giving thresholds.

The Metrics tab to view the metric details for VMware.

NetApp Solidfire

The recommended templates for VMware in each entity level

Resource TypeTemplate nameDescriptionCredentials
VcenterVMware vCenter Performance - v5It collects the performance data of vCenter related to components like CPU, memory, disk etc. All the metrics in this template will be working on vmware 7.0,8.0 versions from gateway version 14.0.0 on-wards, when the metric collection level at vcenter is set to 1.
VMware vCenter All AlarmsCollects data of the triggered alarms on vCenter and child devices and show as alerts (It is recommended to apply this template to the vCenter to capture alarms of vCenter and its child resources as well. Avoid applying resource specific alarm templates directly to child resources.).
VMware vCenter Appliance Performance - v2Monitors the health, resource usage, and performance of the VMware vCenter Server Appliance.SSH creds
VMware vCenter Appliance Storage StatisticsMonitors the VMware vCenter Appliance Storage Statistics like com.vmware.appliance.version1.resources.storage.stats.list.total.inodes,com.vmware.appliance.version1.resources.storage.stats.list.used.inodes,com.vmware.appliance.version1.resources.storage.stats.list.total.space,com.vmware.appliance.version1.resources.storage.stats.list.used.space.SSH creds
Gateway - VMware VCenter Appliance Certificates Expiry - v2Monitors VMware vCenter Certificate(s) Expiry In Days. pre-requisites: 1. This template will be applicable to VMware vCenter Appliance and tested in VMware version: VMware 6.7.0 build-8170161 2. Bash prompt must be enabled on target device. Command for enabling bash prompt on vmware vcenter appliance machine: shell.set --enabled true.
Gateway - VMware VCenter Appliance Service Status - v2Monitors VMware vCenter Service(s) status. It collects service status information by executing this command "service-control --status" from appliance shell.
VMware vCenter EventsCollects the events generated on vmware devices.
VMware vCenter RP4VMs EventsMonitors vCenter RP4VMs Events and it requires 16.2.0 gateway or later.
VMware vCenter RP4VMs TransferStatusIt monitors the VMware vCenter RP4VMs consistency group transfer status. This requires 16.2.0 version Gateway or later.
DatacenterVMware Datacenter AlarmsCollects data of the triggered alarms on datacenter (It doesn’t collect alarms of child entities).
ClusterVMware Cluster Performance - v7This template is to monitor the performance data of cluster related to components like CPU, disk, memory etc. In this version of template support for additional performance metric vmware_cluster_host_down_count is added.
VMware Cluster Extended Template - v2This template is to monitor VMware cluster Overall CPU and Memory Utilization. This template is validated against vCenter 6.7 version. It works with OpsRamp Gateway version 12.0.0 or above and OpsRamp SaaS Version 11.0.0 HF U06 or above.
VMware Cluster AlarmsCollects data of the triggered alarms on cluster (It doesn’t collect alarms of child entities).
HostVMware Host Performance - v10This template is to monitor the performance data of host related to components like CPU, disk, memory etc. In this version of template, support for additional performance metric vmware_host_cpucores_count is added. This template requires gateway version 19.0.0 or later.
VMware Host NTPD ServiceThis template is for checking the status of the Network Time Protocol (NTP) daemon (ntpd) running on a VMware ESXi host.
VMware Host Hardware Health Status - v3This is to monitor the host hardware components like temperature, fans, batteries ,processors etc. vmware.host.hardware.chassis-health.status,vmware.host.hardware.softwarecomponents-health.status metrics are excluded from the previous version template as they are no longer supported by vmware API and the metrics vmware.host.hardware.other.status, vmware.host.hardware.cableinterconnect-health.status,vmware.host.hardware.system-health.status requires gateway version 14.0.0 or later.
VMware Host Extended TemplateThis template is validated for vCenter 6.7 version. Works for Gateway with 9.0.0 and above version.
VMware Host AlarmsCollects data of the triggered alarms on esxi host (It doesn’t collect alarms of child entities).
VMware Host - pNICIt displays the value as 1 if link is capable for full-duplex and value as 0 if the link is capable only for half-duplex and this requires gateway 12.0.0 or later.
VMware ESX Hardware StatusIt monitors health and operational states of multiple components like sensors, processors, storage, batteries and so on.separate CIM creds for esxi host if the default vcenter creds have no CIM privilege or if the host is discovered as standalone.
DatastoreVMware Datastore Performance - v5This template monitors the performance data of the datastore. The metrics vmware.datastore.totalWriteLatency.average, vmware.datastore.totalReadLatency.average, vmware.datastoreVMObservedLatency.latest, vmware.datastore.datastoreIops.average are excluded from the version v3 template as they are no longer supported by vmware API and the metric "vmware.datastore.capacity.usage" is also excluded which is a duplicate of "vmware.datastore.disk.usedCapacity.percentage". From gateway version 14.0.0 onwards, when the metric collection level at vCenter is set to 1, all metrics in this template will work on VMware 7.0. For VMware 8.0, metrics vmware.datastore.numberReadAveraged.average and vmware.datastore.numberWriteAveraged.average will not work at collection level 1.
VMware DataStore - Disk PerformanceIt monitors additional performance metrics like VMware disk number Read summation, VMware disk number read averaged average, VMware disk number write summation, VMware disk number write averaged average.
VMware DataStore - Disk Performance – v2The metrics vmware.disk.numberWrite.summation and vmware.disk.numberRead.summation are excluded from the previous version template as they are no longer supported by VMware API. This template works from gateway version 14.0.0.
VMware Datastore Extended TemplateMonitors vmware.datastore.swap.size and vmware.datastore.snapshot.used.latest. This template is validated for vCenter 6.7 version. Works for Gateway with 9.0.0 and above version.
VMware Datastore AlarmsCollects data of the triggered alarms on datastore.
Virtual MachineVMware VirtualMachine Performance - v10This template is to monitor the performance data of host related to components like CPU, disk, memory etc. In this version, it monitors additional performance metric VMware VM Tools Running Status. It requires gateway version 19.1.0 or later.
VMware VirtualMachine Extended TemplateIt monitors vmware.disk.busResets.summation and vmware.vm.log.size. This template is validated for vCenter 6.7 version. Works for Gateway with 9.0.0 and above version.
VMware VM - Memory PerformanceIt monitors additional performance metrics like VMware memory usage, VMware memory overhead average.
VMware VirtualMachine AlarmsCollects data of the triggered alarms on virtual machine.
VMware VM Snapshot Ageing MonitorIt monitors the VMware virtual machine snapshots age information. It works from gateway version 14.1.0 onwards.

VMware Alarms Document

Create custom alarm metrics

  1. Navigate to Setup > Monitoring > Events.
  2. Click +Add at the right top corner.
  3. For Adapter Type, select VMware.
  4. In the name field, the metric name should be added as follows:

For user defined alarms, the sysname is null. In that case, add the metric name in this format: “vmware_vcenter_alarm_”+alarmName. Here, alarmName should not have any spaces.
Example: If a user defines an alarm with name memory Limit Alarm, then the metric name should be created as vmware_vcenter_alarm_memoryLimitAlarm.

Key Use Case

The following paramaters outlines the current design for events and alarms:

Retrieving all alarms and events on vCenter

When an alarm or event template is assigned to vCenter, all alerts pertaining to vCenter, Data Centers, DataStores, Hosts, and VMs are mapped to the vCenter.

Configuration parameters

Configuration ParameterDescription
vmware.vcenter.alarm.policyIf "vmware.vcenter.alarm.policy" is set to "all," OpsRamp will currently monitor all alarms.

If "vmware.vcenter.alarm.policy" is set to "include", it will only track the alarms that are used as metrics.

Note:
  • The default value of this parameter is set as “include”.
  • When the parameter is set to "all" , the metric names will be with dotted notation in the alerts
  • When customer changes the parameter from “all” to “include”. If an alarm is previously alerted with dotted notation metric in the “all” option and again it is present in the include list with under score notation, a new alert with underscore metric will be generated and the old alarm created with dotted notation will not heal.the customer should suppress them manually
  • When customer changes the parameter from “include” to “all”. If an alarm is previously alerted with underscore notation metric in the “include” option. When the customer changes the parameter from “include” to “all” , The alarm will be alerted again with dotted notation and the old alert with underscore metric will not heal.the customer should suppress them manually
vmware.vcenter.alarm.exclude.entity.listIf an alert's severity type is added to the "vmware.vcenter.alarm.exclude.entity.list" configuration parameter in comma-separated format, our tool will skip that alarm type.

Possible values of this parameter are:

VirtualMachine,Template, Datacenter, Folder, HostSystem, VirtualApp, ResourcePool, ComputeResource, ClusterComputeResource, DistributedVirtualSwitch, DistributedVirtualPortgroup, Datastore, Network, StoragePod, Datacenters.
vmware.vcenter.alarm.exclude.severity.listIf a specific severity type is supplied in comma separated format to the "vmware.vcenter.alarm.exclude.severity.list" configuration parameter, our tool will skip alerts with that severity.
vmware.vcenter.alarm.receive.child.alarmsOnly after applying the template to the vCenter Entity are child alarms monitored.

If “vmware.vcenter.alarm.receive.child.alarms” config param value is set to “no” then our tool will not process the child alarms and this parameter is applicable for vCenter entity only.

Note: The default value of this parameter is “yes”.
vmware.alarms.regex.matchWhen a regular expression is given as input to the "vmware.alarms.regex.match" pattern, the alarm will be processed if its alarm name or sys name matches the regular expression.

Here, the "vmware.vcenter.alarm.policy" should be set to "all".

Note: The default value of this parameter is set as "None".

Deprecated Parameters

The following two configuration options are being deprecated starting with the 14.1.0 gateway version:

  • Vmware.vcenter.process.native.alarms
  • Vmware.vcenter.process.thirdparty.alarms

Supported alarms

Currently OpsRamp supports the below alarms

Metric NameDescription
vmware.vcenter.alarm.ApplmgmtHealthAlarmMonitors the health status of the Appliance Management Service.
vmware.vcenter.alarm.BatteryHealthAlarmMonitors the battery status of hosts.
vmware.vcenter.alarm.BMCHealthAlarmMonitors the status of the Baseboard Management Controller.
vmware.vcenter.alarm.CertificateStatusAlarmMonitors the certificate status of an ESXi host.
vmware.vcenter.alarm.ComponentMgrHealthAlarmMonitors Component Manager Service Health
vmware.vcenter.alarm.ConsistencyGroupViolationDatastore cluster has datastores that belong to different SRM consistency groups.
vmware.vcenter.alarm.ContentLibraryServiceHealthAlarmMonitors the health status of the VMware Content Library Service.
vmware.vcenter.alarm.DatastoreDiskUsageAlarmMonitors datastore disk usage.
vmware.vcenter.alarm.DatastoreInMultipleDatacentersMonitors whether a datastore in a datastore cluster is visible in more than one data center.
vmware.vcenter.alarm.DatastoreStorageComplianceAlarmMonitors whether the virtual disk on the datastore complies with the object-based storage.
vmware.vcenter.alarm.DBHealthAlarm
vmware.vcenter.alarm.DSHealthAlarmMonitors the health status of the Data Service.
vmware.vcenter.alarm.EAMHealthAlarmMonitors the health status of the ESX Agent Manager.
vmware.vcenter.alarm.ExitStandbyErrorAlarmMonitors whether a host cannot exit standby mode.
vmware.vcenter.alarm.FailoverFailedAlarm
vmware.vcenter.alarm.FanHealthAlarmMonitors host fans.
vmware.vcenter.alarm.HAcannotFindMasterMonitors whether vCenter Server is able to connect to a vSphere High Availability master agent.
vmware.vcenter.alarm.HAfailoverFailedMonitors the failover progress of vSphere High Availability.
vmware.vcenter.alarm.HAfailoverInProgressMonitors the failover progress of vSphere High Availability.
vmware.vcenter.alarm.HAhostStatusMonitors the host health status reported by vSphere High Availability.
vmware.vcenter.alarm.HAinsufficientFailoverResourcesMonitors the sufficiency of failover cluster resources required for vSphere High Availability.
vmware.vcenter.alarm.HardwareSensorStateChange
vmware.vcenter.alarm.HAvmMonitoringActionMonitors whether vSphere High Availability has restarted a virtual machine.
vmware.vcenter.alarm.HAvmMonitoringErrorMonitors whether vSphere High Availability failed to reset a virtual machine.
vmware.vcenter.alarm.HealthStatusChangedAlarmMonitors changes to service and extension health status.
vmware.vcenter.alarm.HostCertManagementModeChangedAlarmMonitors changes in the certificate management mode of vCenter Server.
vmware.vcenter.alarm.HostCertStatusAlarmMonitors the certificate status of an ESXi host.
vmware.vcenter.alarm.HostConnectionStateAlarmMonitors the power state of the host and whether the host is reachable.
vmware.vcenter.alarm.HostConnectivityAlarmMonitors host connectivity to a storage device.
vmware.vcenter.alarm.HostCPUUsageAlarmMonitors host CPU usage.
vmware.vcenter.alarm.HostErrorAlarmMonitors host error and warning events.
vmware.vcenter.alarm.HostEsxCosSwapAlarmMonitors host service console memory swap rates.
vmware.vcenter.alarm.HostIpConflictAlarm
vmware.vcenter.alarm.HostLicenseEditionNotAllowedMonitors the compatibility of the vCenter Server and host license editions.
vmware.vcenter.alarm.HostMemoryUsageAlarmMonitors host memory usage.
vmware.vcenter.alarm.HostRequiresEncryptionModeEnabledAlarm
vmware.vcenter.alarm.HostVendorProviderRegistrationAlarmDefault alarm that monitors whether the registration or unregistration of a VASA vendor provider on a vSAN host fails.
vmware.vcenter.alarm.IdentityHealthAlarmMonitors the health status of the Identity Management Service.
vmware.vcenter.alarm.ImageBuilderHealthAlarm
vmware.vcenter.alarm.InventoryHealthAlarmMonitors the health status of the Inventory Service.
vmware.vcenter.alarm.IoFilterHostVendorProviderRegistrationAlarmDefault alarm that monitors whether vCenter Server fails to register or unregister third-party IO filter storage providers on a host.
vmware.vcenter.alarm.IoFilterManagementOperationAlarmvSphere APIs for IO Filtering (VAIO) Filter Management Operations.
vmware.vcenter.alarm.IormNonVIWorkloadAlarmMonitors the unmanaged I/O workload on a SIOC-enabled datastore.
vmware.vcenter.alarm.KMSClientCertificateStatusAlarm
vmware.vcenter.alarm.KMSServerCertificateStatusAlarm
vmware.vcenter.alarm.LicenseCapacityExceededAlarmMonitors whether a license capacity is exceeded.
vmware.vcenter.alarm.LicenseErrorMonitors license errors.
vmware.vcenter.alarm.LicenseExpiredHostMonitors the expiry of host license.
vmware.vcenter.alarm.LicenseExpiredVcMonitors vCenter Server license expiry.
vmware.vcenter.alarm.LicenseHealthAlarmMonitors the health status of the License Service.
vmware.vcenter.alarm.LicenseNonComplianceAlarmMonitors the license inventory for compliance.
vmware.vcenter.alarm.LicenseUserThresholdExceededAlarmMonitors whether a user-defined license threshold is exceeded.
vmware.vcenter.alarm.LunCapabilityAlarmMonitors the change in the capability status for volumes backing the datastore.
vmware.vcenter.alarm.MemoryHealthAlarmMonitors host memory usage.
vmware.vcenter.alarm.MigrateBindToVMKAlarmMonitors incorrectly configured VMkernel NICs.
vmware.vcenter.alarm.MigrationErrorAlarmMonitors whether a virtual machine cannot be migrated or relocated, or is orphaned.
vmware.vcenter.alarm.MsgBusHealthAlarmMonitors the health status of the Message Bus Configuration Service.
vmware.vcenter.alarm.NetdumperHealthAlarmMonitors the health status of the VMware vSphere ESXi Dump Collector Service.
vmware.vcenter.alarm.NetworkConnectivityLostAlarmMonitors the network connectivity on a virtual switch.
vmware.vcenter.alarm.NetworkRedundancyDegradedAlarmMonitors network uplink redundancy degradation on a virtual switch.
vmware.vcenter.alarm.NetworkRedundancyLostAlarmMonitors network uplink redundancy on a virtual switch.
vmware.vcenter.alarm.OtherHealthAlarmMonitors other host hardware objects.
vmware.vcenter.alarm.PerfchartsHealthAlarmMonitors the health status of the Performance Charts Service.
vmware.vcenter.alarm.PowerHealthAlarmMonitors the host power status.
vmware.vcenter.alarm.ProcessorHealthAlarmMonitors the host processors.
vmware.vcenter.alarm.RBDHealthAlarmMonitors the health status of the vSphere Auto Deploy Waiter.
vmware.vcenter.alarm.SELHealthAlarmMonitors the capacity of the IPMI system event log.
vmware.vcenter.alarm.ServiceControlAgentHealthAlarmMonitors the health status of the VMware Service Control Agent.
vmware.vcenter.alarm.SpsHealthAlarmMonitors the health status of the VMware vSphere Profile-Driven Storage Service.
vmware.vcenter.alarm.StatsmonitorHealthAlarm
vmware.vcenter.alarm.StorageConnectivityAlarmMonitors host connectivity to a storage device.
vmware.vcenter.alarm.StorageHealthAlarmMonitors host connectivity to storage devices.
vmware.vcenter.alarm.StoragePodOutOfSpaceMonitors whether a datastore cluster runs out of disk space.
vmware.vcenter.alarm.StoragePodSDRSNotSupportedHostMonitors and alerts when Storage DRS is not supported on a host.
vmware.vcenter.alarm.StoragePodSDRSRecommendation
vmware.vcenter.alarm.StoragePodSDSRecommendationMonitor Storage DRS recommendations.
vmware.vcenter.alarm.SubscriptionLicenseExpiredHostMonitors the expiry of host time-limited license.
vmware.vcenter.alarm.SubscriptionLicenseExpiredVcMonitors vCenter Server time-limited license expiry.
vmware.vcenter.alarm.SubscriptionLicenseExpiredVsanMonitors the expiry of the vSAN license and the end of the evaluation period.
vmware.vcenter.alarm.SystemBoardHealthAlarmMonitors the status of host system boards.
vmware.vcenter.alarm.TemperatureHealthAlarmMonitors the temperature status of the host hardware.
vmware.vcenter.alarm.ThinProvisionedLunAlarmMonitors whether the thin provisioning threshold on the storage array exceeds for volumes backing the datastore.
vmware.vcenter.alarm.TsHealthAlarmMonitors the health status of the VMware Transfer Service.
vmware.vcenter.alarm.UpdateMgrHealthAlarm
vmware.vcenter.alarm.VapiEndpointHealthAlarmMonitors the health status of the VMware vAPI Endpoint Service.
vmware.vcenter.alarm.VasaProviderCertificateExpiryAlarmMonitors whether VASA provider certificates are getting close to their expiry date.
vmware.vcenter.alarm.VasaProviderDisconnectedAlarmMonitors the changes in the connection state of VASA providers.
vmware.vcenter.alarm.VasaProviderObjectAlarmIt tracks vCenter Object Type Storage Alarm.
vmware.vcenter.alarm.VasaProviderRefreshCACertsAndCRLsFailureAlarmMonitors whether the refreshing of CA certificates and CRLs for some of the VASA providers has failed.
vmware.vcenter.alarm.VchaHealthAlarm
vmware.vcenter.alarm.VCHAHealthAlarm
vmware.vcenter.alarm.VCServerHealthAlarmMonitors the health status of vCenter Server.
vmware.vcenter.alarm.VdcsHealthAlarmMonitors Open Virtualization Format Service Health.
vmware.vcenter.alarm.VdsHCMTUMatchAlarmMonitors changes in vSphere Distributed Switch MTU matched status.
vmware.vcenter.alarm.VdsHCMTUSupportedAlarmMonitors changes in vSphere Distributed Switch MTU supported status.
vmware.vcenter.alarm.VdsHCTeamingMatchAlarmMonitors changes in vSphere Distributed Switch teaming matched status.
vmware.vcenter.alarm.VdsHCVlanTrunkedAlarmMonitors changes in vSphere Distributed Switch VLAN trunked status.
vmware.vcenter.alarm.VFlashResourceHealthAlarmMonitors the Flash Read Cache resource status on the host.
vmware.vcenter.alarm.VFlashResourceUsageAlarmMonitors the Flash Read Cache resource usage on the host.
vmware.vcenter.alarm.VmAdapterResvervationStatusMonitors changes in the reservation status of a virtual machine network adapter.
vmware.vcenter.alarm.VmcpTerminateVmAbortedMonitors whether vSphere High Availability VM Component Protection cannot power off a virtual machine with an inaccessible datastore.
vmware.vcenter.alarm.VmCPUUsageAlarmMonitors virtual machine CPU usage.
vmware.vcenter.alarm.VmCryptoStateLockedAlarm
vmware.vcenter.alarm.VmdirHealthAlarm
vmware.vcenter.alarm.VmDiskConsolidationNeededAlarmMonitors changes in the virtual machine Consolidation Needed status.
vmware.vcenter.alarm.VmErrorAlarmMonitors virtual machine error and warning events.
vmware.vcenter.alarm.VmFaultToleranceLatencyStatusAlarmMonitors changes in the Fault Tolerance Secondary vLockStep interval.
vmware.vcenter.alarm.VmFaultToleranceStateChangedAlarmMonitors changes in the Fault Tolerance state of a virtual machine.
vmware.vcenter.alarm.VmMemoryUsageAlarmMonitors virtual machine memory usage.
vmware.vcenter.alarm.VmNoCompatibleHostForSecondaryAlarmMonitors the availability of compatible hosts on which a secondary virtual machine can be created and run.
vmware.vcenter.alarm.VmonApiHealthAlarm
vmware.vcenter.alarm.VmStorageComplianceAlarmMonitors virtual disk compliance with the object-based storage.
vmware.vcenter.alarm.VmTimedoutStartingSecondaryAlarmMonitors whether starting a secondary virtual machine has timed out.
vmware.vcenter.alarm.VmwareRhttpproxyHealthAlarm
vmware.vcenter.alarm.VmwareSyslogHealthAlarmMonitors the health status of the VMware Common Logging Service.
vmware.vcenter.alarm.VmwareVpostgresHealthAlarmMonitors the health status of the VMware vFabric Postgres Service.
vmware.vcenter.alarm.VoltageHealthAlarmMonitors host hardware voltage.
vmware.vcenter.alarm.VpxdSvcsHealthAlarm
vmware.vcenter.alarm.vsan.health.test.cloudhealth.vsancloudhealthceipexception
vmware.vcenter.alarm.vsan.health.test.cloudhealth.vsancloudhealthconnectionexception
vmware.vcenter.alarm.vsan.health.test.cluster
vmware.vcenter.alarm.vsan.health.test.cluster.advcfgsync
vmware.vcenter.alarm.vsan.health.test.cluster.clomdliveness
vmware.vcenter.alarm.vsan.health.test.cluster.clustermembership
vmware.vcenter.alarm.vsan.health.test.cluster.consistentconfig
vmware.vcenter.alarm.vsan.health.test.cluster.diskbalance
vmware.vcenter.alarm.vsan.health.test.cluster.healtheaminstall
vmware.vcenter.alarm.vsan.health.test.cluster.healthversion
vmware.vcenter.alarm.vsan.health.test.cluster.mmdecominsync
vmware.vcenter.alarm.vsan.health.test.cluster.physdiskdedupconfig
vmware.vcenter.alarm.vsan.health.test.cluster.physdiskdedupusage
vmware.vcenter.alarm.vsan.health.test.cluster.resynclimit
vmware.vcenter.alarm.vsan.health.test.cluster.timedrift
vmware.vcenter.alarm.vsan.health.test.cluster.upgradelowerhosts
vmware.vcenter.alarm.vsan.health.test.cluster.upgradesoftware
vmware.vcenter.alarm.vsan.health.test.cluster.vcauthoritative
vmware.vcenter.alarm.vsan.health.test.data
vmware.vcenter.alarm.vsan.health.test.data.objecthealth
vmware.vcenter.alarm.vsan.health.test.data.vmhealth
vmware.vcenter.alarm.vsan.health.test.encryption.hostcpuaesni
vmware.vcenter.alarm.vsan.health.test.encryption.kmsconnection
vmware.vcenter.alarm.vsan.health.test.hcl
vmware.vcenter.alarm.vsan.health.test.hcl.autohclupdate
vmware.vcenter.alarm.vsan.health.test.hcl.cimproviderinstall
vmware.vcenter.alarm.vsan.health.test.hcl.controllercache
vmware.vcenter.alarm.vsan.health.test.hcl.controllerdiskmode
vmware.vcenter.alarm.vsan.health.test.hcl.controllerdriver
vmware.vcenter.alarm.vsan.health.test.hcl.controllerfirmware
vmware.vcenter.alarm.vsan.health.test.hcl.controlleronhcl
vmware.vcenter.alarm.vsan.health.test.hcl.controllerraid
vmware.vcenter.alarm.vsan.health.test.hcl.controllerreleasesupport
vmware.vcenter.alarm.vsan.health.test.hcl.hcldbuptodate
vmware.vcenter.alarm.vsan.health.test.hcl.hclhostbadstate
vmware.vcenter.alarm.vsan.health.test.iscsi.iscsiHomeObjectStatusTest
vmware.vcenter.alarm.vsan.health.test.iscsi.iscsihomeobjectstatustest
vmware.vcenter.alarm.vsan.health.test.iscsi.iscsiInstallStatusTest
vmware.vcenter.alarm.vsan.health.test.iscsi.iscsiServiceNetworkTest
vmware.vcenter.alarm.vsan.health.test.iscsi.iscsiservicenetworktest
vmware.vcenter.alarm.vsan.health.test.iscsi.iscsiServiceRunningTest
vmware.vcenter.alarm.vsan.health.test.iscsi.iscsiservicerunningtest
vmware.vcenter.alarm.vsan.health.test.limits
vmware.vcenter.alarm.vsan.health.test.limits.limit0hf
vmware.vcenter.alarm.vsan.health.test.limits.limit1hf
vmware.vcenter.alarm.vsan.health.test.limits.nodecomponentlimit
vmware.vcenter.alarm.vsan.health.test.network
vmware.vcenter.alarm.vsan.health.test.network.clusterpartition
vmware.vcenter.alarm.vsan.health.test.network.hostconnectivity
vmware.vcenter.alarm.vsan.health.test.network.hostdisconnected
vmware.vcenter.alarm.vsan.health.test.network.hostlatencycheck
vmware.vcenter.alarm.vsan.health.test.network.largeping
vmware.vcenter.alarm.vsan.health.test.network.matchingsubnet
vmware.vcenter.alarm.vsan.health.test.network.multicastdeepdive
vmware.vcenter.alarm.vsan.health.test.network.multicastsettings
vmware.vcenter.alarm.vsan.health.test.network.multicastsuspected
vmware.vcenter.alarm.vsan.health.test.network.smallping
vmware.vcenter.alarm.vsan.health.test.network.unexpectedmember
vmware.vcenter.alarm.vsan.health.test.network.vmotionpinglarge
vmware.vcenter.alarm.vsan.health.test.network.vmotionpingsmall
vmware.vcenter.alarm.vsan.health.test.network.vsanenabled
vmware.vcenter.alarm.vsan.health.test.network.vsanvmknic
vmware.vcenter.alarm.vsan.health.test.overallsummary
vmware.vcenter.alarm.vsan.health.test.perfsvc
vmware.vcenter.alarm.vsan.health.test.perfsvc.collection
vmware.vcenter.alarm.vsan.health.test.perfsvc.hostsmissing
vmware.vcenter.alarm.vsan.health.test.perfsvc.masterexist
vmware.vcenter.alarm.vsan.health.test.perfsvc.perfsvcstatus
vmware.vcenter.alarm.vsan.health.test.perfsvc.renameddirs
vmware.vcenter.alarm.vsan.health.test.perfsvc.statsdb
vmware.vcenter.alarm.vsan.health.test.perfsvc.verbosemode
vmware.vcenter.alarm.vsan.health.test.physicaldisks
vmware.vcenter.alarm.vsan.health.test.physicaldisks.componentmetadata
vmware.vcenter.alarm.vsan.health.test.physicaldisks.lsomheap
vmware.vcenter.alarm.vsan.health.test.physicaldisks.lsomslab
vmware.vcenter.alarm.vsan.health.test.physicaldisks.physdiskcapacity
vmware.vcenter.alarm.vsan.health.test.physicaldisks.physdiskcomplimithealth
vmware.vcenter.alarm.vsan.health.test.physicaldisks.physdiskcongestion
vmware.vcenter.alarm.vsan.health.test.physicaldisks.physdiskhostissues
vmware.vcenter.alarm.vsan.health.test.physicaldisks.physdiskmetadata
vmware.vcenter.alarm.vsan.health.test.physicaldisks.physdiskoverall
vmware.vcenter.alarm.vsan.health.test.physicaldisks.physdisksoftware
vmware.vcenter.alarm.vsan.health.test.stretchedcluster
vmware.vcenter.alarm.vsan.health.test.stretchedcluster.clusterwithmultipleunicastagents
vmware.vcenter.alarm.vsan.health.test.stretchedcluster.clusterwithoutonewitnesshost
vmware.vcenter.alarm.vsan.health.test.stretchedcluster.clusterwithouttwodatafaultdomains
vmware.vcenter.alarm.vsan.health.test.stretchedcluster.hostunicastagentunset
vmware.vcenter.alarm.vsan.health.test.stretchedcluster.hostwithinvalidunicastagent
vmware.vcenter.alarm.vsan.health.test.stretchedcluster.hostwithnostretchedclustersupport
vmware.vcenter.alarm.vsan.health.test.stretchedcluster.siteconnectivity
vmware.vcenter.alarm.vsan.health.test.stretchedcluster.witnessfaultdomaininvalid
vmware.vcenter.alarm.vsan.health.test.stretchedcluster.witnessinsidevccluster
vmware.vcenter.alarm.vsan.health.test.stretchedcluster.witnesspreferredfaultdomaininvalid
vmware.vcenter.alarm.vsan.health.test.stretchedcluster.witnesspreferredfaultdomainnotexist
vmware.vcenter.alarm.vsan.health.test.stretchedcluster.witnesswithnodiskmapping
vmware.vcenter.alarm.vsan.health.test.vsanhardwarecert
vmware.vcenter.alarm.vsan.health.test.vum vSAN health alarm
vmware.vcenter.alarm.vsan.health.test.vum.vumconfig
vmware.vcenter.alarm.vsan.health.test.vum.vumconfig
vmware.vcenter.alarm.vsan.health.test.vum.vumrecommendation
vmware.vcenter.alarm.VsanClusterLicenseExpiryAlarmMonitors the expiry of the vSAN license and the end of the evaluation period.
vmware.vcenter.alarm.VsanHealthAlarm
vmware.vcenter.alarm.VsanHostDiskErrorAlarmDefault alarm that monitors whether the host disks in the vSAN cluster have errors.
vmware.vcenter.alarm.VsanHostSsdOverUsageAlarmMonitors whether the flash disk capacity on the host exceeds the limit of the vSAN license.
vmware.vcenter.alarm.VSMHealthAlarmMonitors the health status of the vService Manager.
vmware.vcenter.alarm.VsphereAuthProxyHealthAlarm
vmware.vcenter.alarm.VsphereClientHealthAlarmMonitors vSphere Client Health.
vmware.vcenter.alarm.VsphereUiHealthAlarm
vmware.vcenter.alarm.VwsHealthAlarmMonitors the health status of the VMware System and Hardware Health Manager Service.
vmware.vcenter.alarm.countNumber of alarms on the device.

VMware Events Monitoring

Create custom events

  1. Navigate to Setup > Monitoring >Events.

  2. Click +Add at the right top corner.

  3. For Adapter Type, select VMware.

  4. In the name field, enter EventId from vCenter Server 8.0 IA (Build 20519528) Events Events as the metric name.

    Note: While creating the metric, it is required to replace “.” with “_“in the metric name.

Key Use Case

We have recently updated the VMware events and alarms to provide comprehensive details on how these alarms and events are generated. Below outlines the current design for events and alarms:

Retrieving alarms on individual resources

  • If an alarm template is assigned on a Host, all alerts related to the Host are mapped accordingly.
  • If an alarm template is assigned on a Datacenter, all alerts related to the Datacenter are mapped accordingly.
  • If an alarm template is assigned on DataStores, all alerts related to DataStores are mapped accordingly.
  • If an alarm template is assigned on VMs, all alerts related to VMs are mapped accordingly.
  • To retrieve only vCenter-specific alarms:
    • Assign the alarm template to the vCenter level and configure the parameter ‘vmware.vcenter.alarm.receive.child.alarms’ to ‘no’.

Configuration Parameters

Configuration ParametersDescription
vmware.vcenter.event.policyAny events added to the template and with the option set to "include" will be sent from the gateway to the cloud.

All events in the end device will be triggered from the gateway to the cloud if this parameter is set to "all".
vmware.vcenter.event.include.severity.listIt indicates that such events, regardless of their severity, will be triggered from the gateway to the cloud.

If they include "unknown,info,warning,error,user" events. Only these events are triggered

NetApp Solidfire
vmware.vcenter.event.queue.typeQueue type has three categories.

  • Ignore: If the vmware host is in schedule maintenance, the events will be ignored, i.e. they won't be triggered at cloud end.
  • Send To Maintenance Queue: During the vmware host maintenance, the events are moved to the maintenance queue.
  • Default: The events are moved to the monitoring queue even though the vmware hosts are in maintenance
vmware.events.regex.matchWhen a regular expression is given as input to the "vmware.events.regex.match" pattern, the event will only be processed if its simple class name or class name or canonical class name matches the regular expression. Here, the "vmware.vcenter.event.policy" should be set to "all".

Note: The default value of this parameter is set as "None".

VMware Authentication Failure Notification

The following discovery and monitoring behaviours are applicable from versions 17.0.0 and later.

Discovery

When the discovery process fails, the system displays a failure message in the activity log and generates an authentication alert against the gateway device.

Monitoring

The OpsRamp tool sends an authentication failure alert with the metric name vmware.auth.error against the gateway resource. This alert triggers when monitoring stops due to connection issues, authentication failures, or other related issues.

Resource TypeMetricPossible ValuesReference Link
HOSTVMware.host.status.availabilityPossible values: connected - 1; disconnected / notResponding - 0. Reference: Enum - HostSystemConnectionState.Enum - HostSystemConnectionState
DataStoreVMware.datastore.status.availabilityPossible values: true - 1; false - 0. Reference: Data Object - DatastoreSummary.
Note: Considering the "accessible" attribute for datastore status monitoring.
VData Object - DatastoreSummary
Note: Considering the "accessible" attribute in the above URL for datastore status monitoring.
ClusterVMware.cluster.status.availabilityPossible values: Green / Yellow - 1; Red - 0. Reference: Managed Object - ManagedEntity.
Note: Considering the "OverallStatus" attribute for cluster status monitoring.
Managed Object - ManagedEntity
Note: Considering the "OverallStatus" attribute in the above URL for cluster status monitoring.
Virtual Machinevmware.vm.power.statePossible values: poweredOff (0), poweredOn (1), suspended (2). Reference: Enum - VirtualMachinePowerState.Enum - VirtualMachinePowerState
VCenterApply vmware.vm.power.state on the virtual machine having the same IP address as VCenterPossible values: poweredOff (0), poweredOn (1), suspended (2). Reference: Enum - VirtualMachinePowerState.Enum - VirtualMachinePowerState

Troubleshooting VMware discovery and monitoring

The following are the troubleshooting steps for vmware discovery and monitoring

  1. If the discovery of the vmware integartion fails, please verify the following steps.
    • Check whether the device ip address is pinging from the gateway it’s being discovered using the following command.
      ping <ip_address of the vcenter/esxi host>
    • Check whether the device able to telnet from the gateway to 443 port.
      telnet <ip_address of the vcenter/esxi host> 443
    • Check whether the vcenter is able to connect to the SOAP using the below curl command.
      curl -vvv -k -X POST -H “Content-Type: text/xml; charset=utf-8” -H “SOAPAction: urn:vim25/5.5” -d@data.xml https://<ip_address>/sdk
      While executing the command, the following should be the data.xml file where the username and password should be replaced accordingly.
      <?xml version="1.0" encoding="UTF-8"?>
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:vim25">
       <soapenv:Header/>
       <soapenv:Body>
       <urn:Login>
        <urn:_this type="SessionManager">SessionManager</urn:_this>
        <urn:userName>(User_name)</urn:userName>
        <urn:password>(Password)</urn:password>
       </urn:Login>
      </soapenv:Body>
      </soapenv:Envelope>
      

      This should return a response code of 200.
      The prerequisite should be met for the vcenter for performance,appliance and CIM monitoring. For more information see Prerequisites.

    • Ensure the vCenter meets all prerequisites outlined in the document for enabling performance monitoring, appliance monitoring, and CIM monitoring.
    • The following are the steps to enable additional discovery and monitoring logs, and collect VMware discovery data from the gateway and its logs.
      Step 1:
      Log in to the gateway, and then enter the Gateway command line using the following command: gcli
      Step 2:
      • Enable following logs in GCLI to collect inventory bin/Json from Cloud i.e, the VMware discovery information.
        VMware discovery flags
        flag add vcenter.inventory.bin.log on 60
        flag add vcenter.inventory.json.log on 60
        flag add vcenter.inventory.log on 60
        flag add vxrail.log on 60
        flag add vxrail.inventory.log on 60
        flag add vxrail.inventory.log1 on 60
        flag add vxrail.inventory.log2 on 60
      • Enable the following monitoring gcli flags for monitoring logs.
        VMware monitoring flags
        flag add vmware.log4 on 60
        flag add vmware.log5 on 60
        flag add vmware.log6 on 60
        flag add vmware.log7 on 60
        flag add vmware.log8 on 60
        flag add vmware.alrm.log on 60
        flag add vmware.evt.log on 60
        flag add vmware.evt.log2 on 60
        flag add vmware.evt.log2 on 60
        flag add vmware.alarm.info on 60
        flag add vmware.alarm.def on 60
        flag add vmware.validate.auth.alert on 60
        flag add vxrail.mon.log on 60
        flag add vsan.mon.log on 60
        flag add vmware.exception.log on 60
        flag add vmware.monitor.log on 60
        flag add vmware.metric.log on 60
        flag add vmware.event.log on 60
        flag add vmware.log on 60
        flag add vmware.collector.mgr.log on 60
        flag add vmware.collector.mgr.log1 on 60
        flag add vmware.alarm.log on 60
        flag add vmware.event.log on 60
        flag add vmware.log on 60
        flag add vmware.newalarm on 60
        flag add vmware.dbalarm on 60

      Step 3:
      Exit from gcli using the command exit.
      Step 4:
      Scan the vmware discovery profile.
      The following is the command to check vprobe logs.
      tail -100f /var/log/app/vprobe.log
      Check in logs whether bin/Json files generated or not. If generated check in /var/log/app/tmp location. Observe generated JSON file that contains all the required inventory information and share the /var/log/app/vprobe.log file and all the files from /var/log/app/tmp/.

      • To set log level from gcli if required.
        Syntax: loglevel set <absolute path of the class> <log level> <number of minutes>
        Example: loglevel set com.vistara.gateway.plugin.smis.ibm.IBMSMISCommunicator INFO 60.
  2. Follow these steps to check the hardware component state on the respective host if there is any issue related to hardware monitoring:
    • Login to the host through vmware host client (UI). Navigate to monitor > hardware to find the hardware components and their states.

    • Also check the component state through vmware vsphere client. Navigate to Monitor > Hardware Health under the required host.

  3. If there is any issue with the metric data (i.e, if customer claims that opsramp graph is showing wrong metric data), we can check the value for the same metrics in the graphs through vsphere client and compare the data with opsramp graphs. The following are the steps for the same:
    1. Login to vsphere client using vcenter credentials.
    2. Select the required device (for example, host).
    3. Navigate to monitor > performance > overview to get the basic metrics graphs.
    4. Navigate to monitor > performance > Advance to get all metric graphs. Filtering metrics and components in each metric can also be done here using Chart Options.

  4. To check alarm and event data in vcenter.
    1. Login to vsphere client using vcenter credentials.
    2. Click on vcenter device and navigate to Monitor > Issues and alarms to check alarms and Tasks and Events > Events to check events data.
  5. If there are large number of sessions created on vcenter with user agent “pyvmomi”, check if vSAN and VxRail templates got assigned on the resources (host, clusters, VMs) in opsramp portal and remove if those are not required (i.e, if vSAN and VxRail support are not available in the vcenter).

Integration Version History

Click here to view the Integration Version History
Application VersionBug fixes / Enhancements
19.1.0

Added VM Tools version attribute support for VMware virtual machines.

Added metric support for vmware_vm_tools_running_status for VMware virtual machines.

Added support for CPU hardware information - Processor Name, Max Clock Speed, and Number of Cores for VMware virtual machines.

Added support to create custom VMware events and alarms that contain special characters such as (-, @, $, #, &, %) in the event or alarm name.

For example, for an alarm like VM-HIGH-CPU-1HR, we need to create the alarm metric in OpsRamp as vmware_vcenter_alarm_VM_HIGH_CPU_1HR.

For an event like VM-HIGH-MEMORY-1HR, we need to create the event metric in OpsRamp as VM_HIGH_MEMORY_1HR.

Added fix to generate authentication failure alert against gateway in all failure cases during monitoring, which were not covered earlier.

19.0.0Added support for the vmware_vm_cpu_count and vmware_host_cpucores_count VMware metrics.
18.2.0

Enhanced VMware vSAN monitoring performance.

Added support for new VMware metrics: vmware_cluster_host_down_count , vmware_host_state.

18.1.0

Added support for "Connection State" and "Guest State" custom attributes to virtual machines for VMware Classic APP.

Fixed the issue of not creating a new session when the customer updates the port in the credentials.

18.0.0

Added monitoring support to VMware Host IO Read, IO Write, and latency metrics.

Added fix to VMware vSAN discovery response parsing issue.

17.1.0

Improved VMware authentication failure alert mechanism.

Fixed VMware performance metric issue. Added a fix to ensure proper functionality when adding a new performance metric to an existing VMware template.

16.2.0

Added fix to ensure VMware Hardware template compatibility with Java 17.

Resolved vCenter appliance monitoring connection issue.

Added Events and TransferStatus metric monitoring support for VMware RP4VMs.

15.1.0

VMware Monitoring Enhancement
Added support to generate an alert on missing components to the gateway. You must select the "Alert on missing component" checkbox for the required metrics when creating the template.

Added monitoring support for VMware vSAN 8 version.

15.0.0

VMware Monitoring Enhancement
Added support for a new VMware vSAN metric to show vSAN cluster capacity utilization in percentage.

14.0.0

Resource Pool Information on VMs
Showing Resource pool information on Vmware virtual machines on custom attributes widget at resource attributes page. To populate this information Vmware Integration should be re-scanned on gateway 14.0.0 onwards.

VMware monitoring Enhancement
OpsRamp supports VMware monitoring for VMware version 7.0, Introduced the new templates (deprecated non-supported metrics and fixed the non-working metrics) to make it work for vmware 7.0. Following are the templates (VMware Host Hardware Health Status - v3, VMware Host Performance - v5, VMware VirtualMachine Performance - v5, VMware Datastore Performance - v4, VMware DataStore - Disk Performance - v2, VMware vCenter Performance - v4)

vCenter Events Based Inventory/Discovery
Vmware Inventory get starts when following events identified at Vcenter by OpsRamp gateway 14.0.0.
Events are VmClonedEvent/VmDeployedEvent/VmCreatedEvent/VmRemovedEvent/VmRestartedOnAlternateHostEvent/VmRelocatedEvent/VmMigratedEvent/DrsVmMigratedEvent . To enable this functionality, the customer must first activate the Discovery Schedule option in the VMware discovery profile. The Event Schedule option becomes visible only after the Discovery Schedule is enabled.