1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Category Tree: Reduce number of categories

slony -> db (postgresql)
qpid -> webserver (apache)
solr -> search (solr)
This commit is contained in:
dipohl 2017-02-22 20:59:43 +01:00
parent c3e309c6a5
commit 30685b4c66
13 changed files with 19 additions and 19 deletions

View file

@ -88,7 +88,7 @@ if len(sys.argv) > 1:
print 'graph_title Solr %s' % params['valueName']
print 'graph_args -l 0 '
print 'graph_vlabel Size %s' % params['valueName']
print 'graph_category Solr'
print 'graph_category search'
print 'graph_info Info for cores: %s' % ( ",".join(params['cores']))
for core in params['cores']:

View file

@ -24,7 +24,7 @@ $property = $tabParams[4];
if('config' === $action)
{
echo 'graph_category SolR ' . $core . "\n";
echo 'graph_category search ' . $core . "\n";
echo 'graph_title ' . $item . ' ' . $property . "\n";
echo 'graph_vlabel ' . $property . "\n";
echo $core . $item . $property . 'solr.label ' . $property . "\n";

View file

@ -232,7 +232,7 @@ class SolrCoreMBean:
# Graph Templates
CACHE_GRAPH_TPL = """multigraph solr_{core}_{cacheType}_hit_rates
graph_category solr
graph_category search
graph_title Solr {core} {cacheName} Hit rates
graph_order lookups hits inserts
graph_scale no
@ -256,7 +256,7 @@ hits.type DERIVE
multigraph solr_{core}_{cacheType}_size
graph_title Solr {core} {cacheName} Size
graph_args -l 0
graph_category solr
graph_category search
graph_vlabel Size
size.label Size
size.draw LINE2
@ -269,7 +269,7 @@ QPSMAIN_GRAPH_TPL = """graph_title Solr {core} {handler} Request per second
graph_args --base 1000 -r --lower-limit 0
graph_scale no
graph_vlabel request / second
graph_category solr
graph_category search
graph_period second
graph_order {gorder}
{cores_qps_graphs}"""
@ -284,7 +284,7 @@ REQUESTTIMES_GRAPH_TPL = """multigraph {core}_requesttimes
graph_title Solr {core} {handler} Time per request
graph_args -l 0
graph_vlabel millis
graph_category solr
graph_category search
savgtimeperrequest_{core}.label {core} Avg time per request
savgtimeperrequest_{core}.type GAUGE
savgtimeperrequest_{core}.graph yes
@ -299,12 +299,12 @@ s99thpcrequesttime_{core}.graph yes
NUMDOCS_GRAPH_TPL = """graph_title Solr Docs %s
graph_vlabel docs
docs.label Docs
graph_category solr"""
graph_category search"""
INDEXSIZE_GRAPH_TPL = """graph_args --base 1024 -l 0
graph_vlabel Bytes
graph_title Index Size
graph_category solr
graph_category search
graph_info Solr Index Size.
graph_order {cores}
{cores_config}
@ -318,7 +318,7 @@ INDEXSIZECORE_GRAPH_TPL = """{core}.label {core}
MEMORYUSAGE_GRAPH_TPL = """graph_args --base 1024 -l 0 --upper-limit {availableram}
graph_vlabel Bytes
graph_title Solr memory usage
graph_category solr
graph_category search
graph_info Solr Memory Usage.
used.label Used
max.label Max

View file

@ -158,7 +158,7 @@ if len(sys.argv) > 1:
print 'graph_title %s' % ( PLUGINOPTIONSLIST[params['valueName']]['label'] )
print "graph_args --base 1000";
print 'graph_vlabel Size %s' % params['valueName']
print 'graph_category Solr'
print 'graph_category search'
print 'graph_info Info for cores: %s' % ( ",".join(params['cores']) )
# Iterations for core datas

View file

@ -170,7 +170,7 @@ try
{
echo "graph_args --base 1024 -l 0\n";
}
echo "graph_category Solr $core\n";
echo "graph_category search $core\n";
echo "graph_title $item $property\n";
echo "graph_vlabel $property\n";
if ($core !== null)