diff --git a/centreon-plugins/cloud/azure/network/cdn/mode/requests.pm b/centreon-plugins/cloud/azure/network/cdn/mode/requests.pm index d6439b602..ee98d6c30 100644 --- a/centreon-plugins/cloud/azure/network/cdn/mode/requests.pm +++ b/centreon-plugins/cloud/azure/network/cdn/mode/requests.pm @@ -93,7 +93,7 @@ sub check_options { $self->{az_resource_namespace} = 'Microsoft.Cdn'; $self->{az_timeframe} = defined($self->{option_results}->{timeframe}) ? $self->{option_results}->{timeframe} : 900; $self->{az_interval} = defined($self->{option_results}->{interval}) ? $self->{option_results}->{interval} : 'PT5M'; - $self->{az_aggregations} = ['Count']; + $self->{az_aggregations} = ['Total']; if (defined($self->{option_results}->{aggregation})) { $self->{az_aggregations} = []; foreach my $stat (@{$self->{option_results}->{aggregation}}) { @@ -132,7 +132,7 @@ perl centreon_plugins.pl --plugin=cloud::azure::network::cdn::plugin --mode=requ --resource='/subscriptions//resourceGroups//providers/Microsoft.Cdn/profiles/' --aggregation='count' --warning-requests-count='800' --critical-requests-count='900' -Default aggregation: 'count' / 'minimum', 'maximum' and 'total' are valid. +Default aggregation: 'total' / 'minimum', 'maximum', 'count' and 'average' are valid. =over 8