1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-09-19 09:03:20 +00:00

Reduce number of categories

smstools -> other (smstools)
sourceds -> games (sourceds)
squeezebox -> radio (squeezebox)
syslog -> system (syslog)
ultramonkey-l7 -> loadbalancer (ultramonkey-l7)
moved directory jmx up to level 1 in hierarchy
This commit is contained in:
dipohl 2017-02-23 23:48:55 +01:00
parent 63351ab535
commit eb100e33a9
20 changed files with 10 additions and 10 deletions

View file

@ -92,7 +92,7 @@ if [ "$1" = "config" ]; then
echo 'graph_args --base 1000 -l 0' echo 'graph_args --base 1000 -l 0'
echo 'graph_vlabel ' echo 'graph_vlabel '
echo 'graph_scale no' echo 'graph_scale no'
echo 'graph_category SMSTools' echo 'graph_category other'
echo 'graph_info SMSTools Statistics' echo 'graph_info SMSTools Statistics'
echo 'graph_oder succeeded received failed multiple_failed rejected' echo 'graph_oder succeeded received failed multiple_failed rejected'
echo 'rejected.label Rejected' echo 'rejected.label Rejected'

View file

@ -114,7 +114,7 @@ sub print_config {
print("graph_title Server CPU usage at $HOST:$PORT\n", print("graph_title Server CPU usage at $HOST:$PORT\n",
"graph_args --base 1000\n", "graph_args --base 1000\n",
"graph_vlabel CPU\n", "graph_vlabel CPU\n",
"graph_category SourceDS\n", "graph_category games\n",
"graph_info The CPU usage of Source game server, such as HL2, CS:S and DoD:S.\n"); "graph_info The CPU usage of Source game server, such as HL2, CS:S and DoD:S.\n");
print ("cpu.label CPU\n", print ("cpu.label CPU\n",

View file

@ -116,7 +116,7 @@ sub print_config {
print("graph_title Server FPS at $HOST:$PORT\n", print("graph_title Server FPS at $HOST:$PORT\n",
"graph_args --base 1000\n", "graph_args --base 1000\n",
"graph_vlabel FPS\n", "graph_vlabel FPS\n",
"graph_category SourceDS\n", "graph_category games\n",
"graph_info The number of frames per second generated by Source game server, such as HL2, CS:S and DoD:S.\n"); "graph_info The number of frames per second generated by Source game server, such as HL2, CS:S and DoD:S.\n");
print ("fps.label FPS\n", print ("fps.label FPS\n",

View file

@ -121,7 +121,7 @@ sub print_config {
print("graph_title Server traffic at $HOST:$PORT\n", print("graph_title Server traffic at $HOST:$PORT\n",
"graph_args --base 1000\n", "graph_args --base 1000\n",
"graph_vlabel bits in (-) / out (+) per second\n", "graph_vlabel bits in (-) / out (+) per second\n",
"graph_category SourceDS\n", "graph_category games\n",
"graph_info The traffic of incoming and outgoing data from Source game server, such as HL2, CS:S and DoD:S.\n"); "graph_info The traffic of incoming and outgoing data from Source game server, such as HL2, CS:S and DoD:S.\n");
print ( print (

View file

@ -92,7 +92,7 @@ sub print_config {
print("graph_title Number of players at $HOST:$PORT\n", print("graph_title Number of players at $HOST:$PORT\n",
"graph_args --base 1000\n", "graph_args --base 1000\n",
"graph_vlabel Players\n", "graph_vlabel Players\n",
"graph_category SourceDS\n", "graph_category games\n",
"graph_info The number of players on Source game server, such as HL2, CS:S and DoD:S.\n"); "graph_info The number of players on Source game server, such as HL2, CS:S and DoD:S.\n");
print ("players.label Players\n", print ("players.label Players\n",

View file

@ -91,7 +91,7 @@ sub print_config {
print("graph_title Game server uptime at $HOST:$PORT\n", print("graph_title Game server uptime at $HOST:$PORT\n",
"graph_args --base 1000\n", "graph_args --base 1000\n",
"graph_vlabel Uptime (hours)\n", "graph_vlabel Uptime (hours)\n",
"graph_category SourceDS\n", "graph_category games\n",
"graph_info The uptime for Source game server, such as HL2, CS:S and DoD:S.\n"); "graph_info The uptime for Source game server, such as HL2, CS:S and DoD:S.\n");
print ("uptime.label Uptime\n", print ("uptime.label Uptime\n",

View file

@ -148,7 +148,7 @@ foreach my $attr qw (albums artists genres songs) {
if ($config) { if ($config) {
print "graph_title Number of ${attr}\n"; print "graph_title Number of ${attr}\n";
print "graph_scale no\n"; print "graph_scale no\n";
print "graph_category Squeezebox\n"; print "graph_category radio\n";
print "${attr}.label ${attr}\n"; print "${attr}.label ${attr}\n";
} else { } else {
print "${attr}.value $number\n"; print "${attr}.value $number\n";

View file

@ -106,7 +106,7 @@ if( exists $ARGV[0] and $ARGV[0] eq "config" ) {
print "graph_vlabel count\n"; print "graph_vlabel count\n";
print "graph_args --base 1000 --lower-limit 0 --rigid\n"; print "graph_args --base 1000 --lower-limit 0 --rigid\n";
print "graph_info This graph show syslog-ng-ctl stats\n"; print "graph_info This graph show syslog-ng-ctl stats\n";
print "graph_category syslog\n"; print "graph_category system\n";
for my $graph (@gpaths) { for my $graph (@gpaths) {
# ID # ID
my $id = sprintf '%s_%s', my $id = sprintf '%s_%s',

View file

@ -42,7 +42,7 @@ graph_title Connections
graph_args --base 1000 -l 0 graph_args --base 1000 -l 0
graph_vlabel connections / sec graph_vlabel connections / sec
graph_info UltraMonkey-L7 Connections graph_info UltraMonkey-L7 Connections
graph_category Ultramonkey-L7 graph_category loadbalancer
graph_order $graph_order graph_order $graph_order
END_graph_ END_graph_

View file

@ -33,7 +33,7 @@ if (($ARGV[0])&&($ARGV[0] eq "config")){
# print "graph_args --upper-limit 50 -l 0\n"; # print "graph_args --upper-limit 50 -l 0\n";
print "graph_args -l 0\n"; print "graph_args -l 0\n";
print "graph_vlabel Anzahl\n"; print "graph_vlabel Anzahl\n";
print "graph_category VDR\n"; print "graph_category tv\n";
print "graph_info Diese Graphen zeigen verschiedene Werte des VDR.\n"; print "graph_info Diese Graphen zeigen verschiedene Werte des VDR.\n";
print "timer.label Timer (Anzahl)\n"; print "timer.label Timer (Anzahl)\n";