次の方法で共有


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
System_CAPS_pubproperty Bookmark

(Inherited from EnterpriseManagementConnector.)

System_CAPS_pubproperty ConnectorMonitoringObject

Obsolete.Gets the MonitoringObject that represents the monitoring connector.

System_CAPS_pubproperty ConnectorObject

(Inherited from EnterpriseManagementConnector.)

System_CAPS_pubproperty Description

(Inherited from EnterpriseManagementConnector.)

System_CAPS_pubproperty DiscoveryDataIsManaged

(Inherited from EnterpriseManagementConnector.)

System_CAPS_pubproperty DiscoveryDataIsShared

(Inherited from EnterpriseManagementConnector.)

System_CAPS_pubproperty DisplayName

(Inherited from EnterpriseManagementConnector.)

System_CAPS_pubproperty Id

(Inherited from MonitoringBaseWithId.)

System_CAPS_pubproperty Initialized

(Inherited from EnterpriseManagementConnector.)

System_CAPS_pubproperty LastModified

(Inherited from EnterpriseManagementConnector.)

System_CAPS_pubproperty ManagementGroup

The connection management group connection used by this object.

System_CAPS_pubproperty ManagementGroupId

(Inherited from MonitoringBase.)

System_CAPS_pubproperty Name

(Inherited from EnterpriseManagementConnector.)

Methods

Name Description
System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod Equals(Object)

(Inherited from MonitoringBaseWithId.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from MonitoringBaseWithId.)

System_CAPS_pubmethod GetMonitoringAlerts()

Gets alerts marked for the monitoring connector.

System_CAPS_pubmethod GetMonitoringAlerts(DateTime)

Gets alerts marked for the monitoring connector where the timestamp is after the specified bookmark.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod GetMonitoringAlerts(Int32)

Gets alerts marked for the monitoring connector. The retrieved array is limited to the batchSize parameter.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Initialize()

Initializes the monitoring connector that is required to get alerts by calling GetMonitoringAlerts.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Reconnect(EnterpriseManagementGroup)

Reconnects the MonitoringConnector object to the management server.(Overrides EnterpriseManagementConnector.Reconnect(EnterpriseManagementGroup).)

System_CAPS_protmethod SetId(Guid)

(Inherited from MonitoringBaseWithId.)

System_CAPS_pubmethod ToString()

(Inherited from MonitoringBase.)

System_CAPS_pubmethod Uninitialize()

Uninitializes the monitoring connector, which will prohibit getting any alerts when GetMonitoringAlerts is called.

System_CAPS_pubmethod 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