From 7b1102c8dc4413bb84737d7acff38eba99ee86f8 Mon Sep 17 00:00:00 2001 From: Thibault S <48209914+thibaults-centreon@users.noreply.github.com> Date: Fri, 19 Mar 2021 10:03:48 +0100 Subject: [PATCH] fix(plugin): Azure FrontDoor help fixes (#2663) --- .../azure/network/frontdoor/mode/backendhealth.pm | 4 ++-- .../cloud/azure/network/frontdoor/mode/health.pm | 10 +++++----- .../cloud/azure/network/frontdoor/mode/latency.pm | 2 +- .../cloud/azure/network/frontdoor/mode/requests.pm | 6 +++--- .../cloud/azure/network/frontdoor/mode/size.pm | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/centreon-plugins/cloud/azure/network/frontdoor/mode/backendhealth.pm b/centreon-plugins/cloud/azure/network/frontdoor/mode/backendhealth.pm index 571ef7ce8..5c3b1cfd1 100644 --- a/centreon-plugins/cloud/azure/network/frontdoor/mode/backendhealth.pm +++ b/centreon-plugins/cloud/azure/network/frontdoor/mode/backendhealth.pm @@ -99,7 +99,7 @@ __END__ =head1 MODE -Check Azure Web FrontDoor backend health. +Check Azure Front Door backend health. Example: @@ -113,7 +113,7 @@ Using resource id : perl centreon_plugins.pl --plugin=cloud::azure::network::frontdoor::plugin --mode=backendhealth --custommode=api --resource='/subscriptions//resourceGroups//providers/Microsoft.Network/frontdoors/' ---aggregation='maximum' --warning-backend-health-percentage='100:' --critical-backend-health-percentage='90:' +--aggregation='average' --warning-backend-health-percentage='100:' --critical-backend-health-percentage='90:' Default aggregation: 'average' / 'minimum', 'maximum' and 'total' are valid. diff --git a/centreon-plugins/cloud/azure/network/frontdoor/mode/health.pm b/centreon-plugins/cloud/azure/network/frontdoor/mode/health.pm index 5de72876c..158adbf86 100644 --- a/centreon-plugins/cloud/azure/network/frontdoor/mode/health.pm +++ b/centreon-plugins/cloud/azure/network/frontdoor/mode/health.pm @@ -39,7 +39,7 @@ __END__ =head1 MODE -Check Azure FrontDoor health status. +Check Azure Front Door health status. =over 8 @@ -54,22 +54,22 @@ Set resource group (Required if resource's name is used). =item B<--warning-status> Set warning threshold for status (Default: ''). -Can used special variables like: %{status}, %{summary} +Special variables that can be used: %{status}, %{summary}. =item B<--critical-status> Set critical threshold for status (Default: '%{status} =~ /^Unavailable$/'). -Can used special variables like: %{status}, %{summary} +Special variables that can be used: %{status}, %{summary}. =item B<--unknown-status> Set unknown threshold for status (Default: '%{status} =~ /^Unknown$/'). -Can used special variables like: %{status}, %{summary} +Special variables that can be used: %{status}, %{summary}. =item B<--ok-status> Set ok threshold for status (Default: '%{status} =~ /^Available$/'). -Can used special variables like: %{status}, %{summary} +Special variables that can be used: %{status}, %{summary}. =back diff --git a/centreon-plugins/cloud/azure/network/frontdoor/mode/latency.pm b/centreon-plugins/cloud/azure/network/frontdoor/mode/latency.pm index ad4fc9131..f5f81ccbb 100644 --- a/centreon-plugins/cloud/azure/network/frontdoor/mode/latency.pm +++ b/centreon-plugins/cloud/azure/network/frontdoor/mode/latency.pm @@ -108,7 +108,7 @@ __END__ =head1 MODE -Check Azure Web FrontDoor latency. +Check Azure Front Door latency. Example: diff --git a/centreon-plugins/cloud/azure/network/frontdoor/mode/requests.pm b/centreon-plugins/cloud/azure/network/frontdoor/mode/requests.pm index ddb5c9455..b4db432fe 100644 --- a/centreon-plugins/cloud/azure/network/frontdoor/mode/requests.pm +++ b/centreon-plugins/cloud/azure/network/frontdoor/mode/requests.pm @@ -116,7 +116,7 @@ __END__ =head1 MODE -Check Azure Web FrontDoor latency. +Check Azure Front Door latency. Example: @@ -124,13 +124,13 @@ Using resource name : perl centreon_plugins.pl --plugin=cloud::azure::network::frontdoor::plugin --mode=requests --custommode=api --resource= --resource-group= --aggregation='total' ---warning-total-requests-count='3000' --critical-total-latency='4000' +--warning-total-requests-count='3000' --critical-total-requests-count='4000' Using resource id : perl centreon_plugins.pl --plugin=cloud::azure::network::frontdoor::plugin --mode=requests --custommode=api --resource='/subscriptions//resourceGroups//providers/Microsoft.Network/frontdoors/' ---aggregation='total' --warning-total-requests-count='3000' --critical-total-latency='4000' +--aggregation='total' --warning-total-requests-count='3000' --critical-total-requests-count='4000' Default aggregation: 'total' / 'minimum', 'maximum' and 'average' are valid. diff --git a/centreon-plugins/cloud/azure/network/frontdoor/mode/size.pm b/centreon-plugins/cloud/azure/network/frontdoor/mode/size.pm index 77c093da6..272a8d14d 100644 --- a/centreon-plugins/cloud/azure/network/frontdoor/mode/size.pm +++ b/centreon-plugins/cloud/azure/network/frontdoor/mode/size.pm @@ -116,7 +116,7 @@ __END__ =head1 MODE -Check Azure Web FrontDoor requests size. +Check Azure Front Door requests size. Example: