mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 10:39:53 +00:00
Category Tree: Reduce number of categories
This commit is contained in:
parent
53351aa04f
commit
afcc3e9b47
9 changed files with 11 additions and 11 deletions
|
@ -12,7 +12,7 @@ if ARGV[0] == 'config'
|
|||
puts "graph_vlabel players"
|
||||
puts "players.label players"
|
||||
puts "graph_info Number of players connected to Minecraft"
|
||||
puts "graph_category Minecraft"
|
||||
puts "graph_category games"
|
||||
exit
|
||||
end
|
||||
|
||||
|
@ -33,4 +33,4 @@ player_count = response[1].split(" ", 2)[1].to_i
|
|||
max_players = response[2].split(" ", 2)[1].to_i
|
||||
player_list = response[3].split(" ", 2)[1].chomp[1..-2]
|
||||
|
||||
puts "players.value #{player_count}"
|
||||
puts "players.value #{player_count}"
|
||||
|
|
|
@ -99,7 +99,7 @@ if ARGV[0] == "autoconf"
|
|||
elsif ARGV[0] == "config"
|
||||
puts "graph_args --base 1024k -r --lower-limit 0"
|
||||
puts "graph_title Oracle PGA from #{dbname}"
|
||||
puts "graph_category Oracle"
|
||||
puts "graph_category db"
|
||||
puts "graph_info This graph shows the PGA memory usage (in MB)"
|
||||
puts "graph_vlabel MB"
|
||||
puts "graph_scale no"
|
||||
|
|
|
@ -124,7 +124,7 @@ if ARGV[0] == "autoconf"
|
|||
elsif ARGV[0] == "config"
|
||||
puts "graph_args --base 1024k -r --lower-limit 0"
|
||||
puts "graph_title Oracle SGA from #{dbname}"
|
||||
puts "graph_category Oracle"
|
||||
puts "graph_category db"
|
||||
puts "graph_info This graph shows the SGA memory usage (in MB)"
|
||||
puts "graph_vlabel MB"
|
||||
puts "graph_scale no"
|
||||
|
|
|
@ -87,7 +87,7 @@ if (exists $ARGV[0]) {
|
|||
print "graph_title Oracle active connections from $dbname\n";
|
||||
print "graph_args -l 0 --base 1000\n";
|
||||
print "graph_vlabel Connections\n";
|
||||
print "graph_category oracle\n";
|
||||
print "graph_category db\n";
|
||||
print "graph_info Shows active oracle connections from $dbname\n";
|
||||
print "graph_scale no\n";
|
||||
if ( $showusers ) {
|
||||
|
|
|
@ -78,7 +78,7 @@ if (exists $ARGV[0]) {
|
|||
print "graph_title Oracle library and buffer cache hit ratios from $dbname\n";
|
||||
print "graph_args --upper-limit 110 -l 0\n";
|
||||
print "graph_vlabel %\n";
|
||||
print "graph_category Oracle\n";
|
||||
print "graph_category db\n";
|
||||
print "graph_info This graph shows the percentage of blocks and libraries read from the cache\n";
|
||||
print "read_hitratio.label Cache hitratio\n";
|
||||
print "read_hitratio.type GAUGE\n";
|
||||
|
|
|
@ -79,7 +79,7 @@ if (exists $ARGV[0]) {
|
|||
print "graph_title Oracle locks for $dbname\n";
|
||||
print "graph_args --base 1000 -l 0\n";
|
||||
print "graph_vlabel Locks\n";
|
||||
print "graph_category oracle\n";
|
||||
print "graph_category db\n";
|
||||
print "graph_info Shows oracle locks\n";
|
||||
print "graph_scale no\n";
|
||||
print "RS.label Row Share Locks\n";
|
||||
|
|
|
@ -80,7 +80,7 @@ if (exists $ARGV[0]) {
|
|||
print "graph_title Oracle tablespace usage (in %) from $dbname\n";
|
||||
print "graph_args --upper-limit 100 -l 0\n";
|
||||
print "graph_vlabel %\n";
|
||||
print "graph_category Oracle\n";
|
||||
print "graph_category db\n";
|
||||
print "graph_info This graph shows the tablespace usage (in %)\n";
|
||||
print "graph_scale no\n";
|
||||
print "warning $warning\n";
|
||||
|
|
|
@ -103,7 +103,7 @@ EOF`
|
|||
echo "graph_title Oracle active connections to $ORACLE_SID"
|
||||
echo "graph_args -l 0 --base 1000"
|
||||
echo "graph_vlabel Connections"
|
||||
echo "graph_category Oracle"
|
||||
echo "graph_category db"
|
||||
echo "graph_info Shows active oracle connections to $ORACLE_SID"
|
||||
echo "graph_scale no"
|
||||
if [ $SHOW_ORACLE_USERS -eq 1 ]
|
||||
|
|
|
@ -111,7 +111,7 @@ sub printconfig {
|
|||
if ($name eq "transactions") {
|
||||
print "graph_title User transactions\n";
|
||||
print "graph_vlabel transactions per second\n";
|
||||
print "graph_category Oracle\n";
|
||||
print "graph_category db\n";
|
||||
print "graph_info This graph shows the number of users transactions per second in Oracle\n";
|
||||
print "graph_args --base 1000 -l 0\n";
|
||||
print "transactions.label transactions\n";
|
||||
|
@ -120,7 +120,7 @@ sub printconfig {
|
|||
} elsif ($name eq "indexscans") {
|
||||
print "graph_title Full index scans\n";
|
||||
print "graph_vlabel indexscans per second\n";
|
||||
print "graph_category Oracle\n";
|
||||
print "graph_category db\n";
|
||||
print "graph_info This graph shows the number of full index scans per second in Oracle\n";
|
||||
print "graph_args --base 1000 -l 0\n";
|
||||
print "indexscans.label indexscans\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue