IBM Tivoli Monitoring, Version 6.2.2 Fix Pack 2

Input files for tacmd commands

Description

You have the option to provide all of the command-line options by using an input file. The following syntax is available for all tacmds commands:

tacmd subcommand inputfile

where:

subcommand
Specifies the command name, such as addSystem or configureSystem.
input file
Specifies a relative or fully qualified path to the text file containing the desired command-line switches for the command.

For example, the following command-line input for the addSystem command:

tacmd addsystem -n tivm163:LZ -t
 r2 -p INSTANCE=snmp1 
KR2_DP_SELECT.DATA_PROVIDER=SNMP 
KQZ_SNMP.SNMP_PORT=161 
KQZ_SNMP.SNMP_VERSION=snmpV1 
KQZ_SNMPV1.SNMP_COMMUNITY=public 
WIN:tivg19.SNMP_HOST=tivg19

can be entered through an input file as follows:

tacmd addsystem tivm163_lz_r2.txt

where tivm163_lz_r2.txt contains the following lines of code:

--node
tivm163:LZ 
--type
r2
--property 
INSTANCE=snmp1 
KR2_DP_SELECT.DATA_PROVIDER=SNMP 
KQZ_SNMP.SNMP_PORT=161
KQZ_SNMP.SNMP_VERSION=snmpV1
KQZ_SNMPV1.SNMP_COMMUNITY=public
WIN:tivg19.SNMP_HOST=tivg19

[ Top of Page | Previous Page | Next Page ]