From 17d5a5a6eb870aba05d95e1d4bd06f1d50158ac4 Mon Sep 17 00:00:00 2001 From: itoussies <65223458+itoussies@users.noreply.github.com> Date: Thu, 10 Jun 2021 19:34:35 +0200 Subject: [PATCH] Update and rename request.pm to requests.pm --- cloud/azure/network/cdn/mode/{request.pm => requests.pm} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename cloud/azure/network/cdn/mode/{request.pm => requests.pm} (96%) diff --git a/cloud/azure/network/cdn/mode/request.pm b/cloud/azure/network/cdn/mode/requests.pm similarity index 96% rename from cloud/azure/network/cdn/mode/request.pm rename to cloud/azure/network/cdn/mode/requests.pm index 8b02ce792..d6439b602 100644 --- a/cloud/azure/network/cdn/mode/request.pm +++ b/cloud/azure/network/cdn/mode/requests.pm @@ -31,7 +31,7 @@ sub get_metrics_mapping { my $metrics_mapping = { 'requestcount' => { 'output' => 'Request count', - 'label' => 'request-count', + 'label' => 'requests-count', 'nlabel' => 'cdn.requests.count', 'unit' => '', 'min' => '0', @@ -124,13 +124,13 @@ Using resource name : perl centreon_plugins.pl --plugin=cloud::azure::network::cdn::plugin --mode=requests --custommode=api --resource= --resource-group= --aggregation='count' ---warning-request-count='2000' --critical-request-count='3000' +--warning-requests-count='2000' --critical-requests-count='3000' Using resource id : perl centreon_plugins.pl --plugin=cloud::azure::network::cdn::plugin --mode=requests --custommode=api --resource='/subscriptions//resourceGroups//providers/Microsoft.Cdn/profiles/' ---aggregation='count' --warning-request-count='800' --critical-request-count='900' +--aggregation='count' --warning-requests-count='800' --critical-requests-count='900' Default aggregation: 'count' / 'minimum', 'maximum' and 'total' are valid.