acknowledge_vcenter_alarm
Acknowledge a triggered vCenter alarm to mark it as seen without clearing it. The alarm remains active until the condition clears or it is reset.
Instructions
[WRITE] Acknowledge a triggered vCenter alarm — marks it as seen WITHOUT clearing it.
The alarm stays in the active list with acknowledged=true until its condition clears or it is reset. To remove the alarm entirely after fixing the root cause, use reset_vcenter_alarm instead. Get exact entity_name and alarm_name values from list_vcenter_alarms first; an unknown pair returns a not-found error. Audited to ~/.vmware/audit.db.
Args: entity_name: Name of the VM, ESXi host, or cluster the alarm fired on (from list_vcenter_alarms output). alarm_name: Exact alarm definition name, e.g. "Virtual machine CPU usage". target: vCenter target name from config.yaml; omit to use the default target.
Returns: Dict: entity_name, alarm_name, action ("acknowledged"), acknowledged (true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_name | Yes | ||
| alarm_name | Yes | ||
| target | No |