Skip to content

DB2 client for sending metrics to InfluxDB with Telegraf

Notifications You must be signed in to change notification settings

a-lang/telegraf-db2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DB2 Telegraf

DB2 Telegraf - a plugin of Telegraf to collect a few performance metrics for IBM DB2 database.

The collector will push the data into specified InfluxDB.

Then Grafana can visualize and analyze the data in dashboards.

db2-overview

Prerequisite

  • Telegraf
  • DB2 Client v9.7+ for UNIX-Like OS

Installation

Assuming you already have InfluxDB & Grafana running somewhere on your network.

For DB2 Client, you also need to upload bin/*.sh into the HOME directory of the user that you install DB2 client to.

For Telegraf, you have to configure your Telegraf by referring to the file telegraf-db2.conf.

In my case, I have 2 Telegraf instances running the host, one is default, the other is for DB2client.

Therefore, I created 2 separated config files for Telegraf and systemd.

  • /etc/telegraf/telegraf-db2.conf
  • /etc/systemd/system/telegraf-db2.service

Start the Telegraf service

systemctl start telegraf-db2

More Screenshots

db2-overview-2

db2-db-stats

db2-db-stats-2

Releases

No releases published

Packages

No packages published

Languages