Fix #1474: add unit

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

View File

@ -65,7 +65,7 @@ sub set_counters {
output_change_bytes => 1, output_change_bytes => 1,
perfdatas => [ perfdatas => [
{ label => 'total_write_rate', value => 'write_absolute', template => '%s', { 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, output_change_bytes => 1,
perfdatas => [ perfdatas => [
{ label => 'write_rate', value => 'write_absolute', template => '%s', { label => 'write_rate', value => 'write_absolute', template => '%s',
min => 0, label_extra_instance => 1 }, unit => 'B/s', min => 0, label_extra_instance => 1 },
], ],
} }
}, },