Check manual page of postgres_connections
PostgreSQL Database Connections
This check allows you to monitor the amount of active connections to a database.
You can configure limits for the absolute connection count or percentual
limits in respect to the maximum allowed connections.
This check relies on data reported by the agent-side plugin mk_postgres
The check generates one service for each database