muninpgplugins are plugins for Munin monitoring tool.
They are mainly used to monitor *by* database, so you need to install them for
every database you want to monitor.

Every plugins are self documented and can be used alone.

Munin.conf options
=====================

Munin let you do some things with data grabbed by the plugins.
For example you can agreagte, stack and do some basic stuff.
Or remove some data from graph when they are useless and noisy.

check the file pg.munin.conf for examples.

pg__connections
=====================

This plugin output the number of idle, waiting and active connections.

pg__db_size
=====================

This plugin output the database size as provided by pg_database_size('my_db');

pg__locks
=====================

This plugin output all possible locks from postgresql.

pg__stat_database
=====================

This plugin output all data from this table for specified database.

pg__stat_tables
=====================

This plugin take every column in pg_stat_*_tables (except *vacuum and *analyze).
The data is then usable for agregate graph in munin.conf (like ratio).

Special parameter (statscope) to specify if pg_stat_all_tables or
pg_stat_user_tables or pg_stat_sys_tables is used (user by default).

pg__statio_tables
=====================

This plugin take every column in pg_statio_*_tables.
The data is then usable for agregate graph in munin.conf (like ratio).

Special parameter (statscope) to specify if pg_statio_all_tables or
pg_statio_user_tables or pg_statio_sys_tables is used (user by default).

pg__stat_bgwriter
=====================

This plugin take every column in pg_stat_bgwriter
The data is then usable for agregate graph in munin.conf (like ratio).

As all databases have the same values in this table, it is unecessary to grab
them more than once.


