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

rackspace -> cloud (rackspace)
openvpn -> network (openvpn)
rethinkdb -> db (rethinkdb)
glance -> cloud (glance)
This commit is contained in:
dipohl 2017-02-23 17:08:02 +01:00
parent eaf6c2d7ce
commit 6aa977b250
14 changed files with 17 additions and 17 deletions

View File

@ -78,7 +78,7 @@ def print_config(tenant):
print 'graph_info This graph shows the used size in glance for tenant %s' % tenant
print 'graph_vlabel Bytes'
print 'graph_args --base 1024 --lower-limit 0'
print 'graph_category glance'
print 'graph_category cloud'
print '%s.label %s' % (tenant, get_name_from_tenant(tenant))
print '%s.draw LINE2' % tenant
print '%s.info %s MBytes' % (tenant, tenant)

View File

@ -44,7 +44,7 @@ def print_config():
print 'graph_title Glance images status'
print 'graph_vlabel images'
print 'graph_args --lower-limit 0'
print 'graph_category glance'
print 'graph_category cloud'
print 'graph_scale no'
print 'graph_info This graph show number of images by status'

View File

@ -23,7 +23,7 @@ if (isset($argv['1']) && $argv['1'] == "config") {
print "host_name ".php_uname('n')."\n";
print "graph_title IRCd Status\n";
print "graph_category Services\n";
print "graph_category chat\n";
print "graph_order clients channels operators\n";
print "graph_args --base 1000 -l 0\n";

View File

@ -56,7 +56,7 @@ if [ "$1" = "config" ]; then
echo 'graph_args --base 1000 -l 0 '
echo 'graph_vlabel Time in minutes'
echo 'graph_scale no'
echo 'graph_category OpenVPN'
echo 'graph_category network'
echo 'graph_info Indicate the medium time of the logged users.'
echo "time.label Users"

View File

@ -49,7 +49,7 @@ if [ "$1" = "config" ]; then
echo "graph_title OpenVPN traffic"
echo 'graph_args --base 1000'
echo 'graph_vlabel Bytes in (-) / out (+)'
echo 'graph_category OpenVPN'
echo 'graph_category network'
echo "graph_info OpenVPN traffic"

View File

@ -57,7 +57,7 @@ if [ "$1" = "config" ]; then
echo 'graph_args --base 1000 -l 0 '
echo 'graph_vlabel Time in minutes'
echo 'graph_scale no'
echo 'graph_category OpenVPN'
echo 'graph_category network'
echo 'graph_info Indicate the user logged time.'
# If none, print 0

View File

@ -52,7 +52,7 @@ if [ "$1" = "config" ]; then
echo 'graph_args --base 1000 -l 0 '
echo 'graph_vlabel Users'
echo 'graph_scale no'
echo 'graph_category OpenVPN'
echo 'graph_category network'
echo 'graph_info Indicate the number of vpn users and the license limit.'
echo "users.label Users"

View File

@ -38,7 +38,7 @@ sub config {
print "graph_title OpenVPN traffic\n";
print "graph_args --base 1024 --lower-limit 0\n";
print "graph_vlabel Bytes Out (-) / In (+) per \${graph_period}\n";
print "graph_category openvpn\n";
print "graph_category network\n";
print "in.label recv\n";
print "in.type DERIVE\n";
print "in.min 0\n";
@ -63,7 +63,7 @@ sub config {
print "graph_title OpenVPN traffic for $name\n";
print "graph_args --base 1024 --lower-limit 0\n";
print "graph_vlabel Bytes Out (-) / In (+) per \${graph_period}\n";
print "graph_category openvpn\n";
print "graph_category network\n";
print "in.label recv\n";
print "in.type DERIVE\n";
print "in.min 0\n";

View File

@ -22,7 +22,7 @@ if [ "$mode" = "memory" ]; then
if [ "$1" = "config" ]; then
echo "graph_title Total Puma Memory"
echo "graph_vlabel Total RAM"
echo "graph_category puma"
echo "graph_category webserver"
echo "graph_args --base 1024"
echo "ram.label Total RAM"
exit 0
@ -37,7 +37,7 @@ elif [ "$mode" = "processes" ]; then
if [ "$1" = "config" ]; then
echo "graph_title puma Processes"
echo "graph_vlabel Processes"
echo "graph_category puma"
echo "graph_category webserver"
echo "processes.label active processes"
else
printf "processes.value %s\n" "$(ps awwwux | egrep "puma.* worker" | grep -v grep | wc -l)"
@ -48,7 +48,7 @@ elif [ "$mode" = "average" ]; then
echo 'graph_title Puma Average Process Size'
echo 'graph_args --base 1024 -l 0 '
echo 'graph_vlabel Average Process Size'
echo 'graph_category puma'
echo 'graph_category webserver'
echo 'puma_average.label Average Process Size'
echo 'puma_average.draw LINE2'
echo 'puma_average.info The average process size for puma'
@ -57,4 +57,4 @@ elif [ "$mode" = "average" ]; then
exit 0
fi
fi
exit 0
exit 0

View File

@ -25,7 +25,7 @@ function SplitTwice($content,$first,$second) {
if ($argv[1]=='config'){
print "graph_title Rackspace CDN files count\n";
print "graph_vlabel Files Count\n";
print "graph_category rackspace\n";
print "graph_category cloud\n";
print "count.label files count\n";
print "graph_args --base 1000\n";

View File

@ -24,7 +24,7 @@ function SplitTwice($content,$first,$second) {
if ($argv[1]=='config'){
print "graph_title Rackspace CDN storage usage\n";
print "graph_vlabel CDN storage usage\n";
print "graph_category rackspace\n";
print "graph_category cloud\n";
print "usage.label storage usage\n";
print "graph_args --base 1024\n";

View File

@ -69,7 +69,7 @@ def print_config(servername):
print("graph_title RethinkDB on '%s'- Local Database IOPS and Queries" % servername)
print("graph_args --base 1000 -l 0")
print("graph_vlabel Operations / second")
print("graph_category rethinkdb")
print("graph_category db")
print("total_qps.label queries per sec")
print("total_qps.type COUNTER")
print("total_rdps.label read docs per sec")

View File

@ -62,7 +62,7 @@ cat << EOF
graph_title denied sshd access in $DENY
graph_args --base 1000 -l 0
graph_vlabel Hosts denied
graph_category services
graph_category security
age0.label added last 24h
age0.draw AREA
age0.colour ${COLOUR[0]}