Microsoft Operations Manager

Alert Object

Use the Alertobject to manipulate alerts provided by MOM through the ScriptContext.Alertproperty and alerts created by the script with the ScriptContext.CreateAlertmethod.

Methods

Name Description

GetCustomField

Gets the value of a user-defined custom field of an alert.

SetCustomField

Sets the value of a user-defined custom field of an alert.

Properties

Name Description

AlertLevel

Gets the severity of the alert.

AlertSource

Gets the source of the alert.

Computer

Gets the name of the computer that raised the alert.

ComputerDomain

Gets the name of the domain to which the computer that raised the alert belongs.

Description

Gets the description of the alert.

ID

Gets the globally unique identifier (GUID) of the alert.

Name

Gets the name of the processing rule that raised an alert.

Owner

Gets the name of the alert owner.

ResolutionState

Gets the resolution state of the alert.

UTCTimeOfFirstEvent

Gets the date and time at which the first event that raised an alert occurred.

UTCTimeOfLastEvent

Gets the date and time at which the last event that raised an alert occurred.

Requirements

Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1

See Also

ScriptContext.CreateAlert Method, ScriptContext.Alert Property


Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.