From 5e44d568ef2029ac09bd2b51505eb4d890b6b0b9 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Thu, 13 Oct 2022 09:58:05 +0200 Subject: [PATCH] (plugin) apps::ceph::restapi - mode pools fix metrics (#3986) --- centreon-plugins/apps/ceph/restapi/mode/pools.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/centreon-plugins/apps/ceph/restapi/mode/pools.pm b/centreon-plugins/apps/ceph/restapi/mode/pools.pm index ae8ea3e28..84762e203 100644 --- a/centreon-plugins/apps/ceph/restapi/mode/pools.pm +++ b/centreon-plugins/apps/ceph/restapi/mode/pools.pm @@ -101,7 +101,7 @@ sub set_counters { output_template => 'read: %s %s/s', output_change_bytes => 1, perfdatas => [ - { template => '%d', unit => 'B/s' } + { template => '%d', unit => 'B/s', label_extra_instance => 1 } ] } }, @@ -110,7 +110,7 @@ sub set_counters { output_template => 'write: %s %s/s', output_change_bytes => 1, perfdatas => [ - { template => '%d', unit => 'B/s', min => 0 } + { template => '%d', unit => 'B/s', min => 0, label_extra_instance => 1 } ] } }