Cavisson machine agent establishes a connection with the IBM DB2 database server. After establishing the connection with the database, the monitor executes some queries to capture the required stats to get the health status of IBM DB2. To make the connection with IBM DB2, the user needs to provide connectivity credentials to the monitor program, so that it can make the connection to the database.

It also provides end-to-end monitoring of IBM DB2 queries with insights into various aspects, such as Buffer Pool, I/O, Log, Connection, Cache, and Transactions.

IBM DB2 monitors covers a wide range of metrics comprising the following:

Platform Supported

DB2 monitors are java based, so it is supported on all OS.

Prerequisites

  1. To make connectivity with IBM DB2, db2jcc4.jar should be present in cmon's class-path.
  2. To fetch data, the monitor requires a DB2 host, port, database name, username, and password. We are fetching data from below DB2 tables:

    SYSIBMADM.SNAPDB

    SYSIBMADM.MON_DB_SUMMARY

  3. The DB2 user should have privileges of read access to SYSIBMADM Database.
  4. 4. Supported IBM DB2 versions are: 9.1, 9.5, 9.7, 10.1, 10.5, 11.1.

Monitor Group Configuration

Configuration of IBM DB2 Deployment

To successfully configure IBM DB2 monitors, you are required to fill in the following fields:

Note::

  1. To run this monitor with a separate JRE, ‘Alternate JRE Home’ needs to be provided.
  2. Make sure db2jcc2.jar should be present on target servers, otherwise data will not be collected by the monitor.

Common Configuration

All metrics in both monitors have the following common fields which are optional:

Configuration of IBM DB2 Generic DB Monitor

Configuration of IBM DB2 Based Monitor

Provide the following details for configuring IBM DB2 monitors:

Deploy Monitors

Deploy the configured monitors using our machine agent. The following fields need to be filled in to deploy:

Notes:

Validation

Once the IBM DB2 monitors are configured, you can validate by either checking the monitor homepage where a section for IBM DB2 monitors along with details like total, running, and failed monitors is given or check for the configured monitors from the metric tree, against the tier/server/instance for which this metric is configured.