mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Reduce number of categories
riak -> other (riak) smf -> forum (smf) reddit -> other (reddit) sge -> htc (sge) netscaler -> loadbalancer (netscaler) nutcracker -> other (twemproxy) requesttracker -> other (requesttracker) passenger -> webserver (passenger) gearman -> other (gearman)
This commit is contained in:
parent
212768ed9b
commit
63351ab535
@ -35,7 +35,7 @@ if (defined $ARGV[0] and $ARGV[0] eq 'config') {
|
||||
print "graph_title Gearman workers\n";
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_vlabel workers\n";
|
||||
print "graph_category Gearman\n";
|
||||
print "graph_category other\n";
|
||||
foreach my $key (@sorted) {
|
||||
my $param = $key."_"."total";
|
||||
print "$param.type GAUGE\n";
|
||||
|
@ -130,7 +130,7 @@ if ($ARGV[0] and $ARGV[0] eq "config") {
|
||||
print "graph_args --base 1024 -l 0\n";
|
||||
print "graph_vlabel Connections\n";
|
||||
print "graph_title Netscaler Connections for $o_host\n";
|
||||
print "graph_category netscaler\n";
|
||||
print "graph_category loadbalancer\n";
|
||||
print "graph_period second\n";
|
||||
print "graph_info This graph shows the netscaler TCP connections.\n";
|
||||
print "graph_order ",
|
@ -147,7 +147,7 @@ if ($ARGV[0] and $ARGV[0] eq "config") {
|
||||
print "graph_vlabel %\n";
|
||||
print "graph_scale no\n";
|
||||
print "graph_title CPU usage for $o_host\n";
|
||||
print "graph_category netscaler\n";
|
||||
print "graph_category loadbalancer\n";
|
||||
print "graph_period second\n";
|
||||
print "graph_info This graph shows how CPU time is spent.\n";
|
||||
print "avg.label avg\n";
|
@ -61,7 +61,7 @@ if [ "$1" = "config" ]; then
|
||||
echo 'graph_args --base 1000 -l 0'
|
||||
echo 'graph_vlabel requests / ${graph_period}'
|
||||
echo 'graph_total total'
|
||||
echo 'graph_category NFS'
|
||||
echo 'graph_category fs'
|
||||
for a in $proc ; do echo "$a.label $a" ; echo "$a.type DERIVE"; echo "$a.min 0"; done
|
||||
exit 0
|
||||
fi
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
def output_config
|
||||
puts <<-END
|
||||
graph_category passenger
|
||||
graph_category webserver
|
||||
graph_title status
|
||||
graph_vlabel count
|
||||
graph_info This graph shows how much passenger process are working, available and how much queries are waiting.
|
||||
|
@ -49,7 +49,7 @@ if [ "$1" = "config" ]; then
|
||||
echo 'graph_args --base 1000'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_vlabel Link Karma'
|
||||
echo 'graph_category Reddit'
|
||||
echo 'graph_category other'
|
||||
echo 'comment_karma.label Comment Karma'
|
||||
echo 'comment_karma.draw LINE'
|
||||
echo 'link_karma.label Link Karma'
|
||||
|
@ -89,7 +89,7 @@ if [ "$1" = "config" ]; then
|
||||
echo "graph_title RT ticket loadtime"
|
||||
echo "graph_args --base 1000 -l 0"
|
||||
echo "graph_vlabel Loadtime in seconds"
|
||||
echo "graph_category requesttracker"
|
||||
echo "graph_category other"
|
||||
echo "graph_info This graph shows the loadtime in seconds of RT ticket $ticket_id"
|
||||
echo "webui.label loadtime WebUI"
|
||||
echo "webui.max 300"
|
||||
|
@ -27,7 +27,7 @@ def doConfig():
|
||||
print "graph_title 95th percentile of FSM time"
|
||||
print "graph_args --base 1000"
|
||||
print "graph_vlabel gets (-) puts (+) in ms"
|
||||
print "graph_category Riak"
|
||||
print "graph_category other"
|
||||
print "graph_info Response time, in milliseconds, met or beaten by 95% of riak_kv_get_fsm executions."
|
||||
|
||||
print "get_fsm_time_95.label vnode_gets"
|
||||
|
@ -38,7 +38,7 @@ def doConfig():
|
||||
print "graph_title Riak memory"
|
||||
print "graph_args --base 1000 -l 0"
|
||||
print "graph_vlabel memory"
|
||||
print "graph_category Riak"
|
||||
print "graph_category other"
|
||||
|
||||
for name in names:
|
||||
print name + ".label " + name
|
||||
|
@ -38,7 +38,7 @@ def doConfig():
|
||||
print "graph_title Riak puts and gets"
|
||||
print "graph_args --base 1000 -l 0"
|
||||
print "graph_vlabel puts/gets"
|
||||
print "graph_category Riak"
|
||||
print "graph_category other"
|
||||
|
||||
for name in names:
|
||||
print name + ".label " + name
|
||||
|
@ -32,7 +32,7 @@ if [ "$1" = "config" ]
|
||||
then
|
||||
echo graph_title SGE gridengine jobs
|
||||
echo graph_vlabel count
|
||||
echo graph_category processes
|
||||
echo graph_category htc
|
||||
echo running.label Running jobs
|
||||
echo running.type GAUGE
|
||||
echo running.draw AREA
|
||||
|
@ -58,7 +58,7 @@ if [ "$1" = "config" ]; then
|
||||
echo "graph_vlabel Queue slots"
|
||||
echo "graph_scale no"
|
||||
echo "graph_info Shows global Sun Grid Engine queue state."
|
||||
echo "graph_category SGE"
|
||||
echo "graph_category htc"
|
||||
echo "graph_period minute"
|
||||
echo "used.label Used"
|
||||
echo "used.draw AREA"
|
||||
|
@ -56,7 +56,7 @@ if [ "$1" = "config" ]; then
|
||||
echo "graph_vlabel Queue slots"
|
||||
echo "graph_scale no"
|
||||
echo "graph_info Shows global Grid Engine queue state."
|
||||
echo "graph_category SGE"
|
||||
echo "graph_category htc"
|
||||
echo "graph_period minute"
|
||||
echo "used.label Used"
|
||||
echo "used.draw AREA"
|
||||
|
@ -41,7 +41,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') {
|
||||
print <<EOC
|
||||
graph_title SMF Errors Log
|
||||
graph_vlabel Number of errors
|
||||
graph_category SMF
|
||||
graph_category forum
|
||||
errors.label Errors
|
||||
graph_scale no
|
||||
errors.warning 10000
|
@ -41,7 +41,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') {
|
||||
print <<EOC
|
||||
graph_title SMF Mail Queue
|
||||
graph_vlabel Number of emails
|
||||
graph_category SMF
|
||||
graph_category forum
|
||||
emails.label Emails
|
||||
graph_scale no
|
||||
emails.warning 10000
|
@ -41,7 +41,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') {
|
||||
print <<EOC
|
||||
graph_title SMF Users Online
|
||||
graph_vlabel Number of sessions
|
||||
graph_category SMF
|
||||
graph_category forum
|
||||
guests.label Guests
|
||||
graph_scale no
|
||||
all.warning 1000
|
@ -41,7 +41,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') {
|
||||
print <<EOC
|
||||
graph_title SMF Statistics
|
||||
graph_vlabel Number of items
|
||||
graph_category SMF
|
||||
graph_category forum
|
||||
members.label Total members
|
||||
graph_scale no
|
||||
EOC
|
@ -48,7 +48,7 @@ def process_data():
|
||||
|
||||
def process_config():
|
||||
print "graph_title Nutcracker requests/s"
|
||||
print "graph_category nutcracker"
|
||||
print "graph_category other"
|
||||
print "graph_vlabel requests/s"
|
||||
|
||||
data = get_stats();
|
Loading…
Reference in New Issue
Block a user