diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-08-20 16:36:13 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-08-20 16:36:13 +0200 |
commit | f0b493945725fef85bfe2dc110ad37388e36aa58 (patch) | |
tree | d932de8a25c375216b15899976ed045925f76cca /lib/Smokeping.pm | |
parent | 1aff1fefe02d169f24b49be8775b77237dd25fcd (diff) | |
download | smokeping-f0b493945725fef85bfe2dc110ad37388e36aa58.tar.gz smokeping-f0b493945725fef85bfe2dc110ad37388e36aa58.tar.xz |
fixed broken slave split
Diffstat (limited to 'lib/Smokeping.pm')
-rw-r--r-- | lib/Smokeping.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 17e995a..1cfeb05 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -1617,7 +1617,7 @@ sub update_rrds($$$$$$) { my $probeobj = $probes->{$probe}; my $pings = $probeobj->_pings($tree); if ($prop eq 'host' and check_filter($cfg,$name)) { - my %slave_test = ( map { $_,1 } split($tree->{slaves})); + my %slave_test = ( map { $_,1 } split(/\s+/, $tree->{slaves})); my $slaveupdates = Smokeping::Master::get_slaveupdates($name); my @updates = ([ "", time, $probeobj->rrdupdate_string($tree) ]); for my $slave (@{$slaveupdates}){ |