diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-09-05 08:13:24 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-09-05 08:13:24 +0200 |
commit | 25d4c21620dd04ce9c472ec5141560cefdf9ae29 (patch) | |
tree | 9a9ebe98475446f83a91c1ddffc5874801123849 /lib/Smokeping/Master.pm | |
parent | 4280c7413ee558d1e19f993a85b675d3c4598a05 (diff) | |
download | smokeping-25d4c21620dd04ce9c472ec5141560cefdf9ae29.tar.gz smokeping-25d4c21620dd04ce9c472ec5141560cefdf9ae29.tar.xz |
* fixes for pod generation
* skip multi target hosts for slaves
* report content-lengh in header
Diffstat (limited to 'lib/Smokeping/Master.pm')
-rw-r--r-- | lib/Smokeping/Master.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Smokeping/Master.pm b/lib/Smokeping/Master.pm index ddd708e..065270b 100644 --- a/lib/Smokeping/Master.pm +++ b/lib/Smokeping/Master.pm @@ -38,6 +38,7 @@ sub get_targets { # dynamic hosts can only be queried from the # master next if $key eq 'host' and $trg->{$key} eq 'DYNAMIC'; + next if $key eq 'host' and $trg->{$key} =~ m|^/|; # skip multi targets next if $key eq 'host' and not ( defined $trg->{slaves} and $trg->{slaves} =~ /\b${slave}\b/); if (ref $trg->{$key} eq 'HASH'){ $return{$key} = get_targets ($trg->{$key},$slave); |