2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

plugin categories: other -> cloud

This commit is contained in:
Lars Kruse 2018-03-28 04:30:14 +02:00
parent 4e47cb5d85
commit 9995f46c4a
4 changed files with 4 additions and 4 deletions

View File

@ -97,7 +97,7 @@ def print_config(task_names):
print 'graph_args --lower-limit 0' print 'graph_args --lower-limit 0'
print 'graph_scale no' print 'graph_scale no'
print 'graph_vlabel tasks per ${graph_period}' print 'graph_vlabel tasks per ${graph_period}'
print 'graph_category other' print 'graph_category cloud'
for name in task_names: for name in task_names:
print '%s.label %s' % (clean_task_name(name), name) print '%s.label %s' % (clean_task_name(name), name)

View File

@ -103,7 +103,7 @@ def print_config(workers = None):
print 'graph_args --lower-limit 0' print 'graph_args --lower-limit 0'
print 'graph_scale no' print 'graph_scale no'
print 'graph_vlabel tasks per ${graph_period}' print 'graph_vlabel tasks per ${graph_period}'
print 'graph_category other' print 'graph_category cloud'
for name in TASK_STATES: for name in TASK_STATES:
name = clean_state_name(name) name = clean_state_name(name)

View File

@ -27,7 +27,7 @@ if (defined $ARGV[0] and $ARGV[0] eq 'config') {
print "graph_title Gearman queue\n"; print "graph_title Gearman queue\n";
print "graph_args --base 1000\n"; print "graph_args --base 1000\n";
print "graph_vlabel jobs\n"; print "graph_vlabel jobs\n";
print "graph_category other\n"; print "graph_category cloud\n";
while ( my ($key, $value) = each(%$gearman) ) { while ( my ($key, $value) = each(%$gearman) ) {
my $param = $key."_"."queue"; my $param = $key."_"."queue";
print "$param.type GAUGE\n"; print "$param.type GAUGE\n";

View File

@ -35,7 +35,7 @@ if (defined $ARGV[0] and $ARGV[0] eq 'config') {
print "graph_title Gearman workers\n"; print "graph_title Gearman workers\n";
print "graph_args --base 1000\n"; print "graph_args --base 1000\n";
print "graph_vlabel workers\n"; print "graph_vlabel workers\n";
print "graph_category other\n"; print "graph_category cloud\n";
foreach my $key (@sorted) { foreach my $key (@sorted) {
my $param = $key."_"."total"; my $param = $key."_"."total";
print "$param.type GAUGE\n"; print "$param.type GAUGE\n";