diff --git a/plugins/relayd/relayd b/plugins/relayd/relayd index bddbbdcf..e43400c2 100755 --- a/plugins/relayd/relayd +++ b/plugins/relayd/relayd @@ -74,7 +74,7 @@ while ( $content =~ /^\s*table\s*<([^>]+)>\s*{([^}]+)}/mg) { $hosts =~ s/#.*$//mg; # comments $hosts =~ s/^\s+//mg; # trim spaces before lines print "hosts: $hosts\n" if $Munin::Plugin::DEBUG; - push @hosts , split /\s+/, $hosts; + push @hosts , split /,?\s+/, $hosts; } if ($cmd eq 'config') {