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:
dipohl 2017-02-23 23:12:19 +01:00
parent 212768ed9b
commit 63351ab535
20 changed files with 19 additions and 19 deletions

View File

@ -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";

View File

@ -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 ",

View File

@ -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";

View File

@ -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

View File

@ -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.
@ -52,4 +52,4 @@ if ARGV[0] == "config"
output_config
else
output_values
end
end

View File

@ -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'

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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();