Reduce number of categories, move "other" plugins
This commit is contained in:
parent
99542938b1
commit
c0568802bf
|
@ -97,7 +97,7 @@ def print_config(task_names):
|
|||
print 'graph_args --lower-limit 0'
|
||||
print 'graph_scale no'
|
||||
print 'graph_vlabel tasks per ${graph_period}'
|
||||
print 'graph_category celery'
|
||||
print 'graph_category other'
|
||||
|
||||
for name in task_names:
|
||||
print '%s.label %s' % (clean_task_name(name), name)
|
||||
|
|
|
@ -103,7 +103,7 @@ def print_config(workers = None):
|
|||
print 'graph_args --lower-limit 0'
|
||||
print 'graph_scale no'
|
||||
print 'graph_vlabel tasks per ${graph_period}'
|
||||
print 'graph_category celery'
|
||||
print 'graph_category other'
|
||||
|
||||
for name in TASK_STATES:
|
||||
name = clean_state_name(name)
|
||||
|
|
|
@ -45,6 +45,7 @@ fi
|
|||
if [ "$1" = "config" ]; then
|
||||
|
||||
echo 'graph_title horde3'
|
||||
echo 'graph_category appserver'
|
||||
echo 'graph_info This graph shows Horde3 logins, logouts and errors.'
|
||||
echo 'graph_vlabel per hour'
|
||||
echo 'logins.label logins'
|
|
@ -98,7 +98,7 @@
|
|||
switch( $argv[1] ) {
|
||||
case "config":
|
||||
echo "graph_title Stream Listeners\n";
|
||||
echo "graph_category Network\n";
|
||||
echo "graph_category streaming\n";
|
||||
echo "graph_vlabel listeners\n";
|
||||
echo "graph_hlabel listeners\n";
|
||||
echo "graph_args --base 1000 -l 0\n";
|
||||
|
|
|
@ -116,3 +116,5 @@ run_() {
|
|||
# plugin entry point:
|
||||
run_$1
|
||||
|
||||
# for Munin Plugin Gallery
|
||||
# graph_category streaming
|
||||
|
|
|
@ -91,7 +91,7 @@ if ( defined($ARGV[0])) {
|
|||
print "graph_args --base 1000 -l 0\n";
|
||||
print "graph_vlabel Users\n";
|
||||
print "graph_scale no\n";
|
||||
print "graph_category pf\n";
|
||||
print "graph_category network\n";
|
||||
print "graph_printf %3.0lf\n";
|
||||
|
||||
print "users.label users\n";
|
||||
|
@ -108,7 +108,7 @@ if ( defined($ARGV[0])) {
|
|||
print "graph_args --base 1024 -l 0\n";
|
||||
print "graph_vlabel Bandwidth\n";
|
||||
print "graph_scale yes\n";
|
||||
print "graph_category pf\n";
|
||||
print "graph_category network\n";
|
||||
# print "graph_printf %3.0lf\n";
|
||||
|
||||
print "in.label in\n";
|
Loading…
Reference in New Issue