mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Category Tree: Reduce number of categories
sphinx -> search unicorn -> webserver moved some plugins to other dirs to get better seconde level heading
This commit is contained in:
parent
444c7939de
commit
e08a6448ce
@ -23,10 +23,10 @@ if (isset($argc) && $argc > 1) {
|
||||
if ($argv[1] == 'config') {
|
||||
echo "graph_title Sphinx Connections in last 5 minutes\n" .
|
||||
"graph_info This graph shows the number of connections for last 5 minutes\n" .
|
||||
"graph_category sphinx\n" .
|
||||
"graph_category search\n" .
|
||||
"graph_args --base 1000 --lower-limit 0\n" .
|
||||
"graph_vlabel Connections\n" .
|
||||
"graph_info The number of current connections with respect to the max_connections setting.graph_category sphinx\n" .
|
||||
"graph_info The number of current connections with respect to the max_connections setting.graph_category search\n" .
|
||||
"graph_order current\n" .
|
||||
"graph_total Total\n" .
|
||||
"current.label In Use\n" .
|
||||
|
@ -17,7 +17,7 @@ case $1 in
|
||||
graph_title Documents per index
|
||||
graph_vlabel number
|
||||
graph_scale no
|
||||
graph_category sphinx
|
||||
graph_category search
|
||||
graph_info Report number of documents (using indextool) by Sphinx Index.
|
||||
EOM
|
||||
for i in `ls $idxpath/*.sph`; do
|
||||
|
@ -23,7 +23,7 @@ if (isset($argc) && $argc > 1) {
|
||||
if ($argv[1] == 'config') {
|
||||
echo "graph_title Sphinx Queries in last 5 minutes\n" .
|
||||
"graph_info This graph shows the number of queries for last 5 minutes\n" .
|
||||
"graph_category sphinx\n" .
|
||||
"graph_category search\n" .
|
||||
"graph_args --base 1000 --lower-limit 0\n" .
|
||||
"graph_vlabel Connections\n" .
|
||||
"graph_info The number of current queries\n" .
|
||||
|
@ -68,7 +68,7 @@ if ( exists $ARGV[0] and $ARGV[0] eq "config" ) {
|
||||
# Default Settings
|
||||
print "graph_title SHOUTcast Online\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_category shoutcast\n";
|
||||
print "graph_category streaming\n";
|
||||
print "graph_vlabel Connections per \${graph_period}\n";
|
||||
|
||||
# Max Listeners Allowed to Connect to Server
|
||||
|
@ -21,7 +21,7 @@ if [ "$mode" = "memory" ]; then
|
||||
if [ "$1" = "config" ]; then
|
||||
echo "graph_title Total Unicorn Memory"
|
||||
echo "graph_vlabel Total RAM"
|
||||
echo "graph_category Unicorn"
|
||||
echo "graph_category webserver"
|
||||
echo "graph_args --base 1024"
|
||||
echo "ram.label Total RAM"
|
||||
exit 0
|
||||
@ -42,7 +42,7 @@ elif [ "$mode" = "processes" ]; then
|
||||
if [ "$1" = "config" ]; then
|
||||
echo "graph_title Unicorn Processes"
|
||||
echo "graph_vlabel Processes"
|
||||
echo "graph_category Unicorn"
|
||||
echo "graph_category webserver"
|
||||
echo "processes.label active processes"
|
||||
else
|
||||
echo -n "processes.value "
|
||||
@ -55,7 +55,7 @@ elif [ "$mode" = "average" ]; then
|
||||
echo 'graph_title Unicorn Average Process Size'
|
||||
echo 'graph_args --base 1024 -l 0 '
|
||||
echo 'graph_vlabel Average Process Size'
|
||||
echo 'graph_category Unicorn'
|
||||
echo 'graph_category webserver'
|
||||
echo 'unicorn_average.label Average Process Size'
|
||||
echo 'unicorn_average.draw LINE2'
|
||||
echo 'unicorn_average.info The average process size for Unicorn'
|
||||
|
@ -74,7 +74,7 @@ when "config"
|
||||
puts "graph_title Unicorn [#{File.basename(__FILE__).gsub(/^unicorn_memory_status_/, '')}] - Memory usage"
|
||||
puts "graph_args --base 1024 -l 0"
|
||||
puts "graph_vlabel bytes"
|
||||
puts "graph_category Unicorn"
|
||||
puts "graph_category webserver"
|
||||
puts "total_memory.label total_memory"
|
||||
puts "total_memory.draw LINE2"
|
||||
else
|
||||
|
@ -72,7 +72,7 @@ when "config"
|
||||
puts "graph_title Unicorn [#{File.basename(__FILE__).gsub(/^unicorn_status_/, '')}] - Status"
|
||||
puts "graph_args -l 0"
|
||||
puts "graph_vlabel number of workers"
|
||||
puts "graph_category Unicorn"
|
||||
puts "graph_category webserver"
|
||||
puts "total_worker.label total_workers"
|
||||
puts "idle_worker.label idle_workers"
|
||||
else
|
||||
|
@ -17,7 +17,7 @@ def config(data):
|
||||
print "graph_args -l 0"
|
||||
print "graph_vlabel n"
|
||||
print "graph_period minute"
|
||||
print "graph_category ZEO"
|
||||
print "graph_category webserver"
|
||||
|
||||
def get_data():
|
||||
import sys
|
||||
|
Loading…
Reference in New Issue
Block a user