Switch branches/tags
Nothing to show
Find file History
Latest commit 8989851 Jul 22, 2017 @adekock11 adekock11 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
Permalink
..
Failed to load latest commit information.
pg__connections Category Tree: reduce number of categories Feb 22, 2017
pgbouncer_ Category Tree: reduce number of categories Feb 22, 2017
pgbouncer_client_connections Category Tree: reduce number of categories Feb 22, 2017
pgbouncer_maxwait Category Tree: reduce number of categories Feb 22, 2017
pgbouncer_server_connections Category Tree: reduce number of categories Feb 22, 2017
postgres_block_read_ Category Tree: reduce number of categories Feb 22, 2017
postgres_locks Category Tree: reduce number of categories Feb 22, 2017
postgres_queries2_ Category Tree: reduce number of categories Feb 22, 2017
postgres_queries3_ Category Tree: reduce number of categories Feb 22, 2017
postgres_size_detail_ postgres size detail Mar 14, 2012
postgres_space_ Category Tree: reduce number of categories Feb 22, 2017
postgres_tuplesratio_ Category Tree: Reduce number of categories Feb 23, 2017
postgresql_active_backends Category Tree: reduce number of categories Feb 22, 2017
postgresql_active_backends_by_database Category Tree: reduce number of categories Feb 22, 2017
postgresql_active_locks Category Tree: reduce number of categories Feb 22, 2017
postgresql_database_ratio Category Tree: reduce number of categories Feb 22, 2017
postgresql_database_size Category Tree: reduce number of categories Feb 22, 2017
postgresql_tablespace_size Category Tree: reduce number of categories Feb 22, 2017
postgresql_transactions Fixed output of transactions script Jul 22, 2017
slony_ Category Tree: reduce number of categories Feb 22, 2017
slony_lag_events_ Category Tree: Reduce number of categories Feb 22, 2017
slony_lag_time Category Tree: Reduce number of categories Feb 22, 2017
slony_lag_time_ Category Tree: Reduce number of categories Feb 22, 2017