fix aws rds unit

This commit is contained in:
garnier-quentin 2020-07-21 17:42:02 +02:00
parent 4263c6b773
commit 191b687948
1 changed files with 1 additions and 1 deletions

View File

@ -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' }