From 65ae52a910578163e0b5e821fb75fc3cf5d28528 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Mon, 5 Nov 2007 07:02:39 +0000 Subject: make tsmoke work with multihost targets --- bin/tSmoke.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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"; } } -- cgit v1.2.3-24-g4f1b