summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-08-30 09:49:16 +0200
committerTobi Oetiker <tobi@oetiker.ch>2007-08-30 09:49:16 +0200
commitfec4230894e1c24460031f4ac3ae7f10ed1cf815 (patch)
tree5b5a2211f03bfd140cc6a25bad606040534cca29 /lib/Smokeping
parent044798e9867a8d20319f8714e43090fe2bc85979 (diff)
downloadsmokeping-fec4230894e1c24460031f4ac3ae7f10ed1cf815.tar.gz
smokeping-fec4230894e1c24460031f4ac3ae7f10ed1cf815.tar.xz
some fixes after intitial slave testing
Diffstat (limited to 'lib/Smokeping')
-rw-r--r--lib/Smokeping/Slave.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Smokeping/Slave.pm b/lib/Smokeping/Slave.pm
index 9ed8c7c..8f95c5f 100644
--- a/lib/Smokeping/Slave.pm
+++ b/lib/Smokeping/Slave.pm
@@ -98,10 +98,10 @@ sub submit_results {
return undef;
}
my $zone = new Safe;
- $zone->permit_only(':base_core');
+ # $zone->permit_only(???); #input welcome as to good settings
my $config = $zone->reval($data);
if ($@){
- warn "WARNING evaluating new config from server failed: $@";
+ warn "WARNING evaluating new config from server failed: $@ --\n$data";
} elsif (defined $config and ref $config eq 'HASH'){
$config->{General}{piddir} = $slave_cfg->{cache_dir};
Smokeping::do_debuglog("Sent data to Server and got new config");