From b4821657b01abaa5f46bfd88676e210e0c704177 Mon Sep 17 00:00:00 2001 From: matoy Date: Mon, 6 Sep 2021 10:15:58 +0200 Subject: [PATCH] Update requests.pm (#3044) azure-cdn-fix {"code":"BadRequest","message":"Failed to find metric configuration for provider: Microsoft.Cdn, resource Type: profiles, metric: percentage4xx, Valid metrics: RequestCount,ResponseSize,TotalLatency,ByteHitRatio"} {"code":"BadRequest","message":"Failed to find metric configuration for provider: Microsoft.Cdn, resource Type: profiles, metric: percentage5xx, Valid metrics: RequestCount,ResponseSize,TotalLatency,ByteHitRatio"} --- .../cloud/azure/network/cdn/mode/requests.pm | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/centreon-plugins/cloud/azure/network/cdn/mode/requests.pm b/centreon-plugins/cloud/azure/network/cdn/mode/requests.pm index ee98d6c30..09aac1147 100644 --- a/centreon-plugins/cloud/azure/network/cdn/mode/requests.pm +++ b/centreon-plugins/cloud/azure/network/cdn/mode/requests.pm @@ -36,22 +36,6 @@ sub get_metrics_mapping { 'unit' => '', 'min' => '0', 'max' => '' - }, - 'percentage4xx' => { - 'output' => 'Percentage of 4XX', - 'label' => '4xx-requests-percentage', - 'nlabel' => 'cdn.requests.4xx.percentage', - 'unit' => '%', - 'min' => '0', - 'max' => '100' - }, - 'percentage5xx' => { - 'output' => 'Percentage of 5XX', - 'label' => '5xx-requests-percentage', - 'nlabel' => 'cdn.requests.5xx.percentage', - 'unit' => '%', - 'min' => '0', - 'max' => '100' } };