Révision c0568802
Reduce number of categories, move "other" plugins
| plugins/celery/celery_tasks | ||
|---|---|---|
| 97 | 97 |
print 'graph_args --lower-limit 0' |
| 98 | 98 |
print 'graph_scale no' |
| 99 | 99 |
print 'graph_vlabel tasks per ${graph_period}'
|
| 100 |
print 'graph_category celery'
|
|
| 100 |
print 'graph_category other'
|
|
| 101 | 101 |
|
| 102 | 102 |
for name in task_names: |
| 103 | 103 |
print '%s.label %s' % (clean_task_name(name), name) |
| plugins/celery/celery_tasks_states | ||
|---|---|---|
| 103 | 103 |
print 'graph_args --lower-limit 0' |
| 104 | 104 |
print 'graph_scale no' |
| 105 | 105 |
print 'graph_vlabel tasks per ${graph_period}'
|
| 106 |
print 'graph_category celery'
|
|
| 106 |
print 'graph_category other'
|
|
| 107 | 107 |
|
| 108 | 108 |
for name in TASK_STATES: |
| 109 | 109 |
name = clean_state_name(name) |
| plugins/horde/horde | ||
|---|---|---|
| 45 | 45 |
if [ "$1" = "config" ]; then |
| 46 | 46 |
|
| 47 | 47 |
echo 'graph_title horde3' |
| 48 |
echo 'graph_category appserver' |
|
| 48 | 49 |
echo 'graph_info This graph shows Horde3 logins, logouts and errors.' |
| 49 | 50 |
echo 'graph_vlabel per hour' |
| 50 | 51 |
echo 'logins.label logins' |
| plugins/network/radio | ||
|---|---|---|
| 98 | 98 |
switch( $argv[1] ) {
|
| 99 | 99 |
case "config": |
| 100 | 100 |
echo "graph_title Stream Listeners\n"; |
| 101 |
echo "graph_category Network\n";
|
|
| 101 |
echo "graph_category streaming\n";
|
|
| 102 | 102 |
echo "graph_vlabel listeners\n"; |
| 103 | 103 |
echo "graph_hlabel listeners\n"; |
| 104 | 104 |
echo "graph_args --base 1000 -l 0\n"; |
| plugins/other/listeners | ||
|---|---|---|
| 116 | 116 |
# plugin entry point: |
| 117 | 117 |
run_$1 |
| 118 | 118 |
|
| 119 |
# for Munin Plugin Gallery |
|
| 120 |
# graph_category streaming |
|
| plugins/pf/pf_tables_ | ||
|---|---|---|
| 91 | 91 |
print "graph_args --base 1000 -l 0\n"; |
| 92 | 92 |
print "graph_vlabel Users\n"; |
| 93 | 93 |
print "graph_scale no\n"; |
| 94 |
print "graph_category pf\n";
|
|
| 94 |
print "graph_category network\n";
|
|
| 95 | 95 |
print "graph_printf %3.0lf\n"; |
| 96 | 96 |
|
| 97 | 97 |
print "users.label users\n"; |
| ... | ... | |
| 108 | 108 |
print "graph_args --base 1024 -l 0\n"; |
| 109 | 109 |
print "graph_vlabel Bandwidth\n"; |
| 110 | 110 |
print "graph_scale yes\n"; |
| 111 |
print "graph_category pf\n";
|
|
| 111 |
print "graph_category network\n";
|
|
| 112 | 112 |
# print "graph_printf %3.0lf\n"; |
| 113 | 113 |
|
| 114 | 114 |
print "in.label in\n"; |
Formats disponibles : Unified diff