mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
postgresql_transactions: use perldoc documentation header
This commit is contained in:
parent
3c10c360cd
commit
e93a46bc76
@ -1,25 +1,39 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
|
||||||
# Plugin to monitor PostgreSQL Commits and Rollbacks in Transactions
|
: <<=cut
|
||||||
#
|
|
||||||
# Author:
|
=head1 NAME
|
||||||
# Guilherme Augusto da Rocha Silva <gars.dba@gmail.com>
|
|
||||||
#
|
postgresql_transactions - Plugin to monitor PostgreSQL Commits and Rollbacks in Transactions
|
||||||
# Created:
|
|
||||||
# 9th of november 2007
|
|
||||||
#
|
=head1 USAGE
|
||||||
# Usage:
|
|
||||||
# Place in /etc/munin/plugins/ (or link it there using ln -s)
|
Usage:
|
||||||
#
|
Place in /etc/munin/plugins/ (or link it there using ln -s)
|
||||||
# Parameters:
|
|
||||||
# config (required)
|
General info:
|
||||||
#
|
Requires permission for database read access (no writes are processed).
|
||||||
# General info:
|
Recommended user is PostgreSQL database owner (default: postgres).
|
||||||
# Require permission for database access and read (no writes are processed).
|
|
||||||
# Recommended user is PostgreSQL database owner (default: postgres).
|
|
||||||
#
|
=head1 CONFIGURATION
|
||||||
# Log info:
|
|
||||||
#
|
The following configuration directives may be placed below /etc/munin/plugin-conf.d/ (optional):
|
||||||
|
|
||||||
|
[postgresql_transactions]
|
||||||
|
user postgres
|
||||||
|
env.dbuser postgres
|
||||||
|
env.dbhost localhost
|
||||||
|
|
||||||
|
|
||||||
|
=head1 AUTHOR
|
||||||
|
|
||||||
|
Guilherme Augusto da Rocha Silva <gars.dba@gmail.com>
|
||||||
|
|
||||||
|
Copyright (C) 2007 Guilherme Augusto da Rocha Silva <gars.dba@gmail.com>
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
dbhost=${dbhost:-localhost}
|
dbhost=${dbhost:-localhost}
|
||||||
dbuser=${dbuser:-postgres}
|
dbuser=${dbuser:-postgres}
|
||||||
|
Loading…
Reference in New Issue
Block a user