Projet

Général

Profil

Révision 63351ab5

ID63351ab53547f94309a1b0946ffcb8c4c8d9142f
Parent 212768ed
Enfant eb100e33

Ajouté par dipohl il y a presque 9 ans

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)

Voir les différences:

plugins/gearman/gearman_workers
35 35
	print "graph_title Gearman workers\n";
36 36
	print "graph_args --base 1000\n";
37 37
	print "graph_vlabel workers\n";
38
	print "graph_category Gearman\n";
38
	print "graph_category other\n";
39 39
	foreach my $key (@sorted) {
40 40
		my $param = $key."_"."total";
41 41
		print "$param.type GAUGE\n";
plugins/netscaler/snmp__netscaler_connections
130 130
    print "graph_args --base 1024 -l 0\n";
131 131
    print "graph_vlabel Connections\n";
132 132
    print "graph_title Netscaler Connections for $o_host\n";
133
    print "graph_category netscaler\n";
133
    print "graph_category loadbalancer\n";
134 134
    print "graph_period second\n";
135 135
    print "graph_info This graph shows the netscaler TCP connections.\n";
136 136
    print "graph_order ",
plugins/netscaler/snmp__netscaler_cpu
147 147
    print "graph_vlabel %\n";
148 148
    print "graph_scale no\n";
149 149
    print "graph_title CPU usage for $o_host\n";
150
    print "graph_category netscaler\n";
150
    print "graph_category loadbalancer\n";
151 151
    print "graph_period second\n";
152 152
    print "graph_info This graph shows how CPU time is spent.\n";
153 153
    print "avg.label avg\n";
plugins/nfs/nfsv4
61 61
	echo 'graph_args --base 1000 -l 0'
62 62
	echo 'graph_vlabel requests / ${graph_period}'
63 63
	echo 'graph_total total'
64
	echo 'graph_category NFS'
64
	echo 'graph_category fs'
65 65
	for a in $proc ; do echo "$a.label $a" ; echo "$a.type DERIVE"; echo "$a.min 0"; done
66 66
	exit 0
67 67
fi
plugins/passenger/passenger_status
2 2
 
3 3
def output_config
4 4
  puts <<-END
5
graph_category passenger
5
graph_category webserver
6 6
graph_title status
7 7
graph_vlabel count
8 8
graph_info This graph shows how much passenger process are working, available and how much queries are waiting.
......
52 52
  output_config
53 53
else
54 54
  output_values
55
end
55
end
plugins/reddit_karma/reddit_karma_
49 49
    echo 'graph_args --base 1000'
50 50
    echo 'graph_scale no'
51 51
    echo 'graph_vlabel Link Karma'
52
    echo 'graph_category Reddit'
52
    echo 'graph_category other'
53 53
    echo 'comment_karma.label Comment Karma'
54 54
    echo 'comment_karma.draw LINE'
55 55
    echo 'link_karma.label Link Karma'
plugins/requesttracker/rt_ticket_loadtime
89 89
    echo "graph_title RT ticket loadtime"
90 90
    echo "graph_args --base 1000 -l 0"
91 91
    echo "graph_vlabel Loadtime in seconds"
92
    echo "graph_category requesttracker"
92
    echo "graph_category other"
93 93
    echo "graph_info This graph shows the loadtime in seconds of RT ticket $ticket_id"
94 94
    echo "webui.label loadtime WebUI"
95 95
    echo "webui.max 300"
plugins/riak/riak_fsm_time_95
27 27
    print "graph_title 95th percentile of FSM time"
28 28
    print "graph_args --base 1000"
29 29
    print "graph_vlabel gets (-) puts (+) in ms"
30
    print "graph_category Riak"
30
    print "graph_category other"
31 31
    print "graph_info Response time, in milliseconds, met or beaten by 95% of riak_kv_get_fsm executions."
32 32

  
33 33
    print "get_fsm_time_95.label vnode_gets"
plugins/riak/riak_memory
38 38
    print "graph_title Riak memory"
39 39
    print "graph_args --base 1000 -l 0"
40 40
    print "graph_vlabel memory"
41
    print "graph_category Riak"
41
    print "graph_category other"
42 42

  
43 43
    for name in names:
44 44
        print name + ".label " + name
plugins/riak/riak_node
38 38
    print "graph_title Riak puts and gets"
39 39
    print "graph_args --base 1000 -l 0"
40 40
    print "graph_vlabel puts/gets"
41
    print "graph_category Riak"
41
    print "graph_category other"
42 42

  
43 43
    for name in names:
44 44
        print name + ".label " + name
plugins/sge/sge_job_stats
32 32
then
33 33
	echo graph_title SGE gridengine jobs
34 34
	echo graph_vlabel count
35
	echo graph_category processes
35
	echo graph_category htc
36 36
	echo running.label Running jobs
37 37
	echo running.type GAUGE
38 38
	echo running.draw AREA
plugins/sge/sge_queue_
58 58
    echo "graph_vlabel Queue slots"
59 59
    echo "graph_scale no"
60 60
    echo "graph_info Shows global Sun Grid Engine queue state."
61
    echo "graph_category SGE"
61
    echo "graph_category htc"
62 62
    echo "graph_period minute"
63 63
    echo "used.label Used"
64 64
    echo "used.draw AREA"
plugins/sge/sge_queue_xml_
56 56
    echo "graph_vlabel Queue slots"
57 57
    echo "graph_scale no"
58 58
    echo "graph_info Shows global Grid Engine queue state."
59
    echo "graph_category SGE"
59
    echo "graph_category htc"
60 60
    echo "graph_period minute"
61 61
    echo "used.label Used"
62 62
    echo "used.draw AREA"
plugins/smf/smf_errors
41 41
    print <<EOC
42 42
graph_title SMF Errors Log
43 43
graph_vlabel Number of errors
44
graph_category SMF
44
graph_category forum
45 45
errors.label Errors
46 46
graph_scale no
47 47
errors.warning 10000
plugins/smf/smf_mail_queue
41 41
    print <<EOC
42 42
graph_title SMF Mail Queue
43 43
graph_vlabel Number of emails
44
graph_category SMF
44
graph_category forum
45 45
emails.label Emails
46 46
graph_scale no
47 47
emails.warning 10000
plugins/smf/smf_online
41 41
    print <<EOC
42 42
graph_title SMF Users Online
43 43
graph_vlabel Number of sessions
44
graph_category SMF
44
graph_category forum
45 45
guests.label Guests
46 46
graph_scale no
47 47
all.warning  1000
plugins/smf/smf_stats
41 41
    print <<EOC
42 42
graph_title SMF Statistics
43 43
graph_vlabel Number of items
44
graph_category SMF
44
graph_category forum
45 45
members.label Total members
46 46
graph_scale no
47 47
EOC
plugins/twemproxy/nutcracker_requests_
48 48

  
49 49
def process_config():
50 50
    print "graph_title Nutcracker requests/s"
51
    print "graph_category nutcracker"
51
    print "graph_category other"
52 52
    print "graph_vlabel requests/s"
53 53

  
54 54
    data = get_stats();

Formats disponibles : Unified diff