Share via


MSFT_Alert Class

Note Note   

The MOM WMI classes has been deprecated and should not be used when creating new scripts. The WMI classes are included only to support existing scripts.

The MSFT_Alert WMI class represents all alerts currently in the MOM database. It includes newer alerts that are unresolved, as well as alerts that have recently been resolved but have not yet been deleted from the system.

Properties

Name Description

AlertHistoryComment

Appends a new comment to the alert's history.

CustomField1

Gets or sets the first user-defined field.

CustomField2

Gets or sets the second user-defined field.

CustomField3

Gets or sets the third user-defined field.

CustomField4

Gets or sets the fourth user-defined field.

CustomField5

Gets or sets the fifth user-defined field.

Description

Gets the alert description.

GUID

Gets the GUID identifying the MOM alert.

LastTimeStateModified

Gets the time when the alert's state last changed.

ModifiedBy

Gets the name of the last user to change the alert's properties.

Name

Gets the name of the alert.

OwnerName

Gets or sets the account name that owns the alert.

RepeatCount

For consolidated events, the RepeatCount property gets the number of repeat occurrences.

ResolutionState

Gets or sets the state of the alert.

ResolvedBy

Gets the name of the user account responsible for resolving the alert, if it has been resolved.

RuleGUID

Gets the GUID of the rule that raised the alert.

Severity

Gets the severity of the alert.

Source

Gets the name of the Windows service that was the source of the alert.

TimeAdded

Gets the time when the alert was added to the database.

TimeLastModified

Gets the time when the alert's state or properties last changed.

TimeofFirstEvent

For consolidated events, the TimeofFirstEvent property Gets the time when the first event was raised.

TimeofLastEvent

For consolidated events, the TimeofLastEvent property Gets the time when the latest event was raised.

TimeRaised

Gets the time when the alert was raised.

TimeResolved

Gets the time when the alert was resolved, if it has been resolved.

URL

Gets a hyperlink to the alert's page in the MOM Web console.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2000 SP1 or later

See Also

MOM WMI Classes | MSFT_AlertToAlertHistory Class | MSFT_AlertToAlertResolutionState Class | SDKAlertView