Configuring the VMware vCenter Server to generate SNMP traps

Last published : Aug 24, 2026
Provide the following information to configure the vCenter Server to generate SNMP traps:
  • Using the vCenter Server console, configure the Management Server as the SNMP trap receiver.
In the Home page of vSphere Client, select vCenter Server Settings and then select SNMP configuration. Enable one of the SNMP receivers and enter the details as follows:
Field Description
Receiver URL Provide the host name of the Management Server which will be connected to the VMware vCenter Server. VMware vCenter Server sends the SNMP traps to this Management Server.
Also, configure port 162 as the SNMP port. Ensure that port 162 is not used by any other application in Veritas InfoScale Operations Manager Management Server.
Note: For a Windows Management Server configured in high availability (HA) environment, provide the virtual IP address of the Management Server HA setup.
Community String Provide community string. SNMP versions v1 and v2 are supported.
  • Configure alarm for generating SNMP traps when a virtual machine state changes or any virtual infrastructure-related change occurs.
It includes adding alarm to monitor the changes related to virtual machine state and vCenter Server infrastructure, and then adding the appropriate action (for example, send a notification trap).
  • In the Home page of the VMware vSphere Client, select Hosts and Clusters and right-click on the VMware vCenter Server, data-center or an individual virtual machine to set the alarm. You can set the alarm at an individual virtual machine level, at the data center level, or at the entire VMware vCenter Server level. It is recommended to set it at the VMware vCenter Server level.
  • In the General tab, provide alarm details with alarm type set for monitoring the virtual machines. Enter the details as listed in the following table:
    Field Description
    Alarm Name Provide the name of the alarm.
    Description Provide additional information about the alarm.
    Alarm Type Select Virtual Machines in the Monitor drop-down list.
    Select Monitor for specific events occurring on this object, for example, VM powered On option. Ensure that Enable this alarm check box is selected.
  • In the Triggers tab, add the required triggers to monitor the states of the virtual machine. For example, VM created, VM migrated, VM powered on, VM powered off, VM suspended, DRS VM powered on (for clustered environment with DRS enabled) and so on. The values of the fields are as follows:
    For the following value of an event... Select the following status...
    VM powered on Unset
    VM powered off Unset
    DRS VM powered on Unset
    VM suspended Unset
    VM created Unset
    VM migrated Unset
    VM relocating Unset
    VM renamed Unset
    DRS VM migrated Unset
  • Provide information on when to send the notification trap.
In the Actions tab of the Alarm Settings panel, click Add to add a new action. In the Action drop-down list, select Send a notification trap option. Set action as provided in the following figure:
image