Documentationbreadcrumb arrow Pluginsbreadcrumb arrow IBM Db2 data source pluginbreadcrumb arrow Configure the IBM Db2 data source plugin
Enterprise Grafana Cloud

Configure the IBM Db2 data source plugin

This document provides instructions for configuring the IBM Db2 data source plugin and explains the available configuration options. For general information on adding data sources in Grafana, please refer to Add a data source.

Configuration settings for IBM Db2 data source plugin

To configure the IBM Db2 data source plugin through the Grafana UI, complete the following steps:

  1. Install the IBM Db2 plugin using your preferred installation method.
  2. In the left-side menu, click Connections, then Data sources.
  3. Click Add new data source in the upper right.

You are taken to the Settings tab where you will set up your IBM Db2 database configuration. You need at least the following options:

  • host - The hostname or IP address of your DB2 server. Example: db2.example.com.

  • port - The port number on which the DB2 server is listening. Example: 50000.

  • database - The name of the database to connect to. Example: SAMPLE.

  • username - The database username for authentication. Example: db2inst1.

  • password - The database password for authentication. This field is automatically marked as secure and encrypted.

  • type - The database type. For DB2, set this to db2.

These will be used to form the connection string to your IBM Db2 database.

You can also provide more options, such as sslConnection. These will be passed as optional query parameters in the connection string.