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

This commit is contained in:
dipohl 2017-02-22 16:22:46 +01:00
parent ff883dee02
commit 6c3ce4e1e5
26 changed files with 26 additions and 26 deletions

View File

@ -95,7 +95,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_vlabel %\n";
print "graph_scale no\n";
print "graph_period second\n";
print "graph_category Docker\n";
print "graph_category virtualization\n";
print "graph_info This graph shows docker container CPU usage.\n";
foreach(@result)

View File

@ -79,7 +79,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_title Docker container memory usage\n";
print "graph_args --base 1024 -l 0\n";
print "graph_vlabel Bytes\n";
print "graph_category Docker\n";
print "graph_category virtualization\n";
print "graph_info This graph shows docker container memory usage.\n";
foreach(@result)

View File

@ -66,7 +66,7 @@ case $1 in
/dotted-name/ { myself = $NF
print "graph_title GlassFish", myself
print "graph_vlabel count"
print "graph_category glassfish"
print "graph_category appserver"
print "graph_info this shows available counters from", myself
next
}

View File

@ -55,7 +55,7 @@ if [ "$1" = "config" ]; then
iLoop=1
echo 'graph_title Google page rank'
echo 'graph_args --upper-limit 100 -l 0'
echo 'graph_category google'
echo 'graph_category search'
echo 'graph_scale no'
echo 'graph_info Google page rank for URLs & Words'

View File

@ -47,7 +47,7 @@ if [ "$1" = "config" ]; then
echo "graph_title Number of downloads of $PROJECTNAME from Google Code "
echo "graph_args --base 1000 --lower-limit 0"
echo "graph_vlabel number of downloads"
echo "graph_category google"
echo "graph_category other"
echo "graph_info This graph shows the number of downloads of $PROJECTNAME from Google Code."
j=0
for (( i = 1 ; i < $Nfiles ; i=i+5 ))

View File

@ -35,7 +35,7 @@ if len(sys.argv) == 2 and sys.argv[1]=="config":
print("graph_title LXD container disk usage")
print("graph_args --base 1000 --lower-limit 0")
print("graph_vlabel Bytes")
print("graph_category lxd")
print("graph_category virtualization")
print("graph_info This shows the disk usage of storage in containers. Make sure to install pylxd in python3.")
for name in c.container_list():
info = c.container_info(name)

View File

@ -35,7 +35,7 @@ if len(sys.argv) == 2 and sys.argv[1]=="config":
print("graph_title LXD container memory")
print("graph_args --base 1024 --lower-limit 0")
print("graph_vlabel Bytes")
print("graph_category lxd")
print("graph_category virtualization")
print("graph_info This shows the memory usage of each container. Make sure to install pylxd in python3.")
for name in c.container_list():
print(name+".label "+name)

View File

@ -32,7 +32,7 @@ def config
puts "graph_args --base 1000 -r --lower-limit 0"
puts "graph_title Moblock"
puts "graph_vlabel Blocked Connections"
puts "graph_category moblock"
puts "graph_category fw"
puts "graph_info This graph shows the number of connections blocked by Moblock"
puts "blocked_in.label Blocked In"

View File

@ -87,7 +87,7 @@ if [ "$1" = "config" ]; then
echo "graph_title $IP traffic"
echo 'graph_args --base 1024'
echo 'graph_vlabel bytes per ${graph_period}'
echo 'graph_category network'
echo 'graph_category fw'
echo 'out.label sent'
echo 'out.type DERIVE'
echo 'out.min 0'

View File

@ -63,7 +63,7 @@ if [ "$1" = "config" ]; then
echo "graph_title Ipfw rules counters $NAME"
echo 'graph_args --base 1000 -l 0'
echo 'graph_vlabel bits / ${graph_period}'
echo 'graph_category network'
echo 'graph_category fw'
draw="AREA"
for rule in $rules; do
eval "label0=\$rule_${rule}_label"

View File

@ -57,7 +57,7 @@ if [ "$1" = "config" ]; then
echo 'graph_args --base 1000 -l 0'
echo 'graph_vlabel links count'
echo 'graph_noscale true'
echo 'graph_category network'
echo 'graph_category fw'
echo 'tcp.draw AREA'
echo 'tcp.label tcp'

View File

@ -70,7 +70,7 @@ if ($ARGV[0] && $ARGV[0] eq "config") {
graph_title Slony latency
graph_args --base 1000
graph_vlabel Latency in seconds
graph_category PostgreSQL
graph_category db
graph_info Shows Slony latency
EOF
my $sql="select no_id,no_comment,pa_conninfo from $cluster.sl_node join $cluster.sl_path on (pa_server=no_id) where pa_client= $cluster.getlocalnodeid('$cluster'::name);";

View File

@ -12,7 +12,7 @@ if [ "$1" = "config" ]; then
echo "graph_title dell 5310n health: $destination"
echo 'graph_vlabel count'
echo 'graph_args --lower-limit 0'
echo 'graph_category printer'
echo 'graph_category printing'
echo "toner.label Toner (percent)"
else

View File

@ -17,7 +17,7 @@ if [ "$1" = "config" ]; then
echo "graph_title dell 5310n pages: $destination"
echo 'graph_vlabel count'
echo 'graph_args --lower-limit 0'
echo 'graph_category printer'
echo 'graph_category printing'
n=1
for t in $trays ;

View File

@ -31,7 +31,7 @@ case $1 in
host_name printers
graph_title HP 2600 pages by cartridge statistics
graph_vlabel Count (Pages)
graph_category printer
graph_category printing
graph_info Pages count by color.
graph_args -l 0
graph_scale no

View File

@ -31,7 +31,7 @@ case $1 in
host_name printers
graph_title HP 2600 cartridge status
graph_vlabel Status (%)
graph_category printer
graph_category printing
graph_info Toner status.
graph_args --upper-limit 400 -l 0
line.label ---

View File

@ -10,7 +10,7 @@ if [ "$1" = "config" ]; then
echo "graph_title oki c5500 health: $destination"
echo 'graph_vlabel percent'
echo 'graph_args --lower-limit 0 --upper-limit 100'
echo 'graph_category printer'
echo 'graph_category printing'
echo "tonerCyan.label Toner: Cyan"
echo "tonerMagenta.label Toner: Magenta"

View File

@ -10,7 +10,7 @@ if [ "$1" = "config" ]; then
echo "graph_title oki c5500 pages: $destination"
echo 'graph_vlabel count'
echo 'graph_args --lower-limit 0'
echo 'graph_category printer'
echo 'graph_category printing'
echo "tray1.label Tray 1"
echo "tray2.label Tray 2"

View File

@ -9,7 +9,7 @@ if [ "$1" = "config" ]; then
echo "graph_title Toshiba 5520C: Black Pages (by function)"
echo 'graph_vlabel Pages'
echo 'graph_args --lower-limit 0'
echo 'graph_category printer'
echo 'graph_category printing'
echo "blackPrintCopy.label Print: Copy"
echo "blackPrintCopy.draw AREA"

View File

@ -9,7 +9,7 @@ if [ "$1" = "config" ]; then
echo "graph_title Toshiba 5520C: Full Color Pages (by function)"
echo 'graph_vlabel Pages'
echo 'graph_args --lower-limit 0'
echo 'graph_category printer'
echo 'graph_category printing'
echo "fullColorPrintComputer.label Print from Computer"
echo "fullColorPrintComputer.draw AREA"

View File

@ -9,7 +9,7 @@ if [ "$1" = "config" ]; then
echo "graph_title Toshiba 5520C: Pages Printed"
echo 'graph_vlabel Pages'
echo 'graph_args --lower-limit 0'
echo 'graph_category printer'
echo 'graph_category printing'
echo "printBlack.label Black"
echo "printBlack.draw AREA"

View File

@ -9,7 +9,7 @@ if [ "$1" = "config" ]; then
echo "graph_title Toshiba 5520C: Pages Scanned"
echo 'graph_vlabel Pages'
echo 'graph_args --lower-limit 0'
echo 'graph_category printer'
echo 'graph_category printing'
echo "scanFullColor.label Full Color"
echo "scanFullColor.draw AREA"

View File

@ -35,7 +35,7 @@ config)
echo "graph_title Consumables level @ $PRINTER_IP"
echo 'graph_vlabel %'
echo 'graph_category printer'
echo 'graph_category printing'
echo 'graph_scale no'
echo 'black.label Black toner level'
echo 'black.draw LINE2'

View File

@ -35,7 +35,7 @@ config)
echo "graph_title Consumables level @ $PRINTER_IP"
echo 'graph_vlabel %'
echo 'graph_category printer'
echo 'graph_category printing'
echo 'graph_scale no'
echo 'cyan.label Cyan toner level'
echo 'cyan.draw LINE2'

View File

@ -26,7 +26,7 @@ if [ "$1" = "config" ]; then
graph_title tinydns queries
graph_args --base 1000 -l 0
graph_vlabel queries/sec
graph_category network
graph_category dns
graph_info This graph shows the number of queries that tinydns processed.
graph_total Total
a.label A

View File

@ -26,7 +26,7 @@ if [ "$1" = "config" ]; then
graph_title tinydns query errors
graph_args --base 1000 -l 0
graph_vlabel queries/sec
graph_category network
graph_category dns
graph_info This graph shows the number of queries that tinydns processed.
graph_total Total
other.label Other RR