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:
commit
3e4346382c
@ -21,7 +21,7 @@ if [[ $1 != "" ]]; then
|
||||
echo "graph_title Servidores consultados"
|
||||
echo "graph_vlabel Numero servidores (s)"
|
||||
echo "poller_hosts.label hosts(s)"
|
||||
echo 'graph_category cacti'
|
||||
echo 'graph_category munin'
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
@ -21,7 +21,7 @@ if [[ $1 != "" ]]; then
|
||||
echo "graph_title Poller Time"
|
||||
echo "graph_vlabel Time(s)"
|
||||
echo "poller_time.label time(s)"
|
||||
echo 'graph_category cacti'
|
||||
echo 'graph_category munin'
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
@ -21,7 +21,7 @@ if [[ $1 != "" ]]; then
|
||||
echo "graph_title RRDs Procesados Time"
|
||||
echo "graph_vlabel Numero de RRDs"
|
||||
echo "rrds.label rrds"
|
||||
echo 'graph_category cacti'
|
||||
echo 'graph_category munin'
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
@ -33,7 +33,7 @@ if len(sys.argv) == 2 and sys.argv[1] == "config":
|
||||
print 'graph_title CIFS usage on '+servername
|
||||
print 'graph_args --base 1000 -l 0'
|
||||
print 'graph_vlabel number'
|
||||
print 'graph_category san'
|
||||
print 'graph_category fs'
|
||||
print 'graph_info This graph shows CIFS usage on '+servername
|
||||
|
||||
print 'cifsConnectedUsers.label ConnectedUsers'
|
||||
|
@ -84,7 +84,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
|
||||
print "graph_title $host CIFS sessions\n";
|
||||
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
|
||||
print "graph_vlabel CIFS\n";
|
||||
print "graph_category san\n";
|
||||
print "graph_category fs\n";
|
||||
print "graph_info This graph shows CIFS sessions status for the $host.\n";
|
||||
print "graph_order ";
|
||||
foreach (sort keys %oids)
|
||||
|
@ -91,7 +91,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
|
||||
print "graph_title $host CIFS calls\n";
|
||||
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
|
||||
print "graph_vlabel calls / \${graph_period}\n";
|
||||
print "graph_category san\n";
|
||||
print "graph_category fs\n";
|
||||
print "graph_info This graph shows cifs calls for the $host NetApp equipment.\n";
|
||||
print "graph_order ";
|
||||
foreach (sort keys %oids)
|
||||
|
@ -34,7 +34,7 @@ if len(sys.argv) == 2 and sys.argv[1] == "config":
|
||||
print 'graph_scale no'
|
||||
print 'graph_info This graph shows how CPU time is spent.'
|
||||
print 'graph_period second'
|
||||
print 'graph_category san'
|
||||
print 'graph_category cpu'
|
||||
|
||||
print 'usage.label cpu_usage '
|
||||
print 'usage.draw STACK'
|
||||
|
@ -93,7 +93,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
|
||||
print "graph_title $host CPU \n";
|
||||
print "graph_args --base 1000 -r --lower-limit 0 --upper-limit 100\n";
|
||||
print "graph_vlabel CPU \n";
|
||||
print "graph_category san\n";
|
||||
print "graph_category cpu\n";
|
||||
print "graph_info This graph shows cpu busy value for the $host in percent.\n";
|
||||
print "graph_order ";
|
||||
foreach (sort keys %oids)
|
||||
|
@ -84,7 +84,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
|
||||
print "graph_title $host NDMP \n";
|
||||
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
|
||||
print "graph_vlabel NDMP status\n";
|
||||
print "graph_category san\n";
|
||||
print "graph_category backup\n";
|
||||
print "graph_info This graph shows NDMP status for the $host NetApp equipment.\n";
|
||||
print "graph_order ";
|
||||
foreach (sort keys %oids)
|
||||
|
@ -121,7 +121,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config") {
|
||||
print "graph_args --base 1000\n";
|
||||
print "graph_vlabel calls / \${graph_period}\n";
|
||||
# graph_category san # To show plugin in Gallery also in this category
|
||||
print "graph_category nfs\n";
|
||||
print "graph_category fs\n";
|
||||
print "graph_info This graph shows NFSv3 calls for the $host NetApp equipment.\n";
|
||||
print "graph_order ";
|
||||
|
||||
|
@ -85,7 +85,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
|
||||
print "graph_title $host OPS \n";
|
||||
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
|
||||
print "graph_vlabel OPS \n";
|
||||
print "graph_category san\n";
|
||||
print "graph_category fs\n";
|
||||
print "graph_info This graph shows OPS for the $host NetApp equipment.\n";
|
||||
print "graph_order misc64CifsOps misc64NfsOps iscsi64Ops fcp64Ops misc64HttpOps\n";
|
||||
foreach my $k (sort keys %config)
|
||||
|
@ -112,7 +112,7 @@ sub do_config_vol
|
||||
}
|
||||
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
|
||||
print "graph_vlabel reallocate_status status\n";
|
||||
print "graph_category san\n";
|
||||
print "graph_category fs\n";
|
||||
foreach my $state ("reallocating", "redirecting", "quiesce", "debug")
|
||||
{
|
||||
print "$state.label $state\n";
|
||||
|
@ -110,7 +110,7 @@ sub do_config_vol
|
||||
}
|
||||
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
|
||||
print "graph_vlabel sis status\n";
|
||||
print "graph_category san\n";
|
||||
print "graph_category fs\n";
|
||||
print "graph_order sisInitialising sisRunning sisPending sisDebug\n";
|
||||
foreach my $state ("debug", "initialising", "running", "pending")
|
||||
{
|
||||
|
@ -48,7 +48,7 @@ if [ "$1" = "config" ]; then
|
||||
echo 'graph_args --base 1000 -l 0'
|
||||
echo 'graph_vlabel requests / ${graph_period}'
|
||||
echo 'graph_total total'
|
||||
echo 'graph_category NFS'
|
||||
echo 'graph_category fs'
|
||||
for a in $labels; do echo "$a.label $a" ; echo "$a.type DERIVE"; echo "$a.min 0"; done
|
||||
exit 0
|
||||
fi
|
||||
|
@ -48,7 +48,7 @@ if [ "$1" = "config" ]; then
|
||||
echo 'graph_args --base 1000 -l 0'
|
||||
echo 'graph_vlabel requests / ${graph_period}'
|
||||
echo 'graph_total total'
|
||||
echo 'graph_category NFS'
|
||||
echo 'graph_category fs'
|
||||
for a in $labels; do echo "$a.label $a" ; echo "$a.type DERIVE"; echo "$a.min 0"; done
|
||||
exit 0
|
||||
fi
|
||||
|
@ -50,7 +50,7 @@ if [ "$1" = "config" ]; then
|
||||
echo 'graph_args --base 1000 -l 0'
|
||||
echo 'graph_vlabel requests / ${graph_period}'
|
||||
echo 'graph_total total'
|
||||
echo 'graph_category NFS'
|
||||
echo 'graph_category fs'
|
||||
for a in $labels; do echo "$a.label $a" ; echo "$a.type DERIVE"; echo "$a.min 0"; done
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user