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

plugins: make all of them use graph_vlabel instead of graph_vtitle.

This commit is contained in:
Diego Elio Pettenò 2012-08-23 08:56:01 -07:00
parent 55cb01870b
commit c814853976
5 changed files with 9 additions and 9 deletions

View file

@ -80,7 +80,7 @@ my %config = (
lookfor => 'Drive Temperature :',
label => 'Temp',
title => "MegaRAID Adapter $Adapter: Drive Temperatures",
vtitle => 'Celsius',
vlabel => 'Celsius',
graph_args => '--base 1000 -l 0',
warning => '55',
critical => '65',
@ -91,7 +91,7 @@ my %config = (
lookfor => 'Media Error Count: ',
label => 'Media Err',
title => "MegaRAID Adapter $Adapter: Media Errors (SMART)",
vtitle => 'Number of Errors',
vlabel => 'Number of Errors',
graph_args => '--base 1000 -l 0',
warning => '',
critical => '',
@ -102,7 +102,7 @@ my %config = (
lookfor => 'Other Error Count: ',
label => 'Other Err',
title => "MegaRAID Adapter $Adapter: Others Errors (SMART)",
vtitle => 'Number of Errors',
vlabel => 'Number of Errors',
graph_args => '--base 1000 -l 0',
warning => '',
critical => '',
@ -113,7 +113,7 @@ my %config = (
lookfor => 'Predictive Failure Count: ',
label => 'Predictive Err',
title => "MegaRAID Adapter $Adapter: Predictive Errors (SMART)",
vtitle => 'Number of Errors',
vlabel => 'Number of Errors',
graph_args => '--base 1000 -l 0',
warning => '',
critical => '',
@ -140,7 +140,7 @@ my @Output=qx($Command);
#Munin Config Options
if ($ARGV[0] and $ARGV[0] eq "config"){
print "graph_title $config{$Type}->{title}\n";
print "graph_vtitle $config{$Type}->{vtitle}\n";
print "graph_vlabel $config{$Type}->{vlabel}\n";
print "graph_args $config{$Type}->{graph_args}\n";
print "graph_scale yes\n";
print "graph_category disk\n";