+ update default threshold

This commit is contained in:
garnier-quentin 2016-11-17 15:58:01 +01:00
parent e011249ad9
commit 00d6ace975
1 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ sub new {
$options{options}->add_options(arguments => $options{options}->add_options(arguments =>
{ {
"warning-status:s" => { name => 'warning_status', default => '%{status} =~ /nearoverload/' }, "warning-status:s" => { name => 'warning_status', default => '%{status} =~ /nearoverload/' },
"critical-status:s" => { name => 'critical_status', default => '%{status} =~ /lowload|overload/' }, "critical-status:s" => { name => 'critical_status', default => '%{status} =~ /^(lowload|overload)$/' },
}); });
return $self; return $self;
@ -240,7 +240,7 @@ Can used special variables like: %{status}, %{display}
=item B<--critical-status> =item B<--critical-status>
Set critical threshold for status (Default: '%{status} =~ /lowload|overload/'). Set critical threshold for status (Default: '%{status} =~ /^(lowload|overload)$/').
Can used special variables like: %{status}, %{display} Can used special variables like: %{status}, %{display}
=back =back