This commit is contained in:
garnier-quentin 2019-07-04 16:17:09 +02:00
parent 747a790cff
commit 617d43a31f
2 changed files with 3 additions and 2 deletions

View File

@ -180,7 +180,7 @@ sub new {
'timeout:s' => { name => 'timeout' },
'unknown-http-status:s' => { name => 'unknown_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 => '' },
'critical-system-status:s' => { name => 'critical_system_status', default => '%{system_status} !~ /online/i' },
});

View File

@ -44,6 +44,7 @@ sub custom_memory_output {
$self->{result_values}->{prct_free_absolute});
return $msg;
}
sub set_counters {
my ($self, %options) = @_;
@ -239,7 +240,7 @@ Can used special variables like: %{status}, %{display}
=item B<--warning-*> B<--critical-*>
Threshold warning.
Thresholds.
Can be: 'cpu', 'clients',
'mem-usage' (B), 'mem-usage-free' (B), 'mem-usage-prct' (%).