From 68ea224e043c83de1d185cb6fa329997a34ec74d Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Thu, 13 Dec 2007 20:46:27 +0000 Subject: working towards fixing the master config --- lib/Smokeping/Master.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Smokeping/Master.pm b/lib/Smokeping/Master.pm index 590e75e..efe1d9a 100644 --- a/lib/Smokeping/Master.pm +++ b/lib/Smokeping/Master.pm @@ -100,7 +100,10 @@ sub save_updates { my ($name, $time, $updatestring) = split /\t/, $update; my $file = $cfg->{General}{datadir}."/${name}.slave_cache"; if ( ! -f $cfg->{General}{datadir}."/${name}.rrd" ){ - warn "Skipping update for ${name}.slave_cache since $cfg->{General}{datadir}/${name}.rrd does not exist in the local data structure. Make sure you run the smokeping daemon. ($cfg->{General}{datadir})\n"; + warn "Skipping update for ${name}.slave_cache since ". + "$cfg->{General}{datadir}/${name}.rrd does not exist ". + " in the local data structure. Make sure you run the ". + "smokeping daemon. ($cfg->{General}{datadir})\n"; } elsif ( open (my $hand, '+<', $file) ) { for (my $i = 10; $i < 0; $i--){ -- cgit v1.2.3-24-g4f1b