Révision 7e562477
Category Tree: Reduce number of categories
ceph -> fs
added category for some plugins from "other" section
| plugins/ceph/ceph-osd-info | ||
|---|---|---|
| 184 | 184 |
print "osd%s_%s.value %s" % (osd,gr,data[osd][graph]) |
| 185 | 185 |
|
| 186 | 186 |
# for Munin Plugin Gallery |
| 187 |
# graph_category ceph
|
|
| 187 |
# graph_category fs
|
|
| 188 | 188 |
|
| plugins/ircd/irc2 | ||
|---|---|---|
| 39 | 39 |
if($ARGV[0] and $ARGV[0] eq "config") {
|
| 40 | 40 |
print "host_name $server\n"; |
| 41 | 41 |
print "graph_title ircd status - $server\n"; |
| 42 |
print "graph_category chat\n"; |
|
| 42 | 43 |
print "graph_order clients channels servers localclients clientmax localclientmax localservers opers unknownconns\n"; |
| 43 | 44 |
print "graph_args -l 0\n"; |
| 44 | 45 |
print "clients.label clients\n"; |
| plugins/mumble/mumble_users | ||
|---|---|---|
| 26 | 26 |
|
| 27 | 27 |
if (sys.argv.__len__() == 2) and (sys.argv[1] == "config"): |
| 28 | 28 |
print "graph_title Mumble users" |
| 29 |
print "graph_category voip" |
|
| 29 | 30 |
print "graph_vlabel users" |
| 30 | 31 |
print "graph_args --lower-limit 0" |
| 31 | 32 |
for server in murmur.getAllServers(): |
| plugins/mumble/murmur-stats | ||
|---|---|---|
| 26 | 26 |
if (sys.argv[1:]): |
| 27 | 27 |
if (sys.argv[1] == "config"): |
| 28 | 28 |
print 'graph_title Murmur (Port %s)' % (serverport) |
| 29 |
print 'graph_category voip' |
|
| 29 | 30 |
print 'graph_vlabel Count' |
| 30 | 31 |
print 'users.label Users' |
| 31 | 32 |
print 'uptime.label Uptime in days' |
| plugins/other/freebsd-upgrades | ||
|---|---|---|
| 2 | 2 |
|
| 3 | 3 |
if [ "$1" = "config" ]; then |
| 4 | 4 |
echo "graph_title Available Updates" |
| 5 |
echo "graph_category security" |
|
| 5 | 6 |
echo "graph_args --base 1000 -l 0" |
| 6 | 7 |
echo "graph_vlabel upgradeable packages/ports " |
| 7 | 8 |
echo "pkg.label binary packages" |
| plugins/other/passenger_memory | ||
|---|---|---|
| 12 | 12 |
|
| 13 | 13 |
if ARGV.length > 0 && ARGV[0] == 'config' |
| 14 | 14 |
puts "graph_title Passenger Memory Usage" |
| 15 |
puts "graph_category webserver" |
|
| 15 | 16 |
puts "graph_vlabel MB" |
| 16 | 17 |
puts "apache_rss.label Apache Dirty RSS" |
| 17 | 18 |
puts "passenger_rss.label Passenger Dirty RSS" |
| plugins/other/passenger_processes | ||
|---|---|---|
| 9 | 9 |
|
| 10 | 10 |
if ARGV.length > 0 && ARGV[0] == 'config' |
| 11 | 11 |
puts "graph_title Passenger Processes" |
| 12 |
puts "graph_category webserver" |
|
| 12 | 13 |
puts "graph_vlabel processes" |
| 13 | 14 |
puts "max.label Max processes" |
| 14 | 15 |
puts "count.label Total processes" |
| plugins/postgresql/postgres_tuplesratio_ | ||
|---|---|---|
| 77 | 77 |
|
| 78 | 78 |
$pg->Process(); |
| 79 | 79 |
exit(0); |
| 80 |
|
|
| 81 |
# for Munin Plugin Gallery |
|
| 82 |
# graph_category db |
|
| 83 |
|
|
| plugins/squid/squid | ||
|---|---|---|
| 460 | 460 |
print "\n"; |
| 461 | 461 |
} |
| 462 | 462 |
|
| 463 |
# for Munin Plugin Gallery |
|
| 464 |
# graph_category webserver |
|
| 465 |
|
|
| plugins/system/cpu_linux_multi | ||
|---|---|---|
| 422 | 422 |
exit(1); |
| 423 | 423 |
} |
| 424 | 424 |
exit(0); |
| 425 |
|
|
| 426 |
# for Munin Plugin Gallery |
|
| 427 |
# graph_category cpu |
|
| 428 |
|
|
Formats disponibles : Unified diff