Compartilhar via


Monitor State

Applies To: System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator, System Center 2012 SP1 - Orchestrator

The Monitor State activity monitors the state of a System Center Operations Manager object that you specify. You can use the Monitor State activity to trigger a corrective runbook when an object with a Warning or Critical state is detected.

For the procedure to configure this object, see: Configuring the Monitor State Activity.

The following tables list the properties and published data for this activity. The activity publishes all of the data from the properties into published data.

Monitor State Properties

Element Description Valid Values Look up

Connection

The connection string to the System Center Operations Manager server that you are using

String

Yes

Object

The name of the System Center Operations Manager object to be monitored

String

Yes

State

The health state of the System Center Operations Manager monitoring object

Critical

Healthy

Uninitialized

Warning

Yes

Monitor State Published Data

Element Description

AvailabilityLastModified

The description of the last time that the availability of the monitor was changed

Connection

The connection string to the System Center Operations Manager server that you are using

DisplayName

The display name of the System Center Operations Manager monitoring object

Domain

The domain that the alert came from

FullName

The full name of the System Center Operations Manager monitoring object

HealthState

The current health state of the System Center Operations Manager monitoring object

Id

The unique ID of the System Center Operations Manager monitoring object

InMaintenanceMode

Indicates whether the System Center Operations Manager monitoring object is in maintenance mode

IsAvailable

Indicates whether the System Center Operations Manager monitoring object is available to perform a monitoring operation

IsManaged

Indicates whether the System Center Operations Manager monitoring object is managed

LastModified

The time that the System Center Operations Manager monitoring object was last modified

LeastDerivedNonAbstractingMonitoringClassId

The globally unique ID for the least derived non-abstract monitoring class

MaintenanceModeLastModified

The time that the maintenance mode was last changed

ManagementGroup

The Management Group that the System Center Operations Manager monitoring object belongs to

ManagementGroupId

The unique ID of the Management Group

Name

The name of the System Center Operations Manager monitoring object

Path

The path to the System Center Operations Manager monitoring object

Server

The name of the System Center Operations Manager server

StateLastModified

The time that the System Center Operations Manager monitoring object state was last changed

Username

The user name that was used to access the System Center Operations Manager server

Configuring the Monitor State Activity

To configure the Monitor State activity

  1. From the Activities pane, drag a Monitor State activity to the active runbook.

  2. Double-click the Monitor State activity icon. The Properties dialog opens.

  3. Configure the settings in the Details tab:

    1. In the Server section, click the ellipsis button (...), and select the Operations Manager server Connection that you want to use for this activity. Click OK.

    2. In the Monitor section, enter the name of the Activity that you want to monitor, or you can click the ellipsis (…) button next to the text box to browse for the activity.

      You can also use published data to automatically populate the value of the property from the data output by a previous activity in the runbook.

      To use published data

      1. Right-click the property value box, click Subscribe, and then click Published Data.

      2. Click the Activity drop-down box and select the activity from which you want to obtain the data.

      3. To view additional data elements common across the runbook, select Show Common Published Data.

      4. Click the published data element you want to use, and then click OK.

        For a list of the data elements published by each activity, see the Published Data tables in the activity topic. For information about the Common Published Data items, see Published Data.

    3. Select the activity State that you want to monitor.

  4. For information about the settings on the General and Run Behavior tabs, see Common Configuration Instructions for All Activities.

  5. Click Finish.

Other Activities

The Integration Pack for System Center Operations Manager contains the following additional activities: