From 1f6bf4f79a164c3e758bf29c8786baaca575f949 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Fri, 6 Oct 2017 17:54:56 +0200 Subject: [PATCH] change default threshold --- apps/centreon/local/mode/brokerstats.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/centreon/local/mode/brokerstats.pm b/apps/centreon/local/mode/brokerstats.pm index edb708258..10b1d9704 100644 --- a/apps/centreon/local/mode/brokerstats.pm +++ b/apps/centreon/local/mode/brokerstats.pm @@ -141,7 +141,7 @@ sub new { "sudo" => { name => 'sudo' }, "filter-name:s" => { name => 'filter_name' }, "warning-status:s" => { name => 'warning_status', default => '' }, - "critical-status:s" => { name => 'critical_status', default => '%{type} eq "output" and (%{queue_file_enabled} =~ /yes/i or %{state} ne "connected")' }, + "critical-status:s" => { name => 'critical_status', default => '%{type} eq "output" and %{queue_file_enabled} =~ /yes/i' }, }); return $self; @@ -281,7 +281,7 @@ Can used special variables like: %{queue_file_enabled}, %{state}, %{status}, %{t =item B<--critical-status> -Set critical threshold for status (Default: '%{type} eq "output" and (%{queue_file_enabled} =~ /yes/i or %{state} ne "connected")'). +Set critical threshold for status (Default: '%{type} eq "output" and %{queue_file_enabled} =~ /yes/i'). Can used special variables like: %{queue_file_enabled}, %{state}, %{status}, %{type}, %{display} =back