1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 10:28:36 +00:00

Category Tree: Reduce number of categories

monit -> munin
nova -> cloud (nova)
powermta -> mail (powermta)
redis -> search (redis) and system (redis)
This commit is contained in:
dipohl 2017-02-23 00:15:13 +01:00
parent ed77c82d8a
commit f41b68619b
11 changed files with 20 additions and 20 deletions

View file

@ -80,7 +80,7 @@ switch ($0) {
my $maxclients= get_config("maxclients")->{"maxclients"};
print "graph_title ${TITLE_PREFIX}Connected clients\n";
print "graph_vlabel Connected clients\n";
print "graph_category redis\n";
print "graph_category search\n";
print "graph_args -l 0\n";
print "connected_clients.line $maxclients:ff0000:Limit\n";
print "connected_clients.label connected clients\n";
@ -95,7 +95,7 @@ switch ($0) {
if ( $config ) {
print "graph_title ${TITLE_PREFIX}Keys Per Second\n";
print "graph_vlabel per \${graph_period}\n";
print "graph_category redis\n";
print "graph_category search\n";
print "graph_args -l 0\n";
print "hits.label hits\n";
print "hits.type COUNTER\n";
@ -118,7 +118,7 @@ switch ($0) {
if ( $config ) {
print "graph_title ${TITLE_PREFIX}Key Hit vs Miss Ratio\n";
print "graph_vlabel per \${graph_period}\n";
print "graph_category redis\n";
print "graph_category search\n";
print "graph_args -u 100 -l 0 -r --base 1000\n";
print "hitratio.label hit ratio\n";
print "hitratio.type GAUGE\n";
@ -145,7 +145,7 @@ switch ($0) {
if ( $config ) {
print "graph_title ${TITLE_PREFIX}Per second\n";
print "graph_vlabel per \${graph_period}\n";
print "graph_category redis\n";
print "graph_category search\n";
print "graph_args -l 0\n";
print "requests.label requests\n";
print "requests.type COUNTER\n";
@ -164,7 +164,7 @@ switch ($0) {
my $maxmemory = get_config("maxmemory")->{"maxmemory"};
print "graph_title ${TITLE_PREFIX}Used memory\n";
print "graph_vlabel Used memory\n";
print "graph_category redis\n";
print "graph_category search\n";
print "graph_args -l 0 --base 1024\n";
print "used_memory.line $maxmemory:ff0000:Limit\n";
print "used_memory.label used memory\n";
@ -189,7 +189,7 @@ switch ($0) {
if ( $config ) {
print "graph_title ${TITLE_PREFIX}Used keys\n";
print "graph_vlabel Used keys\n";
print "graph_category redis\n";
print "graph_category search\n";
print "graph_args -l 0\n";
foreach my $db (keys %{$dbs}) {