MonitoringConnector Class
Applies To: Operations Manager for System Center 2012
Retrieves and updates alerts and inserts discovery data.
Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Inheritance Hierarchy
System.Object
Microsoft.EnterpriseManagement.Common.MonitoringBase
Microsoft.EnterpriseManagement.Common.MonitoringBaseWithId
Microsoft.EnterpriseManagement.ConnectorFramework.EnterpriseManagementConnector
Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector
Syntax
[SerializableAttribute]
public class MonitoringConnector : EnterpriseManagementConnector
[SerializableAttribute]
public ref class MonitoringConnector : EnterpriseManagementConnector
[<SerializableAttribute>]
type MonitoringConnector =
class
inherit EnterpriseManagementConnector
end
<SerializableAttribute>
Public Class MonitoringConnector
Inherits EnterpriseManagementConnector
Properties
Name | Description | |
---|---|---|
Bookmark | (Inherited from EnterpriseManagementConnector.) |
|
ConnectorMonitoringObject | Obsolete.Gets the MonitoringObject that represents the monitoring connector. |
|
ConnectorObject | (Inherited from EnterpriseManagementConnector.) |
|
Description | (Inherited from EnterpriseManagementConnector.) |
|
DiscoveryDataIsManaged | (Inherited from EnterpriseManagementConnector.) |
|
DiscoveryDataIsShared | (Inherited from EnterpriseManagementConnector.) |
|
DisplayName | (Inherited from EnterpriseManagementConnector.) |
|
Id | (Inherited from MonitoringBaseWithId.) |
|
Initialized | (Inherited from EnterpriseManagementConnector.) |
|
LastModified | (Inherited from EnterpriseManagementConnector.) |
|
ManagementGroup | The connection management group connection used by this object. |
|
ManagementGroupId | (Inherited from MonitoringBase.) |
|
Name | (Inherited from EnterpriseManagementConnector.) |
Methods
Name | Description | |
---|---|---|
AcknowledgeMonitoringAlerts(DateTime) | The monitoring connector acknowledges that it has successfully received monitoring alerts from the Microsoft.EnterpriseManagement.ConnectorFramework. Acknowledges alerts up until the given bookmark. |
|
AcknowledgeMonitoringAlerts(ICollection<ConnectorMonitoringAlert>) | The monitoring connector acknowledges that it has successfully received monitoring alerts from the Microsoft.EnterpriseManagement.ConnectorFramework. The latest alert timestamp will be used. |
|
AcknowledgeMonitoringAlertsForTiers(DateTime, ICollection<String>, IList<ConnectorTieredOperationFailure>) | The monitoring connector acknowledges that it has successfully received monitoring alerts from a collection of alerts, from all tiers, that occurred prior to the specified bookmark. The failures that occurred for the configured tiers are returned. |
|
AcknowledgeMonitoringAlertsForTiers(DateTime, IList<ConnectorTieredOperationFailure>) | The monitoring connector acknowledges that it has successfully received monitoring alerts from the Microsoft.EnterpriseManagement.ConnectorFramework, for all tiered Management Groups. It acknowledges alerts up until the given bookmark. The failures that occurred for the configured tiers are returned. |
|
AcknowledgeMonitoringAlertsForTiers(ICollection<ConnectorMonitoringAlert>, IList<ConnectorTieredOperationFailure>) | The monitoring connector acknowledges that it has successfully received monitoring alerts from a collection of alerts, from all tiers. The failures that occurred for the configured tiers are returned. |
|
Equals(Object) | (Inherited from MonitoringBaseWithId.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from MonitoringBaseWithId.) |
|
GetMonitoringAlerts() | Gets alerts marked for the monitoring connector. |
|
GetMonitoringAlerts(DateTime) | Gets alerts marked for the monitoring connector where the timestamp is after the specified bookmark. |
|
GetMonitoringAlerts(DateTime, Int32) | Gets alerts marked for the monitoring connector. You also specify a timestamp bookmark, and all alerts with a timestamp after the bookmark will be returned. The retrieved array is limited to the batchSize parameter. |
|
GetMonitoringAlerts(Int32) | Gets alerts marked for the monitoring connector. The retrieved array is limited to the batchSize parameter. |
|
GetMonitoringAlertsForTiers(DateTime, IList<ConnectorTieredOperationFailure>) | Gets alerts marked for the monitoring connector where the timestamp is after the specified bookmark. The alerts are from the current Management Group as well as from any additional tiers that are configured for this connector. The failures that occurred for the configured tiers are returned along with the alerts. |
|
GetMonitoringAlertsForTiers(DateTime, Int32, IList<ConnectorTieredOperationFailure>) | Gets alerts marked for the monitoring connector, for each tiered Management Group. You also specify a timestamp bookmark, and all alerts with a timestamp after the bookmark will be returned. The retrieved array is limited to the batchSize parameter. The failures that occurred for the configured tiers are returned along with the alerts. |
|
GetMonitoringAlertsForTiers(IList<ConnectorTieredOperationFailure>) | Gets alerts marked for the monitoring connector from the current Management Group as well as from any additional tiers that are configured for this connector. The failures that occurred for the configured tiers are returned along with the alerts. |
|
GetMonitoringAlertsForTiers(Int32, IList<ConnectorTieredOperationFailure>) | Gets alerts marked for the monitoring connector, for each tiered Management Group. The retrieved array is limited to the batchSize parameter. The failures that occurred for the configured tiers are returned along with the alerts. |
|
GetType() | (Inherited from Object.) |
|
Initialize() | Initializes the monitoring connector that is required to get alerts by calling GetMonitoringAlerts. |
|
Initialize(DateTime) | Initializes the monitoring connector that is required to get alerts by calling GetMonitoringAlerts and sets the BookMark time to a specified date and time. |
|
InitializeForTiers(DateTime, IList<ConnectorTieredOperationFailure>) | Initializes the monitoring connector that is required to get alerts by calling GetMonitoringAlertsForTiers, and sets the BookMark time to a specified date and time, for all tiered Management Groups. The failures that occurred for the configured tiers are returned. |
|
InitializeForTiers(IList<ConnectorTieredOperationFailure>) | Initializes the monitoring connector that is required to get alerts by calling GetMonitoringAlertsForTiers for all tiered Management Groups. The failures that occurred for the configured tiers are returned. |
|
MemberwiseClone() | (Inherited from Object.) |
|
Reconnect(EnterpriseManagementGroup) | Reconnects the MonitoringConnector object to the management server.(Overrides EnterpriseManagementConnector.Reconnect(EnterpriseManagementGroup).) |
|
SetId(Guid) | (Inherited from MonitoringBaseWithId.) |
|
ToString() | (Inherited from MonitoringBase.) |
|
Uninitialize() | Uninitializes the monitoring connector, which will prohibit getting any alerts when GetMonitoringAlerts is called. |
|
UninitializeForTiers(IList<ConnectorTieredOperationFailure>) | Uninitializes the monitoring connector for all tiered Management Groups, which will prohibit getting any alerts when GetMonitoringAlertsForTiers is called. The failures that occurred for configured tiers are returned. |
Remarks
For more information about connectors, see Connecting to External Systems by Using Operations Manager Connectors. A MonitoringConnector can pass information only for the alerts that are marked for monitoring connector. The MonitoringConnector must be set up and initialized before any alerts can be retrieved. Similarly, to remove a MonitoringConnector, it must be uninitialized before it can be deleted (cleanup).
Warning
After installing Microsoft System Center Operations Manager, an instance of MonitoringConnector named "MOM Internal Connector" appears in the database. This instance is not intended for use in your code.
Examples
In the following C# console application:
An instance of a Management Group object is created.
A monitoring connector is created, set up, and initialized.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.EnterpriseManagement.ConnectorFramework Namespace
Return to top