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

gunicorn -> appserver (gunicorn)
websphere -> appserver (websphere)
hadoop -> fs (hdfs)
This commit is contained in:
dipohl 2017-02-23 02:46:23 +01:00
parent e08a6448ce
commit 7cd10950aa
8 changed files with 6 additions and 6 deletions

View File

@ -86,7 +86,7 @@ def print_config():
print graph_title print graph_title
print "graph_args --base 1024 -l 0" print "graph_args --base 1024 -l 0"
print "graph_vlabel Megabytes" print "graph_vlabel Megabytes"
print "graph_category gunicorn" print "graph_category appserver"
print "total_memory.label Total Memory" print "total_memory.label Total Memory"
if __name__ == "__main__": if __name__ == "__main__":

View File

@ -101,7 +101,7 @@ def print_config():
print graph_title print graph_title
print "graph_args -l 0" print "graph_args -l 0"
print "graph_vlabel Number of workers" print "graph_vlabel Number of workers"
print "graph_category gunicorn" print "graph_category appserver"
print "total_workers.label Total Workers" print "total_workers.label Total Workers"
print "idle_workers.label Idle Workers" print "idle_workers.label Idle Workers"

View File

@ -61,7 +61,7 @@ sub printConfig {
if ($type eq "block") { if ($type eq "block") {
print <<EOT; print <<EOT;
graph_title DFS Statistics graph_title DFS Statistics
graph_category hadoop graph_category fs
graph_vlabel count graph_vlabel count
block.label Under replicated blocks block.label Under replicated blocks
corrupt.label Blocks with corrupt replicas corrupt.label Blocks with corrupt replicas
@ -70,7 +70,7 @@ EOT
} elsif ($type eq "capacity") { } elsif ($type eq "capacity") {
print <<EOT; print <<EOT;
graph_title DFS Capacity graph_title DFS Capacity
graph_category hadoop graph_category fs
graph_vlabel capacity graph_vlabel capacity
configured.label Configured configured.label Configured
present.label Present present.label Present

View File

@ -8,7 +8,7 @@ SITEANALYZERLOG="/opt/WebSphere/SiteAnalyzer/sa.log"
if [ "$1" = "config" ]; then if [ "$1" = "config" ]; then
echo 'graph_title WebSphere Portal online users' echo 'graph_title WebSphere Portal online users'
echo 'graph_category websphere' echo 'graph_category appserver'
# echo 'graph_order total actual' # echo 'graph_order total actual'
echo 'graph_order actual' echo 'graph_order actual'
echo 'graph_vlabel Users' echo 'graph_vlabel Users'

View File

@ -17,7 +17,7 @@ def config(data):
print "graph_args -l 0" print "graph_args -l 0"
print "graph_vlabel n" print "graph_vlabel n"
print "graph_period minute" print "graph_period minute"
print "graph_category webserver" print "graph_category appserver"
def get_data(): def get_data():
import sys import sys