Révision afcc3e9b
Category Tree: Reduce number of categories
| plugins/minecraft/minecraft-users | ||
|---|---|---|
| 12 | 12 |
puts "graph_vlabel players" |
| 13 | 13 |
puts "players.label players" |
| 14 | 14 |
puts "graph_info Number of players connected to Minecraft" |
| 15 |
puts "graph_category Minecraft"
|
|
| 15 |
puts "graph_category games"
|
|
| 16 | 16 |
exit |
| 17 | 17 |
end |
| 18 | 18 |
|
| ... | ... | |
| 33 | 33 |
max_players = response[2].split(" ", 2)[1].to_i
|
| 34 | 34 |
player_list = response[3].split(" ", 2)[1].chomp[1..-2]
|
| 35 | 35 |
|
| 36 |
puts "players.value #{player_count}"
|
|
| 36 |
puts "players.value #{player_count}"
|
|
| plugins/oracle/oracle-pga-monitor | ||
|---|---|---|
| 99 | 99 |
elsif ARGV[0] == "config" |
| 100 | 100 |
puts "graph_args --base 1024k -r --lower-limit 0" |
| 101 | 101 |
puts "graph_title Oracle PGA from #{dbname}"
|
| 102 |
puts "graph_category Oracle"
|
|
| 102 |
puts "graph_category db"
|
|
| 103 | 103 |
puts "graph_info This graph shows the PGA memory usage (in MB)" |
| 104 | 104 |
puts "graph_vlabel MB" |
| 105 | 105 |
puts "graph_scale no" |
| plugins/oracle/oracle-sga | ||
|---|---|---|
| 124 | 124 |
elsif ARGV[0] == "config" |
| 125 | 125 |
puts "graph_args --base 1024k -r --lower-limit 0" |
| 126 | 126 |
puts "graph_title Oracle SGA from #{dbname}"
|
| 127 |
puts "graph_category Oracle"
|
|
| 127 |
puts "graph_category db"
|
|
| 128 | 128 |
puts "graph_info This graph shows the SGA memory usage (in MB)" |
| 129 | 129 |
puts "graph_vlabel MB" |
| 130 | 130 |
puts "graph_scale no" |
| plugins/oracle/oracle__connections | ||
|---|---|---|
| 87 | 87 |
print "graph_title Oracle active connections from $dbname\n"; |
| 88 | 88 |
print "graph_args -l 0 --base 1000\n"; |
| 89 | 89 |
print "graph_vlabel Connections\n"; |
| 90 |
print "graph_category oracle\n";
|
|
| 90 |
print "graph_category db\n";
|
|
| 91 | 91 |
print "graph_info Shows active oracle connections from $dbname\n"; |
| 92 | 92 |
print "graph_scale no\n"; |
| 93 | 93 |
if ( $showusers ) {
|
| plugins/oracle/oracle__database_hitratio | ||
|---|---|---|
| 78 | 78 |
print "graph_title Oracle library and buffer cache hit ratios from $dbname\n"; |
| 79 | 79 |
print "graph_args --upper-limit 110 -l 0\n"; |
| 80 | 80 |
print "graph_vlabel %\n"; |
| 81 |
print "graph_category Oracle\n";
|
|
| 81 |
print "graph_category db\n";
|
|
| 82 | 82 |
print "graph_info This graph shows the percentage of blocks and libraries read from the cache\n"; |
| 83 | 83 |
print "read_hitratio.label Cache hitratio\n"; |
| 84 | 84 |
print "read_hitratio.type GAUGE\n"; |
| plugins/oracle/oracle__locks | ||
|---|---|---|
| 79 | 79 |
print "graph_title Oracle locks for $dbname\n"; |
| 80 | 80 |
print "graph_args --base 1000 -l 0\n"; |
| 81 | 81 |
print "graph_vlabel Locks\n"; |
| 82 |
print "graph_category oracle\n";
|
|
| 82 |
print "graph_category db\n";
|
|
| 83 | 83 |
print "graph_info Shows oracle locks\n"; |
| 84 | 84 |
print "graph_scale no\n"; |
| 85 | 85 |
print "RS.label Row Share Locks\n"; |
| plugins/oracle/oracle__tablespace_usage | ||
|---|---|---|
| 80 | 80 |
print "graph_title Oracle tablespace usage (in %) from $dbname\n"; |
| 81 | 81 |
print "graph_args --upper-limit 100 -l 0\n"; |
| 82 | 82 |
print "graph_vlabel %\n"; |
| 83 |
print "graph_category Oracle\n";
|
|
| 83 |
print "graph_category db\n";
|
|
| 84 | 84 |
print "graph_info This graph shows the tablespace usage (in %)\n"; |
| 85 | 85 |
print "graph_scale no\n"; |
| 86 | 86 |
print "warning $warning\n"; |
| plugins/oracle/oracle_connections | ||
|---|---|---|
| 103 | 103 |
echo "graph_title Oracle active connections to $ORACLE_SID" |
| 104 | 104 |
echo "graph_args -l 0 --base 1000" |
| 105 | 105 |
echo "graph_vlabel Connections" |
| 106 |
echo "graph_category Oracle"
|
|
| 106 |
echo "graph_category db"
|
|
| 107 | 107 |
echo "graph_info Shows active oracle connections to $ORACLE_SID" |
| 108 | 108 |
echo "graph_scale no" |
| 109 | 109 |
if [ $SHOW_ORACLE_USERS -eq 1 ] |
| plugins/oracle/oracle_sysmetricspl | ||
|---|---|---|
| 111 | 111 |
if ($name eq "transactions") {
|
| 112 | 112 |
print "graph_title User transactions\n"; |
| 113 | 113 |
print "graph_vlabel transactions per second\n"; |
| 114 |
print "graph_category Oracle\n";
|
|
| 114 |
print "graph_category db\n";
|
|
| 115 | 115 |
print "graph_info This graph shows the number of users transactions per second in Oracle\n"; |
| 116 | 116 |
print "graph_args --base 1000 -l 0\n"; |
| 117 | 117 |
print "transactions.label transactions\n"; |
| ... | ... | |
| 120 | 120 |
} elsif ($name eq "indexscans") {
|
| 121 | 121 |
print "graph_title Full index scans\n"; |
| 122 | 122 |
print "graph_vlabel indexscans per second\n"; |
| 123 |
print "graph_category Oracle\n";
|
|
| 123 |
print "graph_category db\n";
|
|
| 124 | 124 |
print "graph_info This graph shows the number of full index scans per second in Oracle\n"; |
| 125 | 125 |
print "graph_args --base 1000 -l 0\n"; |
| 126 | 126 |
print "indexscans.label indexscans\n"; |
Formats disponibles : Unified diff