IBM Tivoli Monitoring, Version 6.2.2 Fix Pack 2

tacmd editAction

Description

Use the tacmd editAction command to edit a Take Action. You must log in by using the tacmd login command before running the tacmd editAction command.

CLI syntax

tacmd editAction
                      {-n|--name} ACTIONNAME
                      [{-p|--property|--properties} NAME=VALUE ]
                      [{-t|--type} TYPE]
                      [{-d|--detailtextname} TYPEDESC ]
                      [{-f|--force} ]

where:

-n|--name
The name of the action to be edited.
-p|--property|--properties
Specifies one or more NAME=VALUE pairs that identify the properties of the action and their values. Valid property entries for name are:
Desc or Description
The description of the Take Action command to be created. Input given as text enclosed between double quotation marks, such as:
-p Desc="Stops the specified services" 
Cmd or Command
The system command to be executed.
-t|--type
Specifies the application two-digit code of the action to be edited.
-d|--detailtextname
Specifies the application type Name of the action to be edited.
-f|--force
Edits the action without prompting for confirmation.

CLI example

This example edits the command and description of the action named "Test Alerter Service" without prompting for confirmation.

   tacmd editAction -n "Test Alerter Service" -p cmd="net stop Alerter" 

desc="To stop the alerter service" -f

Return values

See Table 6.

Related commands

Return to Table 1.


[ Top of Page | Previous Page | Next Page ]