From c8148539761b74112a236bb1659182be6812d463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Thu, 23 Aug 2012 08:56:01 -0700 Subject: [PATCH] plugins: make all of them use graph_vlabel instead of graph_vtitle. --- plugins/disk/megaraid-controller-information | 10 +++++----- plugins/ejabberd/ejabberd_scanlog/ejabberd_scanlog | 2 +- plugins/network/netstat_bsd_m_/netstat_bsd_m_ | 2 +- plugins/network/netstat_bsd_s_/netstat_bsd_s_ | 2 +- plugins/sensors/w1-therm | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/disk/megaraid-controller-information b/plugins/disk/megaraid-controller-information index 971c3f4b..fd83fbac 100755 --- a/plugins/disk/megaraid-controller-information +++ b/plugins/disk/megaraid-controller-information @@ -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"; diff --git a/plugins/ejabberd/ejabberd_scanlog/ejabberd_scanlog b/plugins/ejabberd/ejabberd_scanlog/ejabberd_scanlog index 396bd890..8dee790a 100755 --- a/plugins/ejabberd/ejabberd_scanlog/ejabberd_scanlog +++ b/plugins/ejabberd/ejabberd_scanlog/ejabberd_scanlog @@ -157,7 +157,7 @@ File.open(CACHE_FILE, 'w') { |f| f.write log_info.to_yaml } unless $debug_mode if ARGV.first == 'config' puts < 1}", "graph_category netstat", - "graph_vtitle per second", + "graph_vlabel per second", "graph_order #{labels.map(&:escape).join(' ')}" ] diff --git a/plugins/sensors/w1-therm b/plugins/sensors/w1-therm index dbee0e4f..25b78c48 100755 --- a/plugins/sensors/w1-therm +++ b/plugins/sensors/w1-therm @@ -13,7 +13,7 @@ case "$1" in config) cat << EOF graph_title $TITLE -graph_vtitle Celsius +graph_vlabel Celsius graph_args --base 1000 -l 0 graph_category sensors temp.label $NAME