mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
fix volume options snmp netapp
This commit is contained in:
parent
ebeac3d25d
commit
b95c6468fd
@ -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…
x
Reference in New Issue
Block a user