summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-12-13 21:46:27 +0100
committerTobi Oetiker <tobi@oetiker.ch>2007-12-13 21:46:27 +0100
commit68ea224e043c83de1d185cb6fa329997a34ec74d (patch)
tree2afc39b1abcec5c1d6f0fbc54e72428e225151da /lib
parent1f7c876a44f4bcb28affa098c283979b2bc08f32 (diff)
downloadsmokeping-68ea224e043c83de1d185cb6fa329997a34ec74d.tar.gz
smokeping-68ea224e043c83de1d185cb6fa329997a34ec74d.tar.xz
working towards fixing the master config
Diffstat (limited to 'lib')
-rw-r--r--lib/Smokeping/Master.pm5
1 files changed, 4 insertions, 1 deletions
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--){