From e2aea8d72b1c9611f7fa76cc1cdd712edbe2340f Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 20 Feb 2019 13:08:48 +0100 Subject: [PATCH] fix volume options snmp netapp --- storage/netapp/snmp/mode/volumeoptions.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/netapp/snmp/mode/volumeoptions.pm b/storage/netapp/snmp/mode/volumeoptions.pm index eea0e2613..11aff5308 100644 --- a/storage/netapp/snmp/mode/volumeoptions.pm +++ b/storage/netapp/snmp/mode/volumeoptions.pm @@ -56,11 +56,11 @@ sub set_counters { my ($self, %options) = @_; $self->{maps_counters_type} = [ - { name => 'volume', type => 1, cb_prefix_output => 'prefix_volume_output', message_multiple => 'All volume options are ok' }, + { name => 'volumes', type => 1, cb_prefix_output => 'prefix_volume_output', message_multiple => 'All volume options are ok' }, { name => 'global', type => 0 }, ]; - $self->{maps_counters}->{volume} = [ + $self->{maps_counters}->{volumes} = [ { label => 'status', threshold => 0, set => { key_values => [ { name => 'status' }, { name => 'display' } ], output_template => "status is '%s'",