2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
Commit Graph

37 Commits

Author SHA1 Message Date
sumpfralle
8647618f95
Merge pull request #864 from adekock11/patch-1
Allow to specify database password
2018-06-10 14:16:33 +02:00
Lars Kruse
e93a46bc76 postgresql_transactions: use perldoc documentation header 2018-06-10 14:06:48 +02:00
Lars Kruse
3c10c360cd postgresql_transactions: configurable host and user 2018-06-10 14:06:30 +02:00
Lars Kruse
154cef14c5 postgresql_transactions: add support for DIRTYCONFIG 2018-06-10 13:58:31 +02:00
Lars Kruse
fdf6cea2b1 postgresql_transactions: change from bash to sh; fix shellcheck issues 2018-06-10 13:56:07 +02:00
Lars Kruse
93a567afbc postgresql_transactions: use DERIVE instead of COUNTER 2018-06-10 13:54:35 +02:00
André de Kock
97ab640be8 Change commit and rollback types to "COUNTER"
By doing this, munin knows to take the difference of each request, thereby showing you a true commit and rollback "per minute"
2018-06-10 13:50:34 +02:00
Lars Kruse
c81c20ab3b unify DIRTYCONFIG handling in shell and python plugins
The following issues were fixed:
* comparison too broad (e.g. "0" misinterpreted as "true")
* python: comparing string with number (is never equal in python)
* unwanted non-zero exitcode (compound command "&&" as last command in
  shell code block (e.g. "case" or "if" branch))
* access to unset variable (shell style issue)
2018-04-07 02:17:06 +02:00
Lars Kruse
7c62b9b6de added executable permission for multiple plugins 2018-03-09 00:18:30 +01:00
André de Kock
89898512d3 Fixed output of transactions script
The current output of this script is:

root@master:/etc/munin/plugins# ./pg_transactions 
 \ncommits.value xxxx\nrollbacks.value xxxx

By removing the first `\n` and by adding an `E` before the second `\n` the output is:

root@master:/etc/munin/plugins# ./pg_transactions 
 commits.value xxxx +
 rollbacks.value xxxx

And lastly by adding the `--no-align` attribute you get the correct output:

root@master:/etc/munin/plugins# ./pg_transactions 
commits.value xxxx
rollbacks.value xxxx
2017-07-22 11:29:00 +02:00
André de Kock
48b1e5aa6f Allow to specify database password 2017-07-20 18:13:11 +02:00
dipohl
7e56247745 Category Tree: Reduce number of categories
ceph -> fs
added category for some plugins from "other" section
2017-02-23 18:54:28 +01:00
dipohl
30685b4c66 Category Tree: Reduce number of categories
slony -> db (postgresql)
qpid -> webserver (apache)
solr -> search (solr)
2017-02-22 20:59:43 +01:00
dipohl
6c3ce4e1e5 Category Tree: reduce number of categories 2017-02-22 16:22:46 +01:00
dipohl
29bdf34eae Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
Vincas Dargis
cd68f192d5 pgbouncer_: allow to separate plugin name and pool name 2016-02-11 15:32:08 +02:00
Michel Albert
a8e524449d Plugin runs, even if no access to list DBs.
If the user as whom "munin" connects has no rights to list existing DBs,
the plugin crashes. Even though the rest of the code is OK. Listing DBs
is only necessary in the case of auto-configuring the plugin. Not for
running it.

This removes the line which causes the bug. The variable which is set in
this line is anyway not used.
2015-05-26 15:52:44 +02:00
Veres Lajos
fba800ae52 typofixes - https://github.com/vlajos/misspell_fixer
Suspicious sections:
plugins/mail/postfix_mail_stats		recieved.label
plugins/nginx/nginx_vhost_traffic
2015-03-02 11:51:38 +00:00
Samuel Smith
a04150340f postgres_queries3_: ignore internal pg_* tables, missing stuff in config 2014-09-24 16:05:40 -05:00
Steve Schnepp
728bc0501b Merge pull request #502 from smith153/master
Added postgres_queries3_ to get stats on a per table basis
2014-09-17 09:26:33 +02:00
Steve Schnepp
c32b9ebc9f Merge pull request #512 from lwindolf/master
Fixing multiple typos and indentation
2014-08-12 16:53:30 +02:00
Lars Windolf
96223fc7a5 Fixing multiple typos and indentation 2014-08-10 23:40:39 +02:00
Samuel Smith
8f7c72c29e Added postgres_queries3_ to get stats on a per table basis 2014-07-08 12:33:56 -05:00
Gilles
0b4260198b p/postgres_tuplesratio: ratio of live/dead tuples 2014-02-09 14:29:24 +01:00
Dave Fennell
87728bb279 Added a new plugin postgresql_active_backends_by_database which shows the active backends broken down by database. 2013-02-22 16:49:55 +00:00
Dave Fennell
9765abcb96 Slight change to default connection options for postgresql_active_backends postgresql_database_ratio so they are more likely to work with a default postgres setup. 2013-02-22 16:49:21 +00:00
Dave Fennell
fc43808f2b Slight change to formatting of licence information in new bind9 and pgbouncer plugins. 2012-12-21 11:53:59 +00:00
Dave Fennell
b4d9f32859 Updated new pgbouncer plugins with license information and added MUNIN_CAP_DIRTYCONFIG support. 2012-12-21 10:37:29 +00:00
Dave Fennell
c41c5666a1 Created 3 new pgbouncer plugins to show stats on all pools configured in the system. 2012-12-20 15:54:19 +00:00
Diego Elio Pettenò
0a1524f27f More housecleaning.
Collapse some categories; remove duplicates; move plugins in where
they belong, remove files that are not really plugins at all.
2012-08-06 21:55:44 -07:00
kolyagora
d44f2ac6d1 Trivial fix of pgbouncer_ plugin 2012-05-03 16:24:37 +04:00
Clemens Schwaighofer
f1952dc3b0 postgres size detail
Added "other" in case this data exists.
2012-03-14 19:44:11 +09:00
Clemens Schwaighofer
8de0f08367 postgres database size in detail
shows the data, index, sequence and view size of a single database.

Uses the default munin postgresql perl plugin.
2012-03-14 19:27:04 +09:00
Clemens Schwaighofer
6facd3c331 die commands if no DB connection can be made
graceful die script if DB connection cannot be created. Also for
prepare & execute command
2012-03-14 17:26:15 +09:00
Clemens Schwaighofer
647632f7af pgbouncer_
added strict for perl
2012-03-14 13:27:44 +09:00
Clemens Schwaighofer
8a515d2476 Plugin to monitor PgBouncer
a new plugin to monitor PostgreSQL pgbouncer.
Uses perl and DBD::Pg
2012-03-14 10:23:34 +09:00
Steve Schnepp
08346aac58 - have some dirs 2012-02-13 18:24:46 +01:00