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
baeaa1e489
@ -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__":
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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
|
@ -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'
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user