Skip to content

Commit 58e8b87

Browse files
committed
Smokeping: skip DOCKER types
1 parent bb5dec8 commit 58e8b87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/usr/local/bin/config_generator/nag2smokeping.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ sub main {#{{{
113113
my $i = 0;
114114
my $mod = keys %{$probes->{ping}};
115115
foreach my $e ( get_hosts($config->{host}) ) {
116+
next if $e->{type} eq 'DOCKER';
117+
116118
my $host = $e->{host};
117119
my $ip = $e->{ip} || $host;
118120

0 commit comments

Comments
 (0)