summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES1
-rwxr-xr-xbin/tSmoke.dist2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index cc41d63..575c7cd 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,4 @@
+* Make tsmoke work with multihost targets -- tobi
* Do not force a page reload more frequently than every 120s -- tobi
* Make sure slaves in targets match up with entries in the slaves section -- tobi
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";
}
}