From 11e455bdf6905a2cfc361d86168c4831312327ef Mon Sep 17 00:00:00 2001 From: Thibault S <48209914+thibaults-centreon@users.noreply.github.com> Date: Wed, 19 May 2021 10:14:23 +0200 Subject: [PATCH] fix metrics case (#2807) --- .../cloud/azure/network/appgateway/mode/clientstraffic.pm | 4 ++-- centreon-plugins/cloud/azure/network/appgateway/mode/units.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/centreon-plugins/cloud/azure/network/appgateway/mode/clientstraffic.pm b/centreon-plugins/cloud/azure/network/appgateway/mode/clientstraffic.pm index 0a11b30c5..a58a86b11 100644 --- a/centreon-plugins/cloud/azure/network/appgateway/mode/clientstraffic.pm +++ b/centreon-plugins/cloud/azure/network/appgateway/mode/clientstraffic.pm @@ -29,14 +29,14 @@ sub get_metrics_mapping { my ($self, %options) = @_; my $metrics_mapping = { - 'BytesReceived' => { + 'bytesreceived' => { 'output' => 'Clients Bytes Received', 'label' => 'clients-bytes-received', 'nlabel' => 'appgateway.traffic.clients.received.bytes', 'unit' => 'B', 'min' => '0' }, - 'BytesSent' => { + 'bytessent' => { 'output' => 'Clients Bytes Sent', 'label' => 'clients-bytes-sent', 'nlabel' => 'appgateway.traffic.clients.sent.bytes', diff --git a/centreon-plugins/cloud/azure/network/appgateway/mode/units.pm b/centreon-plugins/cloud/azure/network/appgateway/mode/units.pm index c71e55cda..979c70fd0 100644 --- a/centreon-plugins/cloud/azure/network/appgateway/mode/units.pm +++ b/centreon-plugins/cloud/azure/network/appgateway/mode/units.pm @@ -50,7 +50,7 @@ sub get_metrics_mapping { 'unit' => '', 'min' => '0' }, - 'FixedBillableCapacityUnits' => { + 'fixedbillablecapacityunits' => { 'output' => 'Fixed Billable Capacity Units', 'label' => 'fixed-billable-units', 'nlabel' => 'appgateway.billable.units.fixed.count',