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

Category Tree: Reduce number of categories

ceph, samba, zfs into "fs"
apache into "webserver"
lighttpd into "webserver"
..
This commit is contained in:
dipohl 2017-02-21 22:15:07 +01:00
parent 62849e0b1c
commit 65652aa0bd
36 changed files with 45 additions and 44 deletions

View file

@ -71,7 +71,7 @@ sub config
print "graph_args --base 1000 -l 0\n";
print "graph_vlabel Watt\n";
print "graph_total Total\n";
print "graph_category AMR\n";
print "graph_category sensors\n";
$count = 0;
foreach my $station (sort keys %stations) {
@ -92,7 +92,7 @@ sub config
print "graph_args --base 1000 -l 0\n";
print "graph_vlabel kWh\n";
print "graph_scale no\n";
print "graph_category AMR\n";
print "graph_category sensors\n";
$count = 0;
foreach my $station (sort keys %stations) {
@ -106,7 +106,7 @@ sub config
print "graph_title Known AMR stations\n";
print "graph_args --base 1000 -l 0\n";
print "graph_vlabel stations\n";
print "graph_category AMR\n";
print "graph_category sensors\n";
print "stations.label number of stations\n";
print "multigraph amr_signals\n";
@ -114,7 +114,7 @@ sub config
print "graph_args --base 1000 -l 0\n";
print "graph_vlabel signals / \${graph_period}\n";
print "graph_period minute\n";
print "graph_category AMR\n";
print "graph_category sensors\n";
$count = 0;
foreach my $station (sort keys %stations) {
my $name = clean_fieldname('station signals ' . $station);