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

Category Tree: Reduce number of categories

ceph -> fs
added category for some plugins from "other" section
This commit is contained in:
dipohl 2017-02-23 18:54:28 +01:00
parent a8d024ace4
commit 7e56247745
10 changed files with 18 additions and 1 deletions

View File

@ -184,5 +184,5 @@ else:
print "osd%s_%s.value %s" % (osd,gr,data[osd][graph])
# for Munin Plugin Gallery
# graph_category ceph
# graph_category fs

View File

@ -39,6 +39,7 @@ my $server = $ENV{SERVER} || 'localhost';
if($ARGV[0] and $ARGV[0] eq "config") {
print "host_name $server\n";
print "graph_title ircd status - $server\n";
print "graph_category chat\n";
print "graph_order clients channels servers localclients clientmax localclientmax localservers opers unknownconns\n";
print "graph_args -l 0\n";
print "clients.label clients\n";

View File

@ -26,6 +26,7 @@ murmur = Murmur.MetaPrx.checkedCast(prx)
if (sys.argv.__len__() == 2) and (sys.argv[1] == "config"):
print "graph_title Mumble users"
print "graph_category voip"
print "graph_vlabel users"
print "graph_args --lower-limit 0"
for server in murmur.getAllServers():

View File

@ -26,6 +26,7 @@ import Murmur
if (sys.argv[1:]):
if (sys.argv[1] == "config"):
print 'graph_title Murmur (Port %s)' % (serverport)
print 'graph_category voip'
print 'graph_vlabel Count'
print 'users.label Users'
print 'uptime.label Uptime in days'

View File

@ -2,6 +2,7 @@
if [ "$1" = "config" ]; then
echo "graph_title Available Updates"
echo "graph_category security"
echo "graph_args --base 1000 -l 0"
echo "graph_vlabel upgradeable packages/ports "
echo "pkg.label binary packages"

View File

@ -12,6 +12,7 @@ memory_stats_command = ENV['memory_stats_command'] || '/opt/ruby-enterprise-1.8.
if ARGV.length > 0 && ARGV[0] == 'config'
puts "graph_title Passenger Memory Usage"
puts "graph_category webserver"
puts "graph_vlabel MB"
puts "apache_rss.label Apache Dirty RSS"
puts "passenger_rss.label Passenger Dirty RSS"

View File

@ -9,6 +9,7 @@ process_stats_command = ENV['process_stats_command'] || '/opt/ruby-enterprise-1.
if ARGV.length > 0 && ARGV[0] == 'config'
puts "graph_title Passenger Processes"
puts "graph_category webserver"
puts "graph_vlabel processes"
puts "max.label Max processes"
puts "count.label Total processes"

View File

@ -77,3 +77,7 @@ my $pg = Munin::Plugin::Pgsql->new(
$pg->Process();
exit(0);
# for Munin Plugin Gallery
# graph_category db

View File

@ -460,3 +460,6 @@ foreach my $mgraph (sort keys(%data))
print "\n";
}
# for Munin Plugin Gallery
# graph_category webserver

View File

@ -422,3 +422,7 @@ EOF
exit(1);
}
exit(0);
# for Munin Plugin Gallery
# graph_category cpu