summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping.pm
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2008-03-17 20:55:33 +0100
committerNiko Tyni <ntyni@iki.fi>2008-03-17 20:55:33 +0100
commit2fc87dbdce71a29396ad0236edc044f27596bdc0 (patch)
treed0240fd4bda86ee5dd0874647a253c59dfce8af4 /lib/Smokeping.pm
parent1d4de6409ce490f5b33b2187372de7ea9c9ed307 (diff)
downloadsmokeping-2fc87dbdce71a29396ad0236edc044f27596bdc0.tar.gz
smokeping-2fc87dbdce71a29396ad0236edc044f27596bdc0.tar.xz
* store the slave updates in dyndir, defaulting to datadir --niko
Diffstat (limited to 'lib/Smokeping.pm')
-rw-r--r--lib/Smokeping.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 6f30120..71e64d4 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -1859,7 +1859,7 @@ sub update_rrds($$$$$$) {
if ($tree->{slaves}){
my @slaves = split(/\s+/, $tree->{slaves});
foreach my $slave (@slaves) {
- my $lines = Smokeping::Master::get_slaveupdates($name, $slave);
+ my $lines = Smokeping::Master::get_slaveupdates($cfg, $name, $slave);
push @updates, @$lines;
} #foreach my $checkslave
}
@@ -2488,7 +2488,9 @@ DOC
%$DIRCHECK_SUB,
_doc => <<DOC,
The base directory where SmokePing keeps the files related to the DYNAMIC function.
-This directory must be writeable by the WWW server.
+This directory must be writeable by the WWW server. It is also used for temporary
+storage of slave polling results by the master in
+L<the master/slave mode|smokeping_master_slave>.
If this variable is not specified, the value of C<datadir> will be used instead.
DOC