From 52b8157c49e7703d7006b60c65cf525fc45558b9 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Sat, 10 May 2014 21:07:45 +0200 Subject: [PATCH] Refs #5475 --- centreon-plugins/os/linux/local/mode/connections.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/os/linux/local/mode/connections.pm b/centreon-plugins/os/linux/local/mode/connections.pm index c865c78ec..860863462 100644 --- a/centreon-plugins/os/linux/local/mode/connections.pm +++ b/centreon-plugins/os/linux/local/mode/connections.pm @@ -80,7 +80,7 @@ sub new { "application:s@" => { name => 'application', }, }); @{$self->{connections}} = (); - $self->{services} = { total => { filter => '.*?#.*?#.*?#.*?#.*?#(?!(listen))', builtin => 1, number => 0, msg => 'Total connections: %d' } }; + $self->{services} = { total => { filter => '(?!(udp*))#.*?#.*?#.*?#.*?#(?!(listen))', builtin => 1, number => 0, msg => 'Total connections: %d' } }; $self->{applications} = {}; $self->{states} = { closed => 0, listen => 0, synSent => 0, synReceived => 0, established => 0, finWait1 => 0, finWait2 => 0, closeWait => 0,