fix typo
This commit is contained in:
parent
747a790cff
commit
617d43a31f
|
@ -180,7 +180,7 @@ sub new {
|
||||||
'timeout:s' => { name => 'timeout' },
|
'timeout:s' => { name => 'timeout' },
|
||||||
'unknown-http-status:s' => { name => 'unknown_http_status' },
|
'unknown-http-status:s' => { name => 'unknown_http_status' },
|
||||||
'warning-http-status:s' => { name => 'warning_http_status' },
|
'warning-http-status:s' => { name => 'warning_http_status' },
|
||||||
'critical-http-status:s' => { name => 'critical_http__status' },
|
'critical-http-status:s' => { name => 'critical_http_status' },
|
||||||
'warning-system-status:s' => { name => 'warning_system_status', default => '' },
|
'warning-system-status:s' => { name => 'warning_system_status', default => '' },
|
||||||
'critical-system-status:s' => { name => 'critical_system_status', default => '%{system_status} !~ /online/i' },
|
'critical-system-status:s' => { name => 'critical_system_status', default => '%{system_status} !~ /online/i' },
|
||||||
});
|
});
|
||||||
|
|
|
@ -44,6 +44,7 @@ sub custom_memory_output {
|
||||||
$self->{result_values}->{prct_free_absolute});
|
$self->{result_values}->{prct_free_absolute});
|
||||||
return $msg;
|
return $msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub set_counters {
|
sub set_counters {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
|
@ -239,7 +240,7 @@ Can used special variables like: %{status}, %{display}
|
||||||
|
|
||||||
=item B<--warning-*> B<--critical-*>
|
=item B<--warning-*> B<--critical-*>
|
||||||
|
|
||||||
Threshold warning.
|
Thresholds.
|
||||||
Can be: 'cpu', 'clients',
|
Can be: 'cpu', 'clients',
|
||||||
'mem-usage' (B), 'mem-usage-free' (B), 'mem-usage-prct' (%).
|
'mem-usage' (B), 'mem-usage-free' (B), 'mem-usage-prct' (%).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue