TEC Task Library - Start_Maintenance

Informs the event server that a host has been put in maintenance mode. Select the event server to inform, type the name of the host to put in maintenance mode, and specify the duration for the maintenance mode.

To configure the task:

  1. Select Start_Maintenance from the TEC Tasks list in the Task Execution dialog box. The configuration options for the task are displayed in the right pane.
  2. In the right pane, type or select values for the following fields:
    Event Server's Name
    The event server to inform. This is a required field.
    hostname
    The fully qualified name of the host to put in maintenance mode. This is a required field. The default for this field is an asterisk. If you do not change this default, all hosts are put in maintenance mode.
    Maintenance Owner Information
    Optional information, such as an e-mail address or phone number, that you can enter regarding the person who is overseeing the maintenance for the host.
    Maintenance Duration
    The number of minutes during which the host is in maintenance mode. This is a required field. The default is 60 minutes.
    Time To Start Maintenance
    The time at which the host is put in maintenance mode. If you leave this field blank, the host is put in maintenance mode immediately.

    Specify the time in this format:
    yyyy mm dd hh mm ss

    For example, 2003 06 12 23 30 00 indicates that the host is put in maintenance mode on 12 June 2003 at 23:30:00, or 11:30 p.m.

Assumptions and Prerequisites

Authorization Required

super, senior, admin, user

Command-Line (CLI) Execution

This task can be executed from the command line. You can also put a host in maintenance mode by running the wstartmaint.sh shell script, which resides on the event server. Do not use the wpostemsg command to send a TEC_Maintenance event.

See Also