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.