fix(plugin): fix aws vpn
This commit is contained in:
parent
cd39bc261a
commit
93b87f2b4e
|
@ -187,7 +187,7 @@ sub set_counters {
|
|||
closure_custom_perfdata => ($metric =~ /State/) ? $self->can('custom_metric_perfdata_state') : $self->can('custom_metric_perfdata'),
|
||||
closure_custom_threshold_check => $self->can('custom_metric_threshold'),
|
||||
}
|
||||
}
|
||||
};
|
||||
push @{$self->{maps_counters}->{statistics}}, $entry;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,8 +32,7 @@ sub new {
|
|||
$self->{version} = '1.0';
|
||||
%{ $self->{modes} } = (
|
||||
'traffic' => 'cloud::aws::vpn::mode::traffic',
|
||||
'listvpn' => 'cloud::aws::vpn::mode::listvpn',
|
||||
'discovery' => 'cloud::aws::vpn::mode::discovery'
|
||||
'listvpn' => 'cloud::aws::vpn::mode::listvpn'
|
||||
);
|
||||
|
||||
$self->{custom_modes}{paws} = 'cloud::aws::custom::paws';
|
||||
|
|
Loading…
Reference in New Issue