diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-11-05 08:02:39 +0100 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-11-05 08:02:39 +0100 |
commit | 65ae52a910578163e0b5e821fb75fc3cf5d28528 (patch) | |
tree | e392ba6cd4330fbd9c0da7a73249f9d2d74e9889 /bin/tSmoke.dist | |
parent | 485377cf03560635c8590f5f053752b805e5f2fa (diff) | |
download | smokeping-65ae52a910578163e0b5e821fb75fc3cf5d28528.tar.gz smokeping-65ae52a910578163e0b5e821fb75fc3cf5d28528.tar.xz |
make tsmoke work with multihost targets
Diffstat (limited to 'bin/tSmoke.dist')
-rwxr-xr-x | bin/tSmoke.dist | 2 |
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"; } } |