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

Reduce number of categories

This commit is contained in:
Gabriele Pohl 2014-09-07 14:20:12 +02:00
parent 81ad9f2bc7
commit 81db94e2d3
43 changed files with 60 additions and 54 deletions

View file

@ -84,7 +84,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_title $host CIFS sessions\n";
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
print "graph_vlabel CIFS\n";
print "graph_category CIFS\n";
print "graph_category netapp\n";
print "graph_info This graph shows CIFS sessions status for the $host.\n";
print "graph_order ";
foreach (sort keys %oids)

View file

@ -91,7 +91,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_title $host CIFS calls\n";
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
print "graph_vlabel calls / \${graph_period}\n";
print "graph_category cifs\n";
print "graph_category netapp\n";
print "graph_info This graph shows cifs calls for the $host NetApp equipment.\n";
print "graph_order ";
foreach (sort keys %oids)

View file

@ -93,7 +93,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_title $host CPU \n";
print "graph_args --base 1000 -r --lower-limit 0 --upper-limit 100\n";
print "graph_vlabel CPU \n";
print "graph_category CPU\n";
print "graph_category netapp\n";
print "graph_info This graph shows cpu busy value for the $host in percent.\n";
print "graph_order ";
foreach (sort keys %oids)

View file

@ -63,6 +63,8 @@ sub do_collect
sub do_config_root
{
# graph_category netapp # To show plugin in Gallery also in this category
my ($host) = @_;
print "multigraph diskbusy\n";

View file

@ -135,6 +135,7 @@ sub do_config_vol
}
print "graph_args --base 1024 --lower-limit 0\n";
print "graph_vlabel bytes\n";
# graph_category netapp # To show plugin in Gallery also in this category
print "graph_category disk\n";
print "graph_order df64UsedKBytes df64SnapShotUsedKBytes df64SisSavedKBytes df64TotalKBytes df64SnapShotTotalKBytes df64TotalAndSnapTotalKBytes \n";

View file

@ -82,6 +82,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_title $host Disk throughput\n";
print "graph_args --base 1024\n";
print "graph_vlabel Bytes/\${graph_period} write (-) / read (+)\n";
# graph_category netapp # To show plugin in Gallery also in this category
print "graph_category disk\n";
print "graph_info This graph shows DiskUtil calls for the $host NetApp equipment.\n";
print "graph_order misc64DiskWriteBytes misc64DiskReadBytes\n";

View file

@ -84,7 +84,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_title $host NDMP \n";
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
print "graph_vlabel NDMP status\n";
print "graph_category NDMP\n";
print "graph_category netapp\n";
print "graph_info This graph shows NDMP status for the $host NetApp equipment.\n";
print "graph_order ";
foreach (sort keys %oids)

View file

@ -82,6 +82,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_title $host Network interface traffic\n";
print "graph_args --base 1000\n";
print "graph_vlabel Bytes in (-) / out (+) per \${graph_period}\n";
# graph_category netapp # To show plugin in Gallery also in this category
print "graph_category network\n";
print "graph_info This graph shows net stats for the $host NetApp equipment.\n";
print "graph_order misc64NetRcvdBytes misc64NetSentBytes\n";

View file

@ -120,6 +120,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config") {
print "graph_title $host NFSv3 calls\n";
print "graph_args --base 1000\n";
print "graph_vlabel calls / \${graph_period}\n";
# graph_category netapp # To show plugin in Gallery also in this category
print "graph_category nfs\n";
print "graph_info This graph shows NFSv3 calls for the $host NetApp equipment.\n";
print "graph_order ";

View file

@ -112,7 +112,7 @@ sub do_config_vol
}
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
print "graph_vlabel reallocate_status status\n";
print "graph_category reallocate\n";
print "graph_category netapp\n";
foreach my $state ("reallocating", "redirecting", "quiesce", "debug")
{
print "$state.label $state\n";

View file

@ -110,7 +110,7 @@ sub do_config_vol
}
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
print "graph_vlabel sis status\n";
print "graph_category sis\n";
print "graph_category netapp\n";
print "graph_order sisInitialising sisRunning sisPending sisDebug\n";
foreach my $state ("debug", "initialising", "running", "pending")
{