On VMware vCenter Server, a custom alarm configured to monitor Distributed Port (dvPort) link-down events triggers successfully for the first event, but fails to trigger for subsequent dvPort down events. The alarm status remains stuck in a "Yellow" (Warning) or "Red" (Critical) state, preventing further notifications (SNMP traps or emails) for additional port transitions.
dvPort link was down events.vCenter Server alarms are event-based. When a custom alarm is triggered, the alarm instance transitions from "Green" to "Yellow" or "Red" and generates a vim.event.AlarmStatusChangedEvent.
Because there is no transition event (e.g., a "Green" transition) defined to reset the alarm, the instance remains in the triggered state. Subsequent matching events do not generate new AlarmStatusChangedEvent entries because the alarm is already in the triggered state. The alarm engine requires the state to return to "Green" before it can trigger the action again for the same event type.
To ensure the alarm triggers consistently for every event, you must configure a "Reset" rule in the alarm definition. This allows the alarm to return to a "Green" state automatically when the port is reconnected, enabling it to trigger again upon the next link-down event.
dvPort link was up.If you cannot modify the alarm definition, you must manually reset the alarm status to "Green" after each triggered event: