1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-08-01 22:03:57 +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

@ -50,7 +50,7 @@ if ( $config ) {
print "ping.label PING time\n";
print "get.label GET time\n";
print "set.label SET time\n";
print "graph_category redis\n";
print "graph_category search\n";
exit 0;
}

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}) {

View file

@ -48,7 +48,7 @@ my $opt = $0 ? $0 : 'default';
if ($opt eq 'failed') {
if ($config) {
print "graph_title Resque Failure rate\n";
print "graph_category Resque\n";
print "graph_category system\n";
print "graph_info This graph shows resque jobs that failed\n";
print "graph_args --lower-limit 0\n";
print 'graph_vlabel fails/s\n';
@ -64,7 +64,7 @@ if ($opt eq 'failed') {
elsif ($opt eq 'queues') {
if ($config) {
print "graph_title Resque queue rates\n";
print "graph_category Resque\n";
print "graph_category system\n";
print "graph_vlabel queue rates/s\n";
print "graph_info This graph monitors the in and out rate of the queues\n";
print "graph_args --lower-limit 0\n";
@ -97,7 +97,7 @@ elsif ($opt eq 'queues') {
elsif ($opt eq 'queues_size') {
if ($config) {
print "graph_title Resque queue current size\n";
print "graph_category Resque\n";
print "graph_category system\n";
print "graph_vlabel queue size\n";
print "graph_info This graph monitors the current queues size\n";
print "graph_args --lower-limit 0\n";
@ -133,7 +133,7 @@ elsif ($opt eq 'queues_size') {
elsif ($opt eq 'workers_count') {
if ($config) {
print "graph_title Resque Workers Count\n";
print "graph_category Resque\n";
print "graph_category system\n";
print "graph_info This graph shows number of resque workers\n";
print "graph_args --lower-limit 0\n";
print "graph_vlabel workers\n";
@ -149,7 +149,7 @@ elsif ($opt eq 'workers_count') {
elsif ($opt eq 'workers_working') {
if ($config) {
print "graph_title Resque Workers in use\n";
print "graph_category Resque\n";
print "graph_category system\n";
print "graph_info This graph shows the \%age of resque workers busy\n";
print "graph_args --lower-limit 0 --upper-limit 100\n";
print "graph_vlabel %\n";