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:
parent
e08a6448ce
commit
7cd10950aa
@ -86,7 +86,7 @@ def print_config():
|
||||
print graph_title
|
||||
print "graph_args --base 1024 -l 0"
|
||||
print "graph_vlabel Megabytes"
|
||||
print "graph_category gunicorn"
|
||||
print "graph_category appserver"
|
||||
print "total_memory.label Total Memory"
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
@ -101,7 +101,7 @@ def print_config():
|
||||
print graph_title
|
||||
print "graph_args -l 0"
|
||||
print "graph_vlabel Number of workers"
|
||||
print "graph_category gunicorn"
|
||||
print "graph_category appserver"
|
||||
print "total_workers.label Total Workers"
|
||||
print "idle_workers.label Idle Workers"
|
||||
|
||||
|
@ -61,7 +61,7 @@ sub printConfig {
|
||||
if ($type eq "block") {
|
||||
print <<EOT;
|
||||
graph_title DFS Statistics
|
||||
graph_category hadoop
|
||||
graph_category fs
|
||||
graph_vlabel count
|
||||
block.label Under replicated blocks
|
||||
corrupt.label Blocks with corrupt replicas
|
||||
@ -70,7 +70,7 @@ EOT
|
||||
} elsif ($type eq "capacity") {
|
||||
print <<EOT;
|
||||
graph_title DFS Capacity
|
||||
graph_category hadoop
|
||||
graph_category fs
|
||||
graph_vlabel capacity
|
||||
configured.label Configured
|
||||
present.label Present
|
@ -8,7 +8,7 @@ SITEANALYZERLOG="/opt/WebSphere/SiteAnalyzer/sa.log"
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
echo 'graph_title WebSphere Portal online users'
|
||||
echo 'graph_category websphere'
|
||||
echo 'graph_category appserver'
|
||||
# echo 'graph_order total actual'
|
||||
echo 'graph_order actual'
|
||||
echo 'graph_vlabel Users'
|
||||
|
@ -17,7 +17,7 @@ def config(data):
|
||||
print "graph_args -l 0"
|
||||
print "graph_vlabel n"
|
||||
print "graph_period minute"
|
||||
print "graph_category webserver"
|
||||
print "graph_category appserver"
|
||||
|
||||
def get_data():
|
||||
import sys
|
||||
|
Loading…
Reference in New Issue
Block a user