From 191b687948ffcf8b09e4966942c44c8909a0a600 Mon Sep 17 00:00:00 2001 From: garnier-quentin <garnier.quentin@gmail.com> Date: Tue, 21 Jul 2020 17:42:02 +0200 Subject: [PATCH] fix aws rds unit --- cloud/aws/rds/mode/storage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/aws/rds/mode/storage.pm b/cloud/aws/rds/mode/storage.pm index 1016a0055..3a64ff0d2 100644 --- a/cloud/aws/rds/mode/storage.pm +++ b/cloud/aws/rds/mode/storage.pm @@ -49,7 +49,7 @@ sub set_counters { label => lc($metric) . '-' . lc($statistic), set => { key_values => [ { name => $metric . '_' . $statistic }, { name => 'display' }, { name => 'type' }, { name => 'stat' } ], output_template => $metric . ': %.2f %s', - output_change_bytes => 2, + output_change_bytes => 1, perfdatas => [ { label => lc($metric) . '_' . lc($statistic), value => $metric . '_' . $statistic , template => '%s', unit => 'B', min => 0, label_extra_instance => 1, instance_use => 'display' }