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
- In the Flashduty console, select Channels and open a channel
- Select Settings → Integrations → Dedicated integrations, then select Add integration
- Select VMware vCenter and select Save
- Open the generated integration card and copy the Push URL
Use a shared integration
- In the Flashduty console, select Integration Center → Alert Events
- Select VMware vCenter and enter an integration name
- Configure the default route and select a channel; you can add more rules under Routing after creation
- 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 Forwarder options (available via environment variables,
api.flashcat.cloud:443 over HTTPS:- Linux (amd64 / arm64)
- Windows (64-bit / 32-bit)
Download the archive for your CPU architecture and install the Create
systemd service:/etc/flashduty/vmware-snmp.env with 0600 permissions (choose a community string such as vc-trap) and start the service:--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 receivers
Select Save.
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
- Turn on Send SNMP traps in the alarm trigger rules
- Enable both trigger transitions and recovery transitions (for example Normal → Warning, Warning → Critical, Warning → Normal, and Critical → Normal)
- 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
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
- Linux
- Windows
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 parsesvpxdAlarmInfo (.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, orunknown) - Target object name (
vmwVpxdTargetObj) - Alarm name (the prefix before the first
" - "on the first line ofvmwVpxdObjValue: built-in alarms send their system name such asalarm.VmCPUUsageAlarm, and custom alarms send their display name)
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
Unsetstatus 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 fromvmwVpxdNewStatus (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 inspectC:\ProgramData\Flashduty\vmware-snmp.logand confirmGet-Service FlashdutyVMwareSNMPisRunning(and that the built-in WindowsSNMPTRAPservice is not holdingUDP 162). VerifyUDP 162is 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
rejectedwith status 400: verify thatVMWARE_SNMP_PUSH_URLis the complete VMware vCenter push URL includingintegration_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