Skip to main content
VMware vCenter Server alarm actions can send SNMP traps, not HTTP webhooks. Deploy flashduty-vmware-snmp on an internal Linux or Windows host to receive UDP traps and forward them over HTTPS to Flashduty On-call. Stateful alarms are grouped by vCenter instance, target object, and alarm name, and resolve automatically when the alarm returns to normal. vCenter Server 6.x, 7.x, and 8.x are supported.

In Flashduty On-call

Get an integration push URL in either of the two ways below.

Use a dedicated integration

  1. In the Flashduty console, select Channels and open a channel
  2. Select Settings → Integrations → Dedicated integrations, then select Add integration
  3. Select VMware vCenter and select Save
  4. Open the generated integration card and copy the Push URL

Use a shared integration

  1. In the Flashduty console, select Integration Center → Alert Events
  2. Select VMware vCenter and enter an integration name
  3. Configure the default route and select a channel; you can add more rules under Routing after creation
  4. Select Save and copy the generated Push URL

Configure the forwarder and vCenter

1

Deploy flashduty-vmware-snmp on an internal host

Prepare a Linux or Windows (64-bit or 32-bit) host that can receive UDP packets from vCenter and reach api.flashcat.cloud:443 over HTTPS:
Download the archive for your CPU architecture and install the systemd service:
Create /etc/flashduty/vmware-snmp.env with 0600 permissions (choose a community string such as vc-trap) and start the service:
Forwarder options (available via environment variables, --env-file, and CLI flags):flashduty-vmware-snmp accepts SNMPv1 and SNMPv2c traps and does not support SNMPv3. Allow inbound UDP 162 on the host firewall.
2

Configure SNMP receivers in vCenter Server

Where: vSphere Client › select the top-level vCenter Server instance › Configure › Settings → General › Edit › SNMP receiversSelect Save.
Configure alarm destinations under SNMP receivers in the vSphere Client rather than running snmp.set alone in the VCSA Appliance Shell. VCSA runs two separate SNMP agents: vpxd sends alarm traps as SNMPv1 to the vSphere Client receivers, whereas the Appliance Shell configures the OS-level agent, which does not forward vCenter alarm traps by default.
3

Enable Send SNMP traps and reset rules on vCenter alarms

Where: vSphere Client › select an inventory object (such as vCenter Server) › Configure › More → Alarm Definitions › create or edit an alarm
  1. Turn on Send SNMP traps in the alarm trigger rules
  2. Enable both trigger transitions and recovery transitions (for example Normal → Warning, Warning → Critical, Warning → Normal, and Critical → Normal)
  3. If the alarm has Reset rules (stateful event alarms), turn on Send SNMP traps in the reset rules as well; otherwise vCenter sends no recovery trap when the alarm returns to green
vCenter enforces a default 5-minute action throttling window per alarm, so rapid repeated transitions within 5 minutes may be suppressed.
4

Verify connectivity and the alert lifecycle

Run the built-in test command on the forwarder host to send a vCenter diagnostic trap to the local listener and verify end-to-end delivery:
Flashduty opens an Info alert titled VMware vCenter SNMP test notification (vCenter also sends this vpxdDiagnostic trap on service startup); close it manually after confirming delivery. Next, make a real vCenter alarm trigger and return to normal, confirm that the same Flashduty alert updates and recovers, and check that the integration shows Latest event time.

Alert Key and recovery

Flashduty parses vpxdAlarmInfo (.1.3.6.1.4.1.6876.4.3.0.203) from VMWARE-VC-EVENT-MIB. Obsolete vCenter 4.x vpxdAlarm (.201) traps and unrelated SNMP traps are ignored. Because vpxdAlarmInfo carries neither an alarm definition ID nor a vSphere MoRef, Flashduty derives the Alert Key from four fields:
  • The vCenter UDP source IP observed by the forwarder (source)
  • Target object type (vmwVpxdTargetObjType: host, vm, other, or unknown)
  • Target object name (vmwVpxdTargetObj)
  • Alarm name (the prefix before the first " - " on the first line of vmwVpxdObjValue: built-in alarms send their system name such as alarm.VmCPUUsageAlarm, and custom alarms send their display name)
Changes to metric values, event timestamps, vmwVpxdOldStatus, or vmwVpxdNewStatus do not change the Alert Key. Keep these protocol limits in mind:
  • Renamed inventory objects: if a VM or host is renamed while an alarm is active, the recovery trap carries the new object name, so close the earlier alert manually
  • Same name across datacenters: two objects of the same type and name under one vCenter share an Alert Key when they trigger the same alarm
  • Stateless alarms (one-shot): preconfigured stateless alarms (such as Host connection failure and Health status changed) send Unset status and never emit a recovery trap; each occurrence opens a separate alert, which you can close manually or expire with the channel auto-resolve timeout
  • vCenter 6.0 and 6.5 built-in host connection alarm: Host connection and power state can emit inconsistent alarm-name prefixes across transitions in some 6.0 and 6.5 environments, preventing automatic recovery

Status and severity

Recovery is determined from vmwVpxdNewStatus (case-insensitive), supporting both legacy color values and newer severity names: Each alert includes these labels:

Troubleshooting

  • No traps arrive: on Linux check sudo journalctl -u flashduty-vmware-snmp -f; on Windows inspect C:\ProgramData\Flashduty\vmware-snmp.log and confirm Get-Service FlashdutyVMwareSNMP is Running (and that the built-in Windows SNMPTRAP service is not holding UDP 162). Verify UDP 162 is open on the host firewall and that the receiver and community string are enabled under SNMP receivers in the vSphere Client (not only in the Appliance Shell)
  • Logs show rejected with status 400: verify that VMWARE_SNMP_PUSH_URL is the complete VMware vCenter push URL including integration_key
  • Alerts do not recover: confirm that recovery transitions are enabled on the alarm action, that Send SNMP traps is also enabled under Reset rules for stateful event alarms, and that the alarm is not stateless (new_status=Unset)
  • Rapid consecutive transitions are missing: wait out vCenter’s default 5-minute alarm action throttling window before retesting
For vendor details, see Broadcom’s Using SNMP Traps with vCenter Server.