change default threshold

This commit is contained in:
qgarnier 2017-10-06 17:54:56 +02:00
parent ffeff6212d
commit 1f6bf4f79a
1 changed files with 2 additions and 2 deletions

View File

@ -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