Partager via


Start Maintenance Mode

Mis à jour: janvier 2013

S'applique à: System Center 2012 - Orchestrator, System Center 2012 SP1 - Orchestrator

The Start Maintenance Mode activity puts a monitor in System Center Operations Manager into maintenance mode. All alerts generated by computers watched by the monitor while in maintenance mode will be ignored. You can use the Start Maintenance Mode activity at the start of maintenance procedures to prevent false alerts from being generated.

Pour connaître la procédure de configuration de cet objet, consultez : Configuring the Start Maintenance Mode Activity.

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

Start Maintenance Mode Properties

Element Description Valid Values Look up

Connection

The System Center Operations Manager connection that this activity will use

String

Yes

Monitor

The name of the monitor that is being put into maintenance mode

String

Yes

Reason

The reason that this monitor is being put into maintenance mode

String

Yes

Duration

The duration in minutes for maintenance mode. The minimum duration is 5 minutes.

Integer

No

Comment

Comment text regarding maintenance mode

String

No

Start Maintenance Mode Published Data

Name Description

Comment

Comment text regarding maintenance mode

Connection

The connection string to the System Center Operations Manager server for this activity

Domain

The domain that the alert came from

FullName

The full name of the System Center Operations Manager monitoring object

Reason

The reason that this monitor is being put into maintenance mode

Server

The name of the System Center Operations Manager server

StartTime

The start time of maintenance mode

StopTime

The stop time of maintenance mode

Username

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

Configuring the Start Maintenance Mode Activity

To configure the Start Maintenance Mode activity

  1. From the Activities pane, drag a Start Maintenance Mode activity to the active runbook.

  2. Double-click the Start Maintenance Mode 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 Details section, enter the name of the Monitor that you want to put into maintenance mode, or you can click the ellipsis (…) button next to the text box to browse for the monitor.

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

    4. Select the Reason that you want to put the selected monitor into maintenance mode.

    5. Enter the Duration in minutes for the maintenance mode. Five minutes is the minimum allowable time for maintenance mode.

    6. Optionally, enter a Comment for the activity.

  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: