fix(plugin)typo-in-options-default-value

This commit is contained in:
Sims24 2020-11-27 16:46:39 +01:00
parent e447bb7a80
commit c9a833fc5e
2 changed files with 4 additions and 4 deletions

View File

@ -137,7 +137,7 @@ sub new {
'filter-name:s' => { name => 'filter_name' },
'unknown-status:s' => { name => 'unknown_status', default => '%{status} =~ /unknown/i' },
'warning-status:s' => { name => 'warning_status', default => '%{status} =~ /ok_but|degraded|minor/i' },
'critical-status:s' => { name => 'critical_status', default => '%{status} =~ /major|criticalnon_recoverable/i' },
'critical-status:s' => { name => 'critical_status', default => '%{status} =~ /major|critical|non_recoverable/i' },
});
return $self;
@ -223,7 +223,7 @@ Can used special variables like: %{status}, %{display}
=item B<--critical-status>
Set critical threshold for status (Default: '%{status} =~ /major|criticalnon_recoverable/i').
Set critical threshold for status (Default: '%{status} =~ /major|critical|non_recoverable/i').
Can used special variables like: %{status}, %{display}
=item B<--warning-*> B<--critical-*>

View File

@ -137,7 +137,7 @@ sub new {
'filter-name:s' => { name => 'filter_name' },
'unknown-status:s' => { name => 'unknown_status', default => '%{status} =~ /unknown/i' },
'warning-status:s' => { name => 'warning_status', default => '%{status} =~ /ok_but|degraded|minor/i' },
'critical-status:s' => { name => 'critical_status', default => '%{status} =~ /major|criticalnon_recoverable/i' },
'critical-status:s' => { name => 'critical_status', default => '%{status} =~ /major|critical|non_recoverable/i' },
});
return $self;
@ -226,7 +226,7 @@ Can used special variables like: %{status}, %{display}
=item B<--critical-status>
Set critical threshold for status (Default: '%{status} =~ /major|criticalnon_recoverable/i').
Set critical threshold for status (Default: '%{status} =~ /major|critical|non_recoverable/i').
Can used special variables like: %{status}, %{display}
=item B<--warning-*> B<--critical-*>