fix volume options snmp netapp
This commit is contained in:
parent
75b78bce5b
commit
e2aea8d72b
|
@ -56,11 +56,11 @@ sub set_counters {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
$self->{maps_counters_type} = [
|
$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 },
|
{ name => 'global', type => 0 },
|
||||||
];
|
];
|
||||||
|
|
||||||
$self->{maps_counters}->{volume} = [
|
$self->{maps_counters}->{volumes} = [
|
||||||
{ label => 'status', threshold => 0, set => {
|
{ label => 'status', threshold => 0, set => {
|
||||||
key_values => [ { name => 'status' }, { name => 'display' } ],
|
key_values => [ { name => 'status' }, { name => 'display' } ],
|
||||||
output_template => "status is '%s'",
|
output_template => "status is '%s'",
|
||||||
|
|
Loading…
Reference in New Issue