MonitoringAlert Class

System Center
 

Updated: April 16, 2012

Applies To: Operations Manager for System Center 2012

Represents an Operations Manager monitoring alert. In Operations Manager, an alert is an item that indicates that a predefined situation has occurred on a monitored object. Alerts are defined by rules.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)


[SerializableAttribute]
public ref class MonitoringAlert : OperationalDataObject

NameDescription
System_CAPS_pubpropertyCategory

Gets the category of the alert.

System_CAPS_pubpropertyClassId

System_CAPS_pubpropertyConnectorId

Gets or sets the globally unique identifier (GUID) for the connector corresponding to the monitoring alert.

System_CAPS_pubpropertyConnectorStatus

Gets the status of this alert relative to the connector.

System_CAPS_pubpropertyContext

Gets the context of the alert.

System_CAPS_pubpropertyCustomField1

Gets or sets the value of the custom field 1 for the alert.

System_CAPS_pubpropertyCustomField10

Gets or sets the value of the custom field 10 for the alert.

System_CAPS_pubpropertyCustomField2

Gets or sets the value of the custom field 2 for the alert.

System_CAPS_pubpropertyCustomField3

Gets or sets the value of the custom field 3 for the alert.

System_CAPS_pubpropertyCustomField4

Gets or sets the value of the custom field 4 for the alert.

System_CAPS_pubpropertyCustomField5

Gets or sets the value of the custom field 5 for the alert.

System_CAPS_pubpropertyCustomField6

Gets or sets the value of the custom field 6 for the alert.

System_CAPS_pubpropertyCustomField7

Gets or sets the value of the custom field 7 for the alert.

System_CAPS_pubpropertyCustomField8

Gets or sets the value of the custom field 8 for the alert.

System_CAPS_pubpropertyCustomField9

Gets or sets the value of the custom field 9 for the alert.

System_CAPS_pubpropertyDescription

Gets the description of the alert.

System_CAPS_pubpropertyId

Gets the globally unique identifier (GUID) for the alert.(Overrides OperationalDataObject::Id.)

System_CAPS_pubpropertyIsMonitorAlert

Gets a Boolean value that determines whether the alert was generated by a monitor.

System_CAPS_pubpropertyLastModified

Gets the last time, in DateTime format, that the alert was modified.

System_CAPS_pubpropertyLastModifiedBy

Gets the name of the user that last modified the alert.

System_CAPS_pubpropertyLastModifiedByNonConnector

Gets the last time, in DateTime format, the alert was modified by something other than a connector.

System_CAPS_pubpropertyMaintenanceModeLastModified

Gets the time, in DateTime format, that the maintenance mode of this alert was last modified.

System_CAPS_pubpropertyManagementGroup

The connection management group connection used by this object.(Inherited from OperationalDataObject.)

System_CAPS_pubpropertyManagementGroupId

(Inherited from MonitoringBase.)

System_CAPS_pubpropertyMonitoringClassId

Obsolete.Gets the globally unique identifier (GUID) of the non-abstract monitoring class of the associated monitoring object.

System_CAPS_pubpropertyMonitoringObjectDisplayName

Gets the display name of the monitoring object that is associated with the alert.

System_CAPS_pubpropertyMonitoringObjectFullName

Gets the full name of the monitoring object that is associated with the alert.

System_CAPS_pubpropertyMonitoringObjectHealthState

Gets the health state of the monitoring object associated with this alert.

System_CAPS_pubpropertyMonitoringObjectId

Gets the globally unique identifier (GUID) for the monitoring object that is associated with this alert.(Overrides OperationalDataObject::MonitoringObjectId.)

System_CAPS_pubpropertyMonitoringObjectInMaintenanceMode

Gets a value indicating whether the monitoring object associated with the alert is in maintenance mode.

System_CAPS_pubpropertyMonitoringObjectName

Gets the name of the monitoring object that is associated with this alert.

System_CAPS_pubpropertyMonitoringObjectPath

Gets the path to the monitoring object that is associated with this alert.

System_CAPS_pubpropertyMonitoringRuleId

Obsolete.Gets the globally unique identifier (GUID) for the rule associated with the alert.(Overrides OperationalDataObject::MonitoringRuleId.)

System_CAPS_pubpropertyName

Gets the name of the alert.

System_CAPS_pubpropertyNetbiosComputerName

Gets the name of the computer that raised this alert.

System_CAPS_pubpropertyNetbiosDomainName

Gets the domain of the computer that raised this alert.

System_CAPS_pubpropertyOwner

Gets or sets the owner of the alert.

System_CAPS_pubpropertyParameters

Gets a collection of parameters for the alert.

System_CAPS_pubpropertyPrincipalName

Gets the principal name of the computer that this alert was created for.

System_CAPS_pubpropertyPriority

Gets the priority of the alert.

System_CAPS_pubpropertyProblemId

Gets the globally unique identifier (GUID) of the associated monitor if the IsMonitorAlert property is true, otherwise, gets or sets the GUID for the problem.

System_CAPS_pubpropertyRepeatCount

Gets the repeat count of this alert.

System_CAPS_pubpropertyResolutionState

Gets the resolution state of the alert.

System_CAPS_pubpropertyResolvedBy

Gets the user who resolved this alert.

System_CAPS_pubpropertyRuleId
System_CAPS_pubpropertySeverity

Gets the severity of the alert.

System_CAPS_pubpropertySiteName

Gets the site name of the alert.

System_CAPS_pubpropertyStateLastModified

Gets the time, in DateTime format, that the state of this alert was last modified.

System_CAPS_pubpropertyTicketId

Gets or sets a string identifier for the ticket of the alert.

System_CAPS_pubpropertyTimeAdded

Gets the time, in DateTime format, the alert was added to the system.

System_CAPS_pubpropertyTimeRaised

Gets the time, in DateTime format, the alert was raised.

System_CAPS_pubpropertyTimeResolutionStateLastModified

Gets the last time, in DateTime format, the resolution state of the alert was modified.

System_CAPS_pubpropertyTimeResolved

Gets the time, in DateTime format, the alert was resolved.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether this object is equal to the specified object.(Inherited from OperationalDataObject.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Gets the hash code for the OperationalDataObject object(Inherited from OperationalDataObject.)

System_CAPS_pubmethodGetMonitoringAlertHistory()

Gets a collection of MonitoringAlertHistory objects that contain the history for the alert.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodReconnect(EnterpriseManagementGroup^)

Reconnects to the specified management group after the object has been disconnected.(Inherited from OperationalDataObject.)

System_CAPS_pubmethodRefresh()

Refreshes the alert from the data store.

System_CAPS_pubmethodToString()

(Inherited from MonitoringBase.)

System_CAPS_pubmethodUpdate(String^)

Updates the alert and adds a comment about the update.

System_CAPS_pubmethodUpdate(String^, MonitoringConnector^)

Updates the alert and adds a comment about the update, using the specified connector.

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.

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: