From e5b222d96a9cf1fc169ae0eeea150fe86a0d25f1 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 30 Jun 2020 15:33:00 +0200 Subject: [PATCH] fix metrics --- storage/netapp/santricity/restapi/mode/storagevolumes.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/netapp/santricity/restapi/mode/storagevolumes.pm b/storage/netapp/santricity/restapi/mode/storagevolumes.pm index 09fb80de1..d8557980f 100644 --- a/storage/netapp/santricity/restapi/mode/storagevolumes.pm +++ b/storage/netapp/santricity/restapi/mode/storagevolumes.pm @@ -92,7 +92,7 @@ sub set_counters { ] } }, - { label => 'read-iops', nlabel => 'system.io.read.usage.iops', set => { + { label => 'read-iops', nlabel => 'volume.io.read.usage.iops', set => { key_values => [ { name => 'read_iops', per_second => 1 }, { name => 'display' } ], output_template => 'read: %.2f iops', perfdatas => [ @@ -100,7 +100,7 @@ sub set_counters { ] } }, - { label => 'write-iops', nlabel => 'system.io.write.usage.iops', set => { + { label => 'write-iops', nlabel => 'volume.io.write.usage.iops', set => { key_values => [ { name => 'write_iops', per_second => 1 }, { name => 'display' } ], output_template => 'write: %.2f iops', perfdatas => [