fix(vmware/connector): status-host mode - wrong default threshold (#2919)

This commit is contained in:
qgarnier 2021-07-01 15:17:58 +02:00 committed by GitHub
parent f6f163c935
commit c4ddf380ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'),