Using alerts
Alerts are alarms that warn you about situations that need attention. The Get-OMAlert
cmdlet retrieves alerts from the specified vRealize Operations Manager server. The syntax of the Get-OMAlert
cmdlet is given here. The first parameter set is the default:
Get-OMAlert [-Status <OMAlertStatus[]>] [-Impact <OMImpact[]>]
[-Criticality <OMCriticality[]>] [-Resource <OMResource[]>]
[-Subtype <OMAlertSubtype[]>] [-AssignedUser <OMUser[]>]
[-Type <OMAlertType[]>] [-ControlState <OMAlertControlState[]>]
[-AlertDefinition <OMAlertDefinition[]>] [[-Name] <String[]>]
[-Server <OMServer[]>] [<CommonParameters>]
The second parameter set is required to retrieve alerts by ID:
Get-OMAlert -Id <String[]> [-Server <OMServer[]>] [<CommonParameters>]
The -Id
parameter is required.
If you use the Get-OMalert
cmdlet without parameters, it will retrieve all of the available alerts as shown in...