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

Merge branch 'categories'

Category Tree: Reduce number of categories
This commit is contained in:
dipohl 2017-02-23 15:36:12 +01:00
commit 06871de2cf
19 changed files with 28 additions and 28 deletions

View File

@ -126,7 +126,7 @@ if($ARGV[0] and $ARGV[0] eq "config") {
print "graph_title MogileFS tracker activity\n";
print "graph_vlabel processes\n";
print "graph_args -l 0\n";
print "graph_category MogileFS\n";
print "graph_category fs\n";
print "bored_queryworkers.label bored_queryworkers\n";
print "bored_queryworkers.draw AREA\n";
print "processing_queries.label processing_queries\n";

View File

@ -126,7 +126,7 @@ if($ARGV[0] and $ARGV[0] eq "config") {
print "graph_title MogileFS tracker queries\n";
print "graph_vlabel queries/sec\n";
print "graph_args -l 0\n";
print "graph_category MogileFS\n";
print "graph_category fs\n";
print "queries.label queries\n";
print "queries.type DERIVE\n";
print "queries.draw AREA\n";

View File

@ -64,7 +64,7 @@ if (count($argv) === 2 && $argv[1] === 'config') {
echo "graph_title Moodle Files Number\n";
echo "graph_args --base 1000 --lower-limit 0\n";
echo "graph_vlabel files\n";
echo "graph_category Moodle\n";
echo "graph_category cms\n";
echo "graph_scale no\n";
echo "graph_total total\n";
echo "graph_info Displays the total number of moodle users files and repartition by type\n";
@ -80,7 +80,7 @@ if (count($argv) === 2 && $argv[1] === 'config') {
echo "graph_title Moodle Files Size\n";
echo "graph_args --base 1024 --lower-limit 0\n";
echo "graph_vlabel size\n";
echo "graph_category Moodle\n";
echo "graph_category cms\n";
echo "graph_total total\n";
echo "graph_info Displays the total size of moodle users files and repartition by type\n";
@ -98,7 +98,7 @@ echo "multigraph file_number\n";
echo "graph_title Moodle Files Number\n";
echo "graph_args --base 1000 --lower-limit 0\n";
echo "graph_vlabel files\n";
echo "graph_category Moodle\n";
echo "graph_category cms\n";
echo "graph_scale no\n";
echo "graph_total total\n";
echo "graph_info Displays the total number of moodle users files and repartition by type\n";
@ -117,7 +117,7 @@ echo "multigraph file_size\n";
echo "graph_title Moodle Files Size\n";
echo "graph_args --base 1024 --lower-limit 0\n";
echo "graph_vlabel size\n";
echo "graph_category Moodle\n";
echo "graph_category cms\n";
echo "graph_total total\n";
echo "graph_info Displays the total size of moodle users files and repartition by type\n";

View File

@ -41,7 +41,7 @@ if (count($argv) === 2 && $argv[1] === 'config') {
echo "graph_title Moodle Logs\n";
echo "graph_args --base 1000 --lower-limit 0\n";
echo "graph_vlabel logs\n";
echo "graph_category Moodle\n";
echo "graph_category cms\n";
echo "graph_scale no\n";
echo "graph_info Displays the number of new logs written\n";
echo "logs.label logs\n";

View File

@ -51,7 +51,7 @@ if (count($argv) === 2 && $argv[1] === 'config') {
echo "graph_title Moodle Modules\n";
echo "graph_args --base 1000 --lower-limit 0\n";
echo "graph_vlabel modules\n";
echo "graph_category Moodle\n";
echo "graph_category cms\n";
echo "graph_scale no\n";
echo "graph_info Displays the sum of module, as well as module instance number by type, in your Moodle site\n";
echo "graph_total total\n";

View File

@ -39,7 +39,7 @@ if (count($argv) === 2 && $argv[1] === 'config') {
echo "graph_title Moodle Online Users\n";
echo "graph_args --base 1000 --lower-limit 0\n";
echo "graph_vlabel users\n";
echo "graph_category Moodle\n";
echo "graph_category cms\n";
echo "graph_scale no\n";
echo "graph_info Displays the sum of online users in your Moodle site\n";
echo "users_online.label online users\n";

View File

@ -37,7 +37,7 @@ if (count($argv) === 2 && $argv[1] === 'config') {
echo "graph_title Moodle Total Users\n";
echo "graph_args --base 1000 --lower-limit 0\n";
echo "graph_vlabel users\n";
echo "graph_category Moodle\n";
echo "graph_category cms\n";
echo "graph_scale no\n";
echo "graph_info Displays the sum of users, as well as active, suspended and deleted accounts, in your Moodle site\n";
echo "graph_total total\n";

View File

@ -57,7 +57,7 @@ if ( $arg eq "autoconf" ) {
print "graph_scale no\n";
print "graph_vlabel load average\n";
print "graph_info Shows 5-minute load average per VE\n";
print "graph_category OpenVZ\n";
print "graph_category virtualization\n";
# Dynamic config
my @result=`/usr/sbin/vzlist -H -a -s veid -o veid,name`;

View File

@ -38,7 +38,7 @@ if [ "$1" = "config" ]; then
echo "graph_args --base 1000 -l 0"
echo "graph_scale yes"
echo "graph_vlabel $ATTRIBUTE Value"
echo "graph_category openvz"
echo "graph_category virtualization"
echo "graph_info This graph shows OpenVZ: $ATTRIBUTE"
vzlist -a -H --no-trim -o hostname | awk '{gsub(/\./,"_",$1)
print("'$ATTRIBUTE'"$1".label "$1"\n" \

View File

@ -224,7 +224,7 @@ graph_title OpenVZ container CPU usage
graph_vlabel CPU cores used ($cores available)
graph_scale no
graph_info This graph shows how CPU time is spent.
graph_category openvz
graph_category virtualization
graph_period second
STDCONFIG
if (0) {

View File

@ -41,7 +41,7 @@ case $1 in
echo "graph_title $SITE SSL Certificate Expire"
echo 'graph_args --base 1000'
echo 'graph_vlabel days left'
echo 'graph_category ssl'
echo 'graph_category security'
echo "graph_info This graph shows the days left for the certificate being served by $SITE"
echo 'expire.label days'
print_warning expire

View File

@ -88,7 +88,7 @@ try
break;
case 'config':
echo "graph_title Ubuntu Mirrors in ".COUNTRY."\n";
echo "graph_category Ubuntu\n";
echo "graph_category other\n";
echo "graph_args --base 1000 -l 0\n";
echo "graph_scale no\n";
echo "graph_vlabel Bandwidth / Mirrors\n";

View File

@ -50,7 +50,7 @@ if ($config) {
print "graph_title Varnish $grepfor usage\n";
print "graph_args --base 1000\n";
print "graph_vlabel Activity / \${graph_period}\n";
print "graph_category Varnish\n";
print "graph_category webserver\n";
}
$i = 0;

View File

@ -1076,7 +1076,7 @@ sub get_config
}
my %values = %{$ASPECTS{$graph}{'values'}};
print "graph_category Varnish\n";
print "graph_category webserver\n";
foreach my $field (@graph_parameters) {
print_if_exist(\%ASPECTS,$graph,$field,"graph_$field");
}

View File

@ -63,7 +63,7 @@ export devices
print_config() {
printf "graph_title Varnish device detection\n"
printf "graph_vlabel percent\n"
printf "graph_category varnish\n"
printf "graph_category webserver\n"
printf "graph_args --rigid --lower-limit 0 --upper-limit 100\n"
for device in $devices; do

View File

@ -137,7 +137,7 @@ try:
print ("graph_title Wowza clients listening duration")
print ("graph_args --base 1000 -l 0")
print ("graph_scale no")
print ("graph_category Wowza")
print ("graph_category streaming")
print ("graph_vlabel minutes")
print ("avg.label average listening duration")
print ("mdn.label median listening duration")
@ -146,7 +146,7 @@ try:
print ("graph_title Wowza listeners count by vhosts")
print ("graph_args --base 1000 -l 0")
print ("graph_scale no")
print ("graph_category Wowza")
print ("graph_category streaming")
print ("graph_vlabel listeners")
is_first = True
for vh in vhosts:
@ -162,7 +162,7 @@ try:
print ("graph_title Wowza clients listening duration by vhosts")
print ("graph_args --base 1000 -l 0")
print ("graph_scale no")
print ("graph_category Wowza")
print ("graph_category streaming")
print ("graph_vlabel minutes")
for vh in vhosts:
vname = vh["Name"].strip("/").replace(".","_").replace("-","_")
@ -173,7 +173,7 @@ try:
print ("graph_title Wowza vhosts uptime")
print ("graph_args --base 1000 -l 0")
print ("graph_scale no")
print ("graph_category Wowza")
print ("graph_category streaming")
print ("graph_vlabel hours")
for vh in vhosts:
vname = vh["Name"].strip("/").replace(".","_").replace("-","_")
@ -183,7 +183,7 @@ try:
print ("graph_title Wowza listeners count by apps")
print ("graph_args --base 1000 -l 0")
print ("graph_scale no")
print ("graph_category Wowza")
print ("graph_category streaming")
print ("graph_vlabel listeners")
is_first = True
for vh in vhosts:
@ -201,7 +201,7 @@ try:
print ("graph_title Wowza clients listening duration by apps")
print ("graph_args --base 1000 -l 0")
print ("graph_scale no")
print ("graph_category Wowza")
print ("graph_category streaming")
print ("graph_vlabel minutes")
for vh in vhosts:
vname = vh["Name"].strip("/").replace(".","_").replace("-","_")
@ -214,7 +214,7 @@ try:
print ("graph_title Wowza apps uptime")
print ("graph_args --base 1000 -l 0")
print ("graph_scale no")
print ("graph_category Wowza")
print ("graph_category streaming")
print ("graph_vlabel hours")
for vh in vhosts:
vname = vh["Name"].strip("/").replace(".","_").replace("-","_")
@ -226,7 +226,7 @@ try:
print ("graph_title Wowza listeners count")
print ("graph_args --base 1000 -l 0")
print ("graph_scale no")
print ("graph_category Wowza")
print ("graph_category streaming")
print ("graph_vlabel listeners")
print ("wowza_listeners.label Total Listeners")
print ("wowza_listeners.draw AREA")

View File

@ -42,7 +42,7 @@ if ($ARGV[0] and $ARGV[0] eq "autoconf")
if($0 =~ /.*_uptime/) {
print "graph_args -l0 --vertical-label %\n";
print "graph_title Wuala Uptime\n";
print "graph_category wuala\n";
print "graph_category backup\n";
print "graph_info This graph shows the Wua.la uptime\n";
print "uptime.label Uptime\n";
print "uptime.draw LINE2\n";

View File

@ -51,7 +51,7 @@ if ( defined $ARGV[0] and $ARGV[0] eq "config" ) {
print "graph_title xbnbt peers\n";
print "graph_args --base 1000 -l 0\n";
print "graph_vlabel peers\n";
print "graph_category xbnbt\n";
print "graph_category torrent\n";
print "peers.label peers\n";
print "seeds.label seeds\n";
print "leechers.label leechers\n";