fix datastore snapshot
This commit is contained in:
parent
b8afa9fd39
commit
0ef6b3d7bc
|
@ -73,7 +73,7 @@ sub set_counters {
|
||||||
|
|
||||||
$self->{maps_counters}->{files} = [
|
$self->{maps_counters}->{files} = [
|
||||||
{ label => 'snapshot', nlabel => 'datastore.snapshot.usage.bytes', set => {
|
{ label => 'snapshot', nlabel => 'datastore.snapshot.usage.bytes', set => {
|
||||||
key_values => [ { name => 'total' } ]
|
key_values => [ { name => 'total' } ],
|
||||||
output_template => '[size = %s %s]',
|
output_template => '[size = %s %s]',
|
||||||
output_change_bytes => 1,
|
output_change_bytes => 1,
|
||||||
closure_custom_perfdata => sub { return 0; }
|
closure_custom_perfdata => sub { return 0; }
|
||||||
|
|
Loading…
Reference in New Issue