PostgreSQL plugin for server density monitoring system
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 4 commits ahead of reinbach:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Adds PostgreSQL Monitoring to Server Density


This plugins provides the following monitoring services

  • ensures we can connect to the database
  • gets version number
  • gets max connections count
  • gets current connections count
  • gets list of locks
  • gets logfile settings
  • if the server is a master, the number of connected slaves
  • if the server is a slave, its replication lag in seconds behind its master



Add the necessary config settings to your /etc/sd-agent/config.cfg file. Eg,

postgres_database = yourdatabase
postgres_user = username
postgres_pass = password
postgres_host = hostname
postgres_port = port (optional, default is 5432)