Поделиться через


Create Alert

Applies To: System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator, System Center 2012 SP1 - Orchestrator

The Create Alert activity is used in a runbook to create a new alert in an Operations Manager management group.

The first time you run this activity in a runbook, it installs the Orchestrator Integration Library Management Pack in Operations Manager. The Create Alert activity creates an event in Operations Manager, which the Orchestrator Integration Library Management Pack then translates into a System Center Operations Manager alert.

Important

When the Create Alert activity runs for the first time, it does not create an alert. The workaround is to run it again. The new alert is created after the activity is run a second time.

The activity publishes all of the data from the required and optional properties into published data. The following tables list the required and optional properties and published data for this activity.

Create Alert Required Properties

Element

Description

Valid Values

Description

A description of the alert that you are creating

String

Name

A name for the alert

String

Owner

The owner name that you want to assign to the alert

String

Priority

The priority level that you want to assign to the alert

High

Low

Medium

Severity

The severity level that you want to assign to the alert

Critical

Warning

Information

CustomField1

The value of the first custom field

String

CustomField2

The value of the second custom field

String

CustomField3

The value of the third custom field

String

CustomField4

The value of the fourth custom field

String

CustomField5

The value of the fifth custom field

String

CustomField6

The value of the sixth custom field

String

CustomField7

The value of the seventh custom field

String

CustomField8

The value of the eighth custom field

String

CustomField9

The value of the ninth custom field

String

CustomField10

The value of the tenth custom field

String

Create Alert Published Data

Element

Description

Category

The category name of the Management Pack

Connection

The connection string to the System Center Operations Manager server that you are using

ConnectorId

The ID of the connector that generated the connection string

ConnectorStatus

The status of the connector

Context

The System Center Operations Manager context of the alert

CustomField1

The value of the first custom field

CustomField2

The value of the second custom field

CustomField3

The value of the third custom field

CustomField4

The value of the fourth custom field

CustomField5

The value of the fifth custom field

CustomField6

The value of the sixth custom field

CustomField7

The value of the seventh custom field

CustomField8

The value of the eighth custom field

CustomField9

The value of the ninth custom field

CustomField10

The value of the tenth custom field

Description

The description of the alert

Domain

The domain from which the alert came

Id

The unique ID of the alert

IsMonitorAlert

Indicates whether the alert was generated by a monitor

LastModified

The date that the alert was last modified

LastModifiedBy

The last user to modify the alert

LastModifiedByNonConnector

Indicates whether the last modification was performed by a non-connector

MaintenanceModeLastModified

The time that the monitor maintenance mode was last changed

ManagementGroup

The Management Group to which the alert belongs

ManagementGroupId

The ID of the Management Group

MonitoringClassId

The monitoring class ID of the alert

MonitoringObjectDisplayName

The display name of the System Center Operations Manager monitoring object

MonitoringObjectFullName

The full name of the System Center Operations Manager monitoring object

MonitoringObjectHealthState

The health state of the System Center Operations Manager monitoring object

MonitoringObjectId

The ID of the System Center Operations Manager monitoring object

MonitoringObjectInMaintenanceMode

Indicates whether the System Center Operations Manager monitoring object is in maintenance mode

MonitoringObjectName

The name of the System Center Operations Manager monitoring object

MonitoringObjectPath

The path of the System Center Operations Manager monitoring object

MonitoringRuleId

The ID of the System Center Operations Manager monitoring rule

Name

The name of the alert

NetbiosComputerName

The NetBIOS computer name of the computer from which the alert came

NetbiosDomainName

The NetBIOS domain name of the domain from which the alert came

Owner

The owner of the alert

Parameters

The parameters of the alert

PrincipalName

The principal name of the computer for which the alert was created

Priority

The priority level of the alert

ProblemId

The problem ID of the alert

RepeatCount

The number of times that the alert has been repeated

ResolutionState

The resolution state of the alert

ResolvedBy

The user that resolved the alert

Server

The name of the System Center Operations Manager server

Severity

The severity level of the alert

SiteName

The site name of the alert

StateLastModified

The time that the alert state was last changed

TicketId

The ticket ID of the alert

TimeAdded

The time that the alert was added to System Center Operations Manager

TimeRaised

The time that the alert was raised

TimeResolutionStateLastModified

The time that the resolution state of the alert was last changed

TimeResolved

The time that the alert was resolved

Username

The user name that was used to access the System Center Operations Manager server

See Also

Concepts

System Center 2012 Operations Manager Activities
System Center Integration Pack for System Center 2012 Operations Manager