summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-11-05 08:02:39 +0100
committerTobi Oetiker <tobi@oetiker.ch>2007-11-05 08:02:39 +0100
commit65ae52a910578163e0b5e821fb75fc3cf5d28528 (patch)
treee392ba6cd4330fbd9c0da7a73249f9d2d74e9889 /bin
parent485377cf03560635c8590f5f053752b805e5f2fa (diff)
downloadsmokeping-65ae52a910578163e0b5e821fb75fc3cf5d28528.tar.gz
smokeping-65ae52a910578163e0b5e821fb75fc3cf5d28528.tar.xz
make tsmoke work with multihost targets
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tSmoke.dist2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tSmoke.dist b/bin/tSmoke.dist
index f55bd24..674dd9f 100755
--- a/bin/tSmoke.dist
+++ b/bin/tSmoke.dist
@@ -389,7 +389,7 @@ sub list_rrds($$$) {
if (ref $tree->{$rrds} eq 'HASH'){
$prline .= list_rrds( $tree->{$rrds}, $path."/$rrds", $print );
}
- if ($rrds eq 'host') {
+ if ($rrds eq 'host' and $tree->{$rrds} !~ m|/| ) {
$prline .= "$cfg->{General}{datadir}$path".".rrd\n";
}
}