Révision 6c3ce4e1
Category Tree: reduce number of categories
| plugins/docker/docker_cpu | ||
|---|---|---|
| 95 | 95 |
print "graph_vlabel %\n"; |
| 96 | 96 |
print "graph_scale no\n"; |
| 97 | 97 |
print "graph_period second\n"; |
| 98 |
print "graph_category Docker\n";
|
|
| 98 |
print "graph_category virtualization\n";
|
|
| 99 | 99 |
print "graph_info This graph shows docker container CPU usage.\n"; |
| 100 | 100 |
|
| 101 | 101 |
foreach(@result) |
| plugins/docker/docker_memory | ||
|---|---|---|
| 79 | 79 |
print "graph_title Docker container memory usage\n"; |
| 80 | 80 |
print "graph_args --base 1024 -l 0\n"; |
| 81 | 81 |
print "graph_vlabel Bytes\n"; |
| 82 |
print "graph_category Docker\n";
|
|
| 82 |
print "graph_category virtualization\n";
|
|
| 83 | 83 |
print "graph_info This graph shows docker container memory usage.\n"; |
| 84 | 84 |
|
| 85 | 85 |
foreach(@result) |
| plugins/glassfish/glassfish_counters_ | ||
|---|---|---|
| 66 | 66 |
/dotted-name/ { myself = $NF
|
| 67 | 67 |
print "graph_title GlassFish", myself |
| 68 | 68 |
print "graph_vlabel count" |
| 69 |
print "graph_category glassfish"
|
|
| 69 |
print "graph_category appserver"
|
|
| 70 | 70 |
print "graph_info this shows available counters from", myself |
| 71 | 71 |
next |
| 72 | 72 |
} |
| plugins/google/google-rank | ||
|---|---|---|
| 55 | 55 |
iLoop=1 |
| 56 | 56 |
echo 'graph_title Google page rank' |
| 57 | 57 |
echo 'graph_args --upper-limit 100 -l 0' |
| 58 |
echo 'graph_category google'
|
|
| 58 |
echo 'graph_category search'
|
|
| 59 | 59 |
echo 'graph_scale no' |
| 60 | 60 |
echo 'graph_info Google page rank for URLs & Words' |
| 61 | 61 |
|
| plugins/google/googlecode | ||
|---|---|---|
| 47 | 47 |
echo "graph_title Number of downloads of $PROJECTNAME from Google Code " |
| 48 | 48 |
echo "graph_args --base 1000 --lower-limit 0" |
| 49 | 49 |
echo "graph_vlabel number of downloads" |
| 50 |
echo "graph_category google"
|
|
| 50 |
echo "graph_category other"
|
|
| 51 | 51 |
echo "graph_info This graph shows the number of downloads of $PROJECTNAME from Google Code." |
| 52 | 52 |
j=0 |
| 53 | 53 |
for (( i = 1 ; i < $Nfiles ; i=i+5 )) |
| plugins/lxd/lxd_disk | ||
|---|---|---|
| 35 | 35 |
print("graph_title LXD container disk usage")
|
| 36 | 36 |
print("graph_args --base 1000 --lower-limit 0")
|
| 37 | 37 |
print("graph_vlabel Bytes")
|
| 38 |
print("graph_category lxd")
|
|
| 38 |
print("graph_category virtualization")
|
|
| 39 | 39 |
print("graph_info This shows the disk usage of storage in containers. Make sure to install pylxd in python3.")
|
| 40 | 40 |
for name in c.container_list(): |
| 41 | 41 |
info = c.container_info(name) |
| plugins/lxd/lxd_mem | ||
|---|---|---|
| 35 | 35 |
print("graph_title LXD container memory")
|
| 36 | 36 |
print("graph_args --base 1024 --lower-limit 0")
|
| 37 | 37 |
print("graph_vlabel Bytes")
|
| 38 |
print("graph_category lxd")
|
|
| 38 |
print("graph_category virtualization")
|
|
| 39 | 39 |
print("graph_info This shows the memory usage of each container. Make sure to install pylxd in python3.")
|
| 40 | 40 |
for name in c.container_list(): |
| 41 | 41 |
print(name+".label "+name) |
| plugins/moblock/moblock_connections | ||
|---|---|---|
| 32 | 32 |
puts "graph_args --base 1000 -r --lower-limit 0" |
| 33 | 33 |
puts "graph_title Moblock" |
| 34 | 34 |
puts "graph_vlabel Blocked Connections" |
| 35 |
puts "graph_category moblock"
|
|
| 35 |
puts "graph_category fw"
|
|
| 36 | 36 |
puts "graph_info This graph shows the number of connections blocked by Moblock" |
| 37 | 37 |
|
| 38 | 38 |
puts "blocked_in.label Blocked In" |
| plugins/network/fwbuilder_ | ||
|---|---|---|
| 87 | 87 |
echo "graph_title $IP traffic" |
| 88 | 88 |
echo 'graph_args --base 1024' |
| 89 | 89 |
echo 'graph_vlabel bytes per ${graph_period}'
|
| 90 |
echo 'graph_category network'
|
|
| 90 |
echo 'graph_category fw'
|
|
| 91 | 91 |
echo 'out.label sent' |
| 92 | 92 |
echo 'out.type DERIVE' |
| 93 | 93 |
echo 'out.min 0' |
| plugins/network/ipfwcnt_ | ||
|---|---|---|
| 63 | 63 |
echo "graph_title Ipfw rules counters $NAME" |
| 64 | 64 |
echo 'graph_args --base 1000 -l 0' |
| 65 | 65 |
echo 'graph_vlabel bits / ${graph_period}'
|
| 66 |
echo 'graph_category network'
|
|
| 66 |
echo 'graph_category fw'
|
|
| 67 | 67 |
draw="AREA" |
| 68 | 68 |
for rule in $rules; do |
| 69 | 69 |
eval "label0=\$rule_${rule}_label"
|
| plugins/network/ipfwnat_ | ||
|---|---|---|
| 57 | 57 |
echo 'graph_args --base 1000 -l 0' |
| 58 | 58 |
echo 'graph_vlabel links count' |
| 59 | 59 |
echo 'graph_noscale true' |
| 60 |
echo 'graph_category network'
|
|
| 60 |
echo 'graph_category fw'
|
|
| 61 | 61 |
|
| 62 | 62 |
echo 'tcp.draw AREA' |
| 63 | 63 |
echo 'tcp.label tcp' |
| plugins/postgresql/slony_ | ||
|---|---|---|
| 70 | 70 |
graph_title Slony latency |
| 71 | 71 |
graph_args --base 1000 |
| 72 | 72 |
graph_vlabel Latency in seconds |
| 73 |
graph_category PostgreSQL
|
|
| 73 |
graph_category db
|
|
| 74 | 74 |
graph_info Shows Slony latency |
| 75 | 75 |
EOF |
| 76 | 76 |
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);";
|
| plugins/printer/dell_5310n_health_ | ||
|---|---|---|
| 12 | 12 |
echo "graph_title dell 5310n health: $destination" |
| 13 | 13 |
echo 'graph_vlabel count' |
| 14 | 14 |
echo 'graph_args --lower-limit 0' |
| 15 |
echo 'graph_category printer'
|
|
| 15 |
echo 'graph_category printing'
|
|
| 16 | 16 |
|
| 17 | 17 |
echo "toner.label Toner (percent)" |
| 18 | 18 |
else |
| plugins/printer/dell_5310n_pages_ | ||
|---|---|---|
| 17 | 17 |
echo "graph_title dell 5310n pages: $destination" |
| 18 | 18 |
echo 'graph_vlabel count' |
| 19 | 19 |
echo 'graph_args --lower-limit 0' |
| 20 |
echo 'graph_category printer'
|
|
| 20 |
echo 'graph_category printing'
|
|
| 21 | 21 |
|
| 22 | 22 |
n=1 |
| 23 | 23 |
for t in $trays ; |
| plugins/printer/hp2600_count_ | ||
|---|---|---|
| 31 | 31 |
host_name printers |
| 32 | 32 |
graph_title HP 2600 pages by cartridge statistics |
| 33 | 33 |
graph_vlabel Count (Pages) |
| 34 |
graph_category printer
|
|
| 34 |
graph_category printing
|
|
| 35 | 35 |
graph_info Pages count by color. |
| 36 | 36 |
graph_args -l 0 |
| 37 | 37 |
graph_scale no |
| plugins/printer/hp2600_status_ | ||
|---|---|---|
| 31 | 31 |
host_name printers |
| 32 | 32 |
graph_title HP 2600 cartridge status |
| 33 | 33 |
graph_vlabel Status (%) |
| 34 |
graph_category printer
|
|
| 34 |
graph_category printing
|
|
| 35 | 35 |
graph_info Toner status. |
| 36 | 36 |
graph_args --upper-limit 400 -l 0 |
| 37 | 37 |
line.label --- |
| plugins/printer/oki_c5500_health_ | ||
|---|---|---|
| 10 | 10 |
echo "graph_title oki c5500 health: $destination" |
| 11 | 11 |
echo 'graph_vlabel percent' |
| 12 | 12 |
echo 'graph_args --lower-limit 0 --upper-limit 100' |
| 13 |
echo 'graph_category printer'
|
|
| 13 |
echo 'graph_category printing'
|
|
| 14 | 14 |
|
| 15 | 15 |
echo "tonerCyan.label Toner: Cyan" |
| 16 | 16 |
echo "tonerMagenta.label Toner: Magenta" |
| plugins/printer/oki_c5500_pages_ | ||
|---|---|---|
| 10 | 10 |
echo "graph_title oki c5500 pages: $destination" |
| 11 | 11 |
echo 'graph_vlabel count' |
| 12 | 12 |
echo 'graph_args --lower-limit 0' |
| 13 |
echo 'graph_category printer'
|
|
| 13 |
echo 'graph_category printing'
|
|
| 14 | 14 |
|
| 15 | 15 |
echo "tray1.label Tray 1" |
| 16 | 16 |
echo "tray2.label Tray 2" |
| plugins/printer/toshiba_5520c_byfunction_black_ | ||
|---|---|---|
| 9 | 9 |
echo "graph_title Toshiba 5520C: Black Pages (by function)" |
| 10 | 10 |
echo 'graph_vlabel Pages' |
| 11 | 11 |
echo 'graph_args --lower-limit 0' |
| 12 |
echo 'graph_category printer'
|
|
| 12 |
echo 'graph_category printing'
|
|
| 13 | 13 |
|
| 14 | 14 |
echo "blackPrintCopy.label Print: Copy" |
| 15 | 15 |
echo "blackPrintCopy.draw AREA" |
| plugins/printer/toshiba_5520c_byfunction_fullcolor_ | ||
|---|---|---|
| 9 | 9 |
echo "graph_title Toshiba 5520C: Full Color Pages (by function)" |
| 10 | 10 |
echo 'graph_vlabel Pages' |
| 11 | 11 |
echo 'graph_args --lower-limit 0' |
| 12 |
echo 'graph_category printer'
|
|
| 12 |
echo 'graph_category printing'
|
|
| 13 | 13 |
|
| 14 | 14 |
echo "fullColorPrintComputer.label Print from Computer" |
| 15 | 15 |
echo "fullColorPrintComputer.draw AREA" |
| plugins/printer/toshiba_5520c_print_ | ||
|---|---|---|
| 9 | 9 |
echo "graph_title Toshiba 5520C: Pages Printed" |
| 10 | 10 |
echo 'graph_vlabel Pages' |
| 11 | 11 |
echo 'graph_args --lower-limit 0' |
| 12 |
echo 'graph_category printer'
|
|
| 12 |
echo 'graph_category printing'
|
|
| 13 | 13 |
|
| 14 | 14 |
echo "printBlack.label Black" |
| 15 | 15 |
echo "printBlack.draw AREA" |
| plugins/printer/toshiba_5520c_scan_ | ||
|---|---|---|
| 9 | 9 |
echo "graph_title Toshiba 5520C: Pages Scanned" |
| 10 | 10 |
echo 'graph_vlabel Pages' |
| 11 | 11 |
echo 'graph_args --lower-limit 0' |
| 12 |
echo 'graph_category printer'
|
|
| 12 |
echo 'graph_category printing'
|
|
| 13 | 13 |
|
| 14 | 14 |
echo "scanFullColor.label Full Color" |
| 15 | 15 |
echo "scanFullColor.draw AREA" |
| plugins/printer/xerox-wc3220 | ||
|---|---|---|
| 35 | 35 |
|
| 36 | 36 |
echo "graph_title Consumables level @ $PRINTER_IP" |
| 37 | 37 |
echo 'graph_vlabel %' |
| 38 |
echo 'graph_category printer'
|
|
| 38 |
echo 'graph_category printing'
|
|
| 39 | 39 |
echo 'graph_scale no' |
| 40 | 40 |
echo 'black.label Black toner level' |
| 41 | 41 |
echo 'black.draw LINE2' |
| plugins/printer/xerox-wc7232-consumables | ||
|---|---|---|
| 35 | 35 |
|
| 36 | 36 |
echo "graph_title Consumables level @ $PRINTER_IP" |
| 37 | 37 |
echo 'graph_vlabel %' |
| 38 |
echo 'graph_category printer'
|
|
| 38 |
echo 'graph_category printing'
|
|
| 39 | 39 |
echo 'graph_scale no' |
| 40 | 40 |
echo 'cyan.label Cyan toner level' |
| 41 | 41 |
echo 'cyan.draw LINE2' |
| plugins/tinydns/tinydns | ||
|---|---|---|
| 26 | 26 |
graph_title tinydns queries |
| 27 | 27 |
graph_args --base 1000 -l 0 |
| 28 | 28 |
graph_vlabel queries/sec |
| 29 |
graph_category network
|
|
| 29 |
graph_category dns
|
|
| 30 | 30 |
graph_info This graph shows the number of queries that tinydns processed. |
| 31 | 31 |
graph_total Total |
| 32 | 32 |
a.label A |
| plugins/tinydns/tinydns_err | ||
|---|---|---|
| 26 | 26 |
graph_title tinydns query errors |
| 27 | 27 |
graph_args --base 1000 -l 0 |
| 28 | 28 |
graph_vlabel queries/sec |
| 29 |
graph_category network
|
|
| 29 |
graph_category dns
|
|
| 30 | 30 |
graph_info This graph shows the number of queries that tinydns processed. |
| 31 | 31 |
graph_total Total |
| 32 | 32 |
other.label Other RR |
Formats disponibles : Unified diff