Révision f41b6861
Category Tree: Reduce number of categories
monit -> munin
nova -> cloud (nova)
powermta -> mail (powermta)
redis -> search (redis) and system (redis)
| plugins/redis/resque | ||
|---|---|---|
| 48 | 48 |
if ($opt eq 'failed') {
|
| 49 | 49 |
if ($config) {
|
| 50 | 50 |
print "graph_title Resque Failure rate\n"; |
| 51 |
print "graph_category Resque\n";
|
|
| 51 |
print "graph_category system\n";
|
|
| 52 | 52 |
print "graph_info This graph shows resque jobs that failed\n"; |
| 53 | 53 |
print "graph_args --lower-limit 0\n"; |
| 54 | 54 |
print 'graph_vlabel fails/s\n'; |
| ... | ... | |
| 64 | 64 |
elsif ($opt eq 'queues') {
|
| 65 | 65 |
if ($config) {
|
| 66 | 66 |
print "graph_title Resque queue rates\n"; |
| 67 |
print "graph_category Resque\n";
|
|
| 67 |
print "graph_category system\n";
|
|
| 68 | 68 |
print "graph_vlabel queue rates/s\n"; |
| 69 | 69 |
print "graph_info This graph monitors the in and out rate of the queues\n"; |
| 70 | 70 |
print "graph_args --lower-limit 0\n"; |
| ... | ... | |
| 97 | 97 |
elsif ($opt eq 'queues_size') {
|
| 98 | 98 |
if ($config) {
|
| 99 | 99 |
print "graph_title Resque queue current size\n"; |
| 100 |
print "graph_category Resque\n";
|
|
| 100 |
print "graph_category system\n";
|
|
| 101 | 101 |
print "graph_vlabel queue size\n"; |
| 102 | 102 |
print "graph_info This graph monitors the current queues size\n"; |
| 103 | 103 |
print "graph_args --lower-limit 0\n"; |
| ... | ... | |
| 133 | 133 |
elsif ($opt eq 'workers_count') {
|
| 134 | 134 |
if ($config) {
|
| 135 | 135 |
print "graph_title Resque Workers Count\n"; |
| 136 |
print "graph_category Resque\n";
|
|
| 136 |
print "graph_category system\n";
|
|
| 137 | 137 |
print "graph_info This graph shows number of resque workers\n"; |
| 138 | 138 |
print "graph_args --lower-limit 0\n"; |
| 139 | 139 |
print "graph_vlabel workers\n"; |
| ... | ... | |
| 149 | 149 |
elsif ($opt eq 'workers_working') {
|
| 150 | 150 |
if ($config) {
|
| 151 | 151 |
print "graph_title Resque Workers in use\n"; |
| 152 |
print "graph_category Resque\n";
|
|
| 152 |
print "graph_category system\n";
|
|
| 153 | 153 |
print "graph_info This graph shows the \%age of resque workers busy\n"; |
| 154 | 154 |
print "graph_args --lower-limit 0 --upper-limit 100\n"; |
| 155 | 155 |
print "graph_vlabel %\n"; |
Formats disponibles : Unified diff