diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-09-16 17:24:22 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-09-16 17:24:22 +0200 |
commit | cc8921fdf54244edad3895514a3c9c80ca2f563f (patch) | |
tree | f14f63be03443b674d8e3b30c089fb475642a119 | |
parent | b5b7c0f2dc7420cb4c322f571ae16743bd621b39 (diff) | |
download | smokeping-cc8921fdf54244edad3895514a3c9c80ca2f563f.tar.gz smokeping-cc8921fdf54244edad3895514a3c9c80ca2f563f.tar.xz |
oops the tree points right at the node and not at its parent ... -- tobi
-rw-r--r-- | lib/Smokeping.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 05ace24..4630c65 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -700,8 +700,8 @@ sub get_overview ($$$$){ $tree_path[-1]= $host; my $tree = get_tree($cfg,\@tree_path); # not all multihost entries must have the same number of pings - $probe = $probes->{$tree->{$prop}{probe}}; - $pings = $probe->_pings($tree->{$prop}); + $probe = $probes->{$tree->{probe}}; + $pings = $probe->_pings($tree); $label = $tree->{menu}; # if there are multiple units ... lets say so ... if ($ProbeUnit ne $probe->ProbeUnit()){ |