(plugin) network::cisco::wlc::snmp - mode ap-status display perfdata e… (#4644)

This commit is contained in:
qgarnier 2023-09-07 15:19:27 +02:00 committed by GitHub
parent cf2fa4366b
commit c80ef88905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,12 +41,6 @@ sub custom_radio_channel_util_calc {
return 0;
}
sub skip_global {
my ($self, %options) = @_;
scalar(keys %{$self->{ap}}) == 1 ? return(1) : return(0);
}
sub prefix_global_output {
my ($self, %options) = @_;
@ -75,7 +69,7 @@ sub set_counters {
my ($self, %options) = @_;
$self->{maps_counters_type} = [
{ name => 'global', type => 0, cb_prefix_output => 'prefix_global_output', cb_init => 'skip_global', },
{ name => 'global', type => 0, cb_prefix_output => 'prefix_global_output' },
{ name => 'ap', type => 3, cb_prefix_output => 'prefix_ap_output', cb_long_output => 'ap_long_output', indent_long_output => ' ', message_multiple => 'All access points are ok',
group => [
{ name => 'ap_global', type => 0 },