From f4249d2e0221b0bc6067fa4e74d2d2372928f7b4 Mon Sep 17 00:00:00 2001 From: Sims24 Date: Thu, 18 Apr 2019 10:34:54 +0200 Subject: [PATCH] fix typo --- centreon-plugins/database/mysql/mode/queries.pm | 4 ++-- centreon-plugins/network/arista/snmp/mode/memory.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/centreon-plugins/database/mysql/mode/queries.pm b/centreon-plugins/database/mysql/mode/queries.pm index 1b40cb92b..1d8468fa4 100644 --- a/centreon-plugins/database/mysql/mode/queries.pm +++ b/centreon-plugins/database/mysql/mode/queries.pm @@ -34,7 +34,7 @@ sub set_counters { ]; $self->{maps_counters}->{global} = [ - { label => 'total', nlabel => 'queries.perseconds', set => { + { label => 'total', nlabel => 'queries.persecond', set => { key_values => [ { name => 'Queries', diff => 1 } ], per_second => 1, output_template => 'Total : %d', @@ -48,7 +48,7 @@ sub set_counters { foreach ('update', 'delete', 'insert', 'truncate', 'select', 'commit', 'begin') { push @{$self->{maps_counters}->{global}}, { - label => $_, nlabel => 'queries.' . $_ . '.perseconds', display_ok => 0, set => { + label => $_, nlabel => 'queries.' . $_ . '.persecond', display_ok => 0, set => { key_values => [ { name => 'Com_' . $_, diff => 1 } ], per_second => 1, output_template => $_ . ' : %d', diff --git a/centreon-plugins/network/arista/snmp/mode/memory.pm b/centreon-plugins/network/arista/snmp/mode/memory.pm index 6f22b8cbf..c2ca16b32 100644 --- a/centreon-plugins/network/arista/snmp/mode/memory.pm +++ b/centreon-plugins/network/arista/snmp/mode/memory.pm @@ -39,7 +39,7 @@ sub set_counters { ]; $self->{maps_counters}->{storage} = [ - { label => 'usage', nlabel => 'memory.usage.butes', set => { + { label => 'usage', nlabel => 'memory.usage.bytes', set => { key_values => [ { name => 'display' }, { name => 'used' }, { name => 'size' }, { name => 'allocation_units' } ], closure_custom_calc => $self->can('custom_usage_calc'), closure_custom_output => $self->can('custom_usage_output'),