From 5f8ac3eba0c46d64b5142b6d2a07bb6550bdf2d0 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 17 Nov 2016 17:30:16 +0100 Subject: [PATCH] + add option to not check memory state --- apps/vmware/connector/mode/memoryhost.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/vmware/connector/mode/memoryhost.pm b/apps/vmware/connector/mode/memoryhost.pm index 09964fecd..c6a2781c7 100644 --- a/apps/vmware/connector/mode/memoryhost.pm +++ b/apps/vmware/connector/mode/memoryhost.pm @@ -42,6 +42,7 @@ sub new { "critical:s" => { name => 'critical' }, "warning-state:s" => { name => 'warning_state' }, "critical-state:s" => { name => 'critical_state' }, + "no-memory-state" => { name => 'no_memory_state' }, }); return $self; } @@ -120,6 +121,10 @@ Threshold warning. 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 =cut