From 110a513b50e91ad56b0d40516d4927f35fed2553 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 17 Jan 2019 16:02:10 +0100 Subject: [PATCH] fix cassandra jmx --- centreon-plugins/database/cassandra/jmx/mode/cachesusage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/database/cassandra/jmx/mode/cachesusage.pm b/centreon-plugins/database/cassandra/jmx/mode/cachesusage.pm index 74913e218..5be004f71 100644 --- a/centreon-plugins/database/cassandra/jmx/mode/cachesusage.pm +++ b/centreon-plugins/database/cassandra/jmx/mode/cachesusage.pm @@ -48,7 +48,7 @@ sub set_counters { { label => 'hits', set => { key_values => [ { name => 'Requests_Count', diff => 1 }, { name => 'Hits_Count', diff => 1 }, { name => 'display' } ], closure_custom_calc => $self->can('custom_hits_calc'), - output_template => 'Hits = %.2f %%', output_use => 'hits_prct', + output_template => 'Hits = %.2f %%', output_use => 'hits_prct', threshold_use => 'prct_used', perfdatas => [ { label => 'hits', value => 'hits_prct', template => '%.2f', min => 0, max => 100, unit => '%' }, ],