Share via


MonitoringAlert Class

Definition

A MOM MonitoringAlert.

public ref class MonitoringAlert : Microsoft::EnterpriseManagement::Monitoring::OperationalDataObject
[System.Serializable]
public class MonitoringAlert : Microsoft.EnterpriseManagement.Monitoring.OperationalDataObject
type MonitoringAlert = class
    inherit OperationalDataObject
Public Class MonitoringAlert
Inherits OperationalDataObject
Inheritance
Derived
Attributes

Examples

The following example shows how to get the Windows computers in a Management Group and display the health state and number of alerts for each computer.

Remarks

The MonitoringAlert class contains information about an alert in Operations Manager. Alerts are used to notify operators of problems. Alerts are driven by event processing rules or scripts. An alert tells you when something significant happened in one of your systems. You can monitor alerts to determine the significance of an alert and the corrective action to be taken.

Properties

Category

The category of the alert.

ClassId

The base non-abstract MonitoringClass Id of the associated monitoring object.

ConnectorId

The id of the corresponding connector, if there is one.

ConnectorStatus

The status of this alert relative to the connector.

Context

The context of the alert.

CustomField1

A custom field.

CustomField10

A custom field.

CustomField2

A custom field.

CustomField3

A custom field.

CustomField4

A custom field.

CustomField5

A custom field.

CustomField6

A custom field.

CustomField7

A custom field.

CustomField8

A custom field.

CustomField9

A custom field.

Description

The description of the alert.

Id

The Id.

IsMonitorAlert

Whether this alert was generated by a monitor.

LastModified

The last time this alert was modified.

LastModifiedBy

Who modified this alert last.

LastModifiedByNonConnector

The last time this alert was modified by someone other than the connector.

MaintenanceModeLastModified

The last time the maintenance mode of this alert was modified.

ManagementGroup

The ManagementGroup the object was instantiated in.

(Inherited from OperationalDataObject)
MonitoringClassId
Obsolete.

The base non-abstract MonitoringClass Id of the associated monitoring object.

MonitoringObjectDisplayName

The display name of the associated monitoring object.

MonitoringObjectFullName

The full name of the corresponding monitoring object.

MonitoringObjectHealthState

The health state of the corresponding monitoring object.

MonitoringObjectId

The Id of the associated monitoring object.

MonitoringObjectInMaintenanceMode

Whether the monitoring object is in maintenance mode.

MonitoringObjectName

The name of the associated monitoring object.

MonitoringObjectPath

The path of the corresponding monitoring object.

MonitoringRuleId
Obsolete.

The Id of the associated rule.

Name

The name of the alert.

NetbiosComputerName

The name of the computer (if available) that this alert was created on the behalf of.

NetbiosDomainName

The domain of the computer (if available) that this alert was created on the behalf of.

Owner

The owner of the Alert.

Parameters

The parameters of the alert.

PrincipalName

The principal name of the computer (if available) that this alert was created on the behalf of.

Priority

The priority of the alert.

ProblemId

The Id of the associated monitor if IsMonitorAlert is true, otherwise the problem id.

RepeatCount

The repeat count of the alert.

ResolutionState

The resolution state of the alert.

ResolvedBy

Who resolved this alert.

RuleId

The Id of the associated rule.

Severity

The severity of the alert.

SiteName

The site name of the alert.

StateLastModified

The last time the state of this alert was modified.

TfsWorkItemId

The TFS work item ID associated with the alert

TfsWorkItemOwner

The TFS work item owner associated with the alert

TicketId

The ticket id of the alert.

TimeAdded

The time this alert was added into the System.

TimeRaised

The time this alert was raised.

TimeResolutionStateLastModified

The last time the resolution state of this alert was modified.

TimeResolved

The time this alert was resolved.

UnformattedDescription

The unformatted description of the alert.

Methods

Equals(Object)

Checks for equality

(Inherited from OperationalDataObject)
GetHashCode()

Gets the hash code for the object

(Inherited from OperationalDataObject)
GetMonitoringAlertHistory()

Gets the associated alert history of this alert.

Reconnect(EnterpriseManagementGroup)

Reconnects the specified management group.

(Inherited from OperationalDataObject)
Refresh()

Refreshes the alert from the data store.

Update(String)

Updates this alert and adds a comment. If no changes are made prior to this call, it will simply insert a new comment for the MonitoringAlert.

Update(String, MonitoringConnector)

Updates this alert on behalf of the given connector and adds a comment. If no changes are made prior to this call, it will simply insert a new comment for the MonitoringAlert.

Applies to