Check manual page of db2_connections
DB2 Connections and Query Latency
This check monitors the number of connections to a DB2 database.
It also outputs the connection latency (no limits configurable).
You can configure limits for the number of connections.
This check needs the mk_db2 plugin installed in the agent.
The DB2 instance name followed by a : and the database name, e.g. db2ilog1:REST1
One separate check for each database will be created.