From 6bb29320b1728d9ef0df0a3fd765dc6afcd5d37c Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 11 Apr 2019 10:58:30 +0200 Subject: [PATCH] Fix #1474: add unit --- apps/vmware/connector/mode/datastoreio.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/vmware/connector/mode/datastoreio.pm b/apps/vmware/connector/mode/datastoreio.pm index 472db9d54..b6b61555c 100644 --- a/apps/vmware/connector/mode/datastoreio.pm +++ b/apps/vmware/connector/mode/datastoreio.pm @@ -65,7 +65,7 @@ sub set_counters { output_change_bytes => 1, perfdatas => [ { label => 'total_write_rate', value => 'write_absolute', template => '%s', - min => 0 }, + unit => 'B/s', min => 0 }, ], } }, @@ -96,7 +96,7 @@ sub set_counters { output_change_bytes => 1, perfdatas => [ { label => 'write_rate', value => 'write_absolute', template => '%s', - min => 0, label_extra_instance => 1 }, + unit => 'B/s', min => 0, label_extra_instance => 1 }, ], } },