Command-line options

Commands available from the Agent Builder command-line interface (CLI).

The Tivoli® Monitoring Agent Builder contains a command-line interface (CLI) that you can use to generate the Tivoli Monitoring Agent without starting the Eclipse graphical user interface (GUI). You can generate the agent as part of a build, for example:

On Windows systems, you can use a batch file in the following directory to access the CLI:
install_location\agenttoolkit.bat
On UNIX and Linux® systems, you can use a script in the following directory to access the CLI:
install_location/agenttoolkit.sh

The commands that are described in this documentation are formatted for Windows systems, which use a backslash (\) for directory paths.

For UNIX® or Linux® systems, use the same commands as for Windows systems, but with the following changes:
  • Use a forward slash (/) for directory paths instead of a backslash (\).
  • Use the agenttoolkit.sh script instead of the agenttoolkit.bat script.

Commands

Table 1 lists the name and purpose statement for each command option for the text command:
Table 1. Command quick-reference table
Command Purpose
generatelocal Loads and validates the itm_toolkit_agent.xml file and generates the files that run the Tivoli Monitoring Agent. The installation is into a local Tivoli Monitoring environment.
generatemappingfile Creates the mapping file for porting custom IBM Tivoli Monitoring v5.x resource models to IBM Tivoli Monitoring v6 agents.
generatezip Generates a compressed file named productcode.zip or productcode.tgz.
The command descriptions that are referenced from the table describes how to run the commands by covering the following information:
Purpose
Lists the purpose of the command.
Format
Specifies the syntax that you type on the command line. The syntax contains the command name and a list of the parameters for the command. A definition of each parameter follows the command name.
Examples
The example for the command contains a brief description of the example and an example of the syntax.
Usage
Provides an explanation of the command and its purpose.
Comments
Provides commands or text that can give you more information.