View Actions and Triggers for an Alarm on vCenter Server

You can see which actions and triggers are configured for an alarm.

Prerequisites

Verify that you are connected to a vCenter Server system.

Procedure

  1. Get all PowerCLI supported alarm actions for the Host Processor Status alarm.
    Get-AlarmDefinition -Name "Host Processor Status" | Get-AlarmAction -ActionType "ExecuteScript", "SendSNMP", "SendEmail"
  2. Get all the triggers for the first alarm definition found.
    Get-AlarmDefinition | select -First 1 | Get-AlarmTrigger