Tivoli Monitoring, Version 6.2

tacmd editsystemlist

Description

This command is used to add or delete managed systems to or from an existing managed system list on the server. It can also be used to edit (add or delete system list names to/from) an existing managed system list in a file.

CLI syntax

tacmd editsystemlist {-l|--list} listname
                      {[{-a|--add} system ...] [{-d|--delete} system ...]}
                      [{-f|--force}]

tacmd editsystemlist {-e|--edit} filename
                      {[{-a|--add} system ...] [{-d|--delete} system ...]}

where:

-l|--list listname
Name of the managed system list to be edited. Specify a string of letters (upper or lower case), numbers, or underscores (_) up to a maximum length of 32 characters.
-a|--add system ...
Name or names of the managed systems to be added to the managed system list. Specify a string of letters (upper or lower case), numbers, underscores (_), colons (:), or periods (.). Note that at least one of -a|--add or -d|--delete must be specified and both may be used in the same command invocation.
-d|--delete system ...
Name or names of the managed systems to be deleted from the managed system list. Specify a string of letters (upper or lower case), numbers, underscores (_), colons (:), or periods (.). Note that at least one of -a|--add or -d|--delete must be specified and both may be used in the same command invocation.
-e|--edit filename
Name of the managed system list file to be edited. Specify a valid file name consisting of letters (upper or lower case), numbers, underscores (_), colons (:), periods (.), slashes (/), back slashes (\), or tildes (~).
-f|--force
Do not confirm with the user the managed systems to be added or deleted. If not specified, the user will prompted for confirmation.

CLI example

This example updates the managed system list testList1 on server https://10.102.22.123:3661.

   tacmd editsystemlist -l testList1 -a Primary:HDCHASDSTC0422:NT -f

This example updates the managed system list definition file sys200.xml by both adding and entry and deleting entries.

   tacmd editsystemlist -e sys200.xml
                        -a Primary:HDCHASDSTC0420:NT hdchasdstc0420ASFSdp:UAGENT00
                        -d HDCHASDSTC0420:Warehouse

Return values

See Return codes.

Related commands

tacmd createsystemlist

tacmd deletesystemlist

tacmd viewsystemlist

tacmd listsystemlist




Feedback

[ Top of Page | Previous Page | Next Page | Contents | Index ]