From 34c267f3a212a771b7740dbdfbfca66d3c787887 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 28 Sep 2008 19:01:11 +0200 Subject: [PATCH] Fix makegraphs settings readerror --- src/scripts/makegraphs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/makegraphs b/src/scripts/makegraphs index 72bf77dba..5369ab9d9 100644 --- a/src/scripts/makegraphs +++ b/src/scripts/makegraphs @@ -46,7 +46,7 @@ sub updatehdddata my $standby; my @array = split(/\//,$disk); - if ( ! -e "$rrdlog/hddshutdown-".$array[$#array].".rrd"){ + if ( ! -e "$mainsettings{'RRDLOG'}/hddshutdown-".$array[$#array].".rrd"){ # database did not exist -> create RRDs::create ("$mainsettings{'RRDLOG'}/hddshutdown-".$array[$#array].".rrd", "--step=300", "DS:standby:GAUGE:600:0:1", -- 2.39.2