From 0422b81d1520673b5637f07672fc577675fca1c5 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 6 Aug 2020 11:13:17 +0200 Subject: [PATCH] fix datastore snapshot --- .../apps/vmware/connector/mode/datastoresnapshot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/apps/vmware/connector/mode/datastoresnapshot.pm b/centreon-plugins/apps/vmware/connector/mode/datastoresnapshot.pm index 6fbc19a9e..2bc8f6f6f 100644 --- a/centreon-plugins/apps/vmware/connector/mode/datastoresnapshot.pm +++ b/centreon-plugins/apps/vmware/connector/mode/datastoresnapshot.pm @@ -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; }