2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
contrib-munin/plugins/postgresql
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
..
pg__connections Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
pgbouncer_ Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
pgbouncer_client_connections Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
pgbouncer_maxwait Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
pgbouncer_server_connections Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
postgres_block_read_ Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
postgres_locks Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
postgres_queries2_ Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
postgres_queries3_ Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
postgres_size_detail_ postgres size detail 2012-03-14 19:44:11 +09:00
postgres_space_ Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
postgres_tuplesratio_ Category Tree: Reduce number of categories 2017-02-23 18:54:28 +01:00
postgresql_active_backends Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
postgresql_active_backends_by_database Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
postgresql_active_locks Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
postgresql_database_ratio Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
postgresql_database_size Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
postgresql_tablespace_size Category Tree: reduce number of categories 2017-02-22 02:54:01 +01:00
postgresql_transactions Fixed output of transactions script 2017-07-22 11:29:00 +02:00
slony_ Category Tree: reduce number of categories 2017-02-22 16:22:46 +01:00
slony_lag_events_ Category Tree: Reduce number of categories 2017-02-22 20:59:43 +01:00
slony_lag_time Category Tree: Reduce number of categories 2017-02-22 20:59:43 +01:00
slony_lag_time_ Category Tree: Reduce number of categories 2017-02-22 20:59:43 +01:00