fix volume options snmp netapp

This commit is contained in:
garnier-quentin 2019-02-20 13:08:48 +01:00
parent 75b78bce5b
commit e2aea8d72b
1 changed files with 2 additions and 2 deletions

View File

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