fix datastore snapshot

This commit is contained in:
garnier-quentin 2020-08-06 11:13:17 +02:00
parent b8afa9fd39
commit 0ef6b3d7bc
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ sub set_counters {
$self->{maps_counters}->{files} = [
{ label => 'snapshot', nlabel => 'datastore.snapshot.usage.bytes', set => {
key_values => [ { name => 'total' } ]
key_values => [ { name => 'total' } ],
output_template => '[size = %s %s]',
output_change_bytes => 1,
closure_custom_perfdata => sub { return 0; }