From c4ddf380ed325c96aa98f98200cde62d5aaa0ad4 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Thu, 1 Jul 2021 15:17:58 +0200 Subject: [PATCH] fix(vmware/connector): status-host mode - wrong default threshold (#2919) --- apps/vmware/connector/mode/statushost.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/vmware/connector/mode/statushost.pm b/apps/vmware/connector/mode/statushost.pm index 8def03f3e..bbf6bb5a4 100644 --- a/apps/vmware/connector/mode/statushost.pm +++ b/apps/vmware/connector/mode/statushost.pm @@ -54,7 +54,7 @@ sub set_counters { $self->{maps_counters}->{host} = [ { - label => 'status', type => 2, unknow_default => '%{status} !~ /^connected$/i', + label => 'status', type => 2, unknown_default => '%{status} !~ /^connected$/i', set => { key_values => [ { name => 'state' } ], closure_custom_calc => $self->can('custom_status_calc'),