Fix #1474: add unit

This commit is contained in:
garnier-quentin 2019-04-11 10:58:30 +02:00
parent e260c66751
commit f7c10e0e42
1 changed files with 2 additions and 2 deletions

View File

@ -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 },
],
}
},