You can use the IBM Performance Management window to configure the
agent on Windows systems.
Procedure
- Click .
- In the IBM Performance Management window, right-click
Monitoring Agent for DB2, and then click Configure
agent.
- In the Enter a unique instance name field, type the agent instance name
and click OK.
Important: The agent instance name must match the name of the DB2 instance that is being
monitored.
- In the Monitoring Agent for DB2 window, complete these steps:
- In the DB2Customized SQL Definition File field, enter the directory path
for the SQL definition file.
- In the db2diag Log File Path field, enter the directory path for the
db2diag log file.
- In the MSGID Filter in Regular Expression field, enter the
MSGID to filter the diagnostic log. The MSGID is a combination of the message
type, message number, and severity level.
- From the Enable Monitoring for Partitions in Remote Hosts list, select
Yes to specify that the DB2 agent can monitor partitions in remote
hosts.
- From the Enable Monitoring All Databases list, select
Yes to specify that the DB2 agent can monitor all databases.
- Click OK. The agent instance is displayed in the IBM Performance Management
window.
- Right-click the Monitoring Agent for DB2 instance, and click
Start.
What to do next
Log in to the
Performance Management console to view the
data that is collected by the agent in the dashboards. For information about using the
Performance Management console, see
Starting the Performance Management console.