IBM Tivoli Monitoring, Version 6.3

tacmd editGroup

Description

Use the tacmd editGroup command to edit a group definition.

CLI syntax

tacmd editGroup
   {-g|--group} GROUP_NAME
   {-t|--grouptype} DEPLOY|BUNDLE|SITUATION|COLLECTION
   {-p|--property|--properties} PROPERTY...
   [-d|--description] NEWDESCRIPTION
   [-a|--add] MANAGED_SYSTEM_NAME |MANAGED_SYSTEM_LIST
   [-r|--remove] MANAGED_SYSTEM_NAME | MANAGED_SYSTEM_LIST
   [-f|--force]

where:
-g|--group
Specifies the group name to be edited.
-t|--grouptype
Specifies the group type to be edited. Acceptable group types are DEPLOY, BUNDLE, SITUATION, COLLECTION.
-p|--property|--properties
Specifies one or more NAME=VALUE or SECTION.NAME=VALUE pairs that identify the configuration property to be changed for the group.
-d|--description
Specifies description of the group.
-a|--add
Assigns the specified managed systems or managed system groups to the distribution list of the situation or collection group. This option is valid only for situation or collection groups. Note that the distribution also starts the defined object group on the added managed systems and or managed system groups.
-r|--remove
Deletes the specified managed systems or managed system groups from the distribution for the situation or collection group. This option is valid only for situation or collection groups. Note that the defined object group is stopped on the removed managed systems and managed system groups.
-f|--force
Edits the specified group without prompting for confirmation from the user.

CLI example

The following example edits the property of the deployment group "NewWindowsDeployGroup" on the server:
   tacmd editGroup -g NewWindowsDeployGroup –t DEPLOY –p KDY.password=1234
The following edits the distribution of a situation group. The managed systems Primary:test1:NT are added and the system list Primary:test2:NT is deleted from the situation group’s distribution list:
tacmd editgroup -g new2 -t situation –a Primary:test1:NT -r Primary:test2:NT-f

Return values

See Table 1.

Related commands

Return to Table 1.



Feedback