Fix makegraphs settings readerror

This commit is contained in:
Arne Fitzenreiter
2008-09-28 19:01:11 +02:00
parent f033809852
commit 34c267f3a2

View File

@@ -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",