+ add option to not check memory state

This commit is contained in:
garnier-quentin 2016-11-17 17:30:16 +01:00
parent 00d6ace975
commit 5f8ac3eba0

View File

@ -42,6 +42,7 @@ sub new {
"critical:s" => { name => 'critical' }, "critical:s" => { name => 'critical' },
"warning-state:s" => { name => 'warning_state' }, "warning-state:s" => { name => 'warning_state' },
"critical-state:s" => { name => 'critical_state' }, "critical-state:s" => { name => 'critical_state' },
"no-memory-state" => { name => 'no_memory_state' },
}); });
return $self; return $self;
} }
@ -120,6 +121,10 @@ Threshold warning. For state != 'high': --warning-state=0
Threshold critical. For state != 'high': --warning-state=0 Threshold critical. For state != 'high': --warning-state=0
=item B<--no-memory-state>
Don't check memory state.
=back =back
=cut =cut