IBM Tivoli Monitoring, Version 6.2.2 Fix Pack 2

itmcmd dbagent

Description

Use the itmcmd dbagent command to start and stop a distributed database monitoring agent, including the Monitoring Agent for Sybase and the Monitoring Agent for Oracle.

To start other monitoring agents, see itmcmd agent.

CLI syntax

itmcmd dbagent
                  [-h install_dir]
                  [-d trace_option]
                  [-s server ...]
                  {start|stop} [pc [,pc] ...]

where:

-d
Enables diagnostic reporting for one or all monitored database tables. Enables debug tracing for the following items:
Table
Turns on KBB_RAS1 tracing for table (korxxxx, kraxxxx). Table names are case-insensitive. You can use ksh wildcards (but not regexp).
debug
Turns on collector and agent internal tracing through -dddd.
d
Fine tunes internal tracing level: -d, -dd, -ddd, -dddd, -ddddd (debug or ddd's also change col.out to wrap after 100000 lines, and keep col.ou[1-9])
all
*,debug
ALL
ddddd + all possible agent KBB_RAS1: (UNIT:K ALL)
Note:
Any form of tracing also turns on KBB_RAS1 (UNIT:KDD ALL).
-h
(Optional) Identifies the installation directory if it is not the one in which the script is located.

Also use this option to take action on an IBM Tivoli Monitoring installation directory other than the one in the current system.

-s
Starts monitoring only for the specified servers.
Note:
This is not the same as the Safe Mode -s option available on some commands.
start|stop
Starts or stops the specified agent.

You can specify the product code of the agent you want to take action on. If you have installed agents for more than one kind of database, Oracle and Sybase for example, you can specify the product code for the database type whose agent you want action taken upon. You can specify multiple arguments separated by commas. The default is that itmcmd dbagent applies to all.

CLI example

The following example starts all database monitoring agents on the computer:

   itmcmd dbagent start

Return values

An exit status of 0 indicates that the command ran successfully. An exit status greater than 0 indicates that there was a failure in the process.

Related commands

itmcmd agent

cinfo (to determine product codes)

Return to Table 7.


[ Top of Page | Previous Page | Next Page ]