1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Category Tree: reduce number of categories

This commit is contained in:
dipohl 2017-02-22 02:54:01 +01:00
parent abd4092268
commit 29bdf34eae
29 changed files with 44 additions and 44 deletions

View file

@ -64,7 +64,7 @@ if (defined($ARGV[0]))
print "graph_args --base 1000\n"; # numbers not bytes
print "graph_vlabel Average connections\n";
print "graph_scale no\n"; # so we do not print "micro, milli, kilo, etc"
print "graph_category pgbouncer\n";
print "graph_category db\n";
print $pool_name."_avg_req.type GAUGE\n";
print $pool_name."_avg_req.label Avg Req\n";
print $pool_name."_avg_req.min 0\n";
@ -74,7 +74,7 @@ if (defined($ARGV[0]))
print "graph_title PgBouncer $plugin_title average query time\n";
print "graph_args --base 1000\n"; # numbers not bytes
print "graph_vlabel Average time per query (microseconds)\n";
print "graph_category pgbouncer\n";
print "graph_category db\n";
print $pool_name."_avg_query.type GAUGE\n";
print $pool_name."_avg_query.label Avg Time\n";
print $pool_name."_avg_query.min 0\n";
@ -84,7 +84,7 @@ if (defined($ARGV[0]))
print "graph_title PgBouncer $plugin_title average bytes received/sent\n";
print "graph_args --base 1024\n"; # numbers in bytes
print "graph_vlabel Average bytes received (-)/sent (+)\n";
print "graph_category pgbouncer\n";
print "graph_category db\n";
# bytes received
print $pool_name."_avg_recv.type GAUGE\n";
print $pool_name."_avg_recv.label Avg received\n";
@ -100,7 +100,7 @@ if (defined($ARGV[0]))
# pools: server (sv_)
print "multigraph ".$plugin_name."_pools_server\n";
print "graph_title PgBouncer $plugin_title servers\n";
print "graph_category pgbouncer\n";
print "graph_category db\n";
print "graph_args --base 1000\n"; # numbers not bytes
print "graph_vlabel Server connections\n";
print "graph_scale no\n";
@ -132,7 +132,7 @@ if (defined($ARGV[0]))
# pools: client (cl_)
print "multigraph ".$plugin_name."_pools_client\n";
print "graph_title PgBouncer $plugin_title clients\n";
print "graph_category pgbouncer\n";
print "graph_category db\n";
print "graph_args --base 1000\n"; # numbers not bytes
print "graph_vlabel Client connections\n";
print "graph_scale no\n";
@ -151,7 +151,7 @@ if (defined($ARGV[0]))
print "graph_title PgBouncer $plugin_title maximum waiting time\n";
print "graph_args --base 1000\n"; # numbers not bytes
print "graph_vlabel Maximum wait time (seconds)\n";
print "graph_category pgbouncer\n";
print "graph_category db\n";
print $pool_name."_maxwait.type GAUGE\n";
print $pool_name."_maxwait.label Wait Time\n";
print $pool_name."_maxwait.min 0\n";