1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 10:39:53 +00: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_vlabel %\n";
print "graph_scale no\n"; print "graph_scale no\n";
print "graph_period second\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"; print "graph_info This graph shows docker container CPU usage.\n";
foreach(@result) 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_title Docker container memory usage\n";
print "graph_args --base 1024 -l 0\n"; print "graph_args --base 1024 -l 0\n";
print "graph_vlabel Bytes\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"; print "graph_info This graph shows docker container memory usage.\n";
foreach(@result) foreach(@result)

View file

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

View file

@ -55,7 +55,7 @@ if [ "$1" = "config" ]; then
iLoop=1 iLoop=1
echo 'graph_title Google page rank' echo 'graph_title Google page rank'
echo 'graph_args --upper-limit 100 -l 0' echo 'graph_args --upper-limit 100 -l 0'
echo 'graph_category google' echo 'graph_category search'
echo 'graph_scale no' echo 'graph_scale no'
echo 'graph_info Google page rank for URLs & Words' 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_title Number of downloads of $PROJECTNAME from Google Code "
echo "graph_args --base 1000 --lower-limit 0" echo "graph_args --base 1000 --lower-limit 0"
echo "graph_vlabel number of downloads" 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." echo "graph_info This graph shows the number of downloads of $PROJECTNAME from Google Code."
j=0 j=0
for (( i = 1 ; i < $Nfiles ; i=i+5 )) 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_title LXD container disk usage")
print("graph_args --base 1000 --lower-limit 0") print("graph_args --base 1000 --lower-limit 0")
print("graph_vlabel Bytes") 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.") 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(): for name in c.container_list():
info = c.container_info(name) 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_title LXD container memory")
print("graph_args --base 1024 --lower-limit 0") print("graph_args --base 1024 --lower-limit 0")
print("graph_vlabel Bytes") 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.") print("graph_info This shows the memory usage of each container. Make sure to install pylxd in python3.")
for name in c.container_list(): for name in c.container_list():
print(name+".label "+name) print(name+".label "+name)

View file

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

View file

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

View file

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

View file

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

View file

@ -70,7 +70,7 @@ if ($ARGV[0] && $ARGV[0] eq "config") {
graph_title Slony latency graph_title Slony latency
graph_args --base 1000 graph_args --base 1000
graph_vlabel Latency in seconds graph_vlabel Latency in seconds
graph_category PostgreSQL graph_category db
graph_info Shows Slony latency graph_info Shows Slony latency
EOF 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);"; 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_title dell 5310n health: $destination"
echo 'graph_vlabel count' echo 'graph_vlabel count'
echo 'graph_args --lower-limit 0' echo 'graph_args --lower-limit 0'
echo 'graph_category printer' echo 'graph_category printing'
echo "toner.label Toner (percent)" echo "toner.label Toner (percent)"
else else

View file

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

View file

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

View file

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

View file

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

View file

@ -10,7 +10,7 @@ if [ "$1" = "config" ]; then
echo "graph_title oki c5500 pages: $destination" echo "graph_title oki c5500 pages: $destination"
echo 'graph_vlabel count' echo 'graph_vlabel count'
echo 'graph_args --lower-limit 0' echo 'graph_args --lower-limit 0'
echo 'graph_category printer' echo 'graph_category printing'
echo "tray1.label Tray 1" echo "tray1.label Tray 1"
echo "tray2.label Tray 2" 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_title Toshiba 5520C: Black Pages (by function)"
echo 'graph_vlabel Pages' echo 'graph_vlabel Pages'
echo 'graph_args --lower-limit 0' echo 'graph_args --lower-limit 0'
echo 'graph_category printer' echo 'graph_category printing'
echo "blackPrintCopy.label Print: Copy" echo "blackPrintCopy.label Print: Copy"
echo "blackPrintCopy.draw AREA" 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_title Toshiba 5520C: Full Color Pages (by function)"
echo 'graph_vlabel Pages' echo 'graph_vlabel Pages'
echo 'graph_args --lower-limit 0' echo 'graph_args --lower-limit 0'
echo 'graph_category printer' echo 'graph_category printing'
echo "fullColorPrintComputer.label Print from Computer" echo "fullColorPrintComputer.label Print from Computer"
echo "fullColorPrintComputer.draw AREA" echo "fullColorPrintComputer.draw AREA"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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