From a6e7b1cfec901ecf21a0f72a5c9c2774ab1392ae Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 12 Sep 2019 13:57:49 +0200 Subject: [PATCH] fix perfdata --- centreon-plugins/apps/citrix/local/mode/license.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/centreon-plugins/apps/citrix/local/mode/license.pm b/centreon-plugins/apps/citrix/local/mode/license.pm index f83a69a40..468ad4d64 100644 --- a/centreon-plugins/apps/citrix/local/mode/license.pm +++ b/centreon-plugins/apps/citrix/local/mode/license.pm @@ -51,8 +51,7 @@ sub set_counters { key_values => [ { name => 'used' }, { name => 'free' }, { name => 'prct_used' }, { name => 'prct_free' }, { name => 'total' } ], closure_custom_output => $self->can('custom_license_output'), perfdatas => [ - { label => 'mem_used', value => 'used_absolute', template => '%d', min => 0, max => 'total_absolute', - unit => 'B', cast_int => 1 }, + { value => 'used_absolute', template => '%d', min => 0, max => 'total_absolute' }, ], } }, @@ -60,7 +59,7 @@ sub set_counters { key_values => [ { name => 'free' }, { name => 'used' }, { name => 'prct_used' }, { name => 'prct_free' }, { name => 'total' } ], closure_custom_output => $self->can('custom_license_output'), perfdatas => [ - { value => 'free_absolute', template => '%d', min => 0, max => 'total_absolute', cast_int => 1 }, + { value => 'free_absolute', template => '%d', min => 0, max => 'total_absolute' }, ], } },