mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
fix(mode): fix interval on mode status (#2814)
This commit is contained in:
parent
53e5265e08
commit
011ac501fc
@ -75,7 +75,7 @@ sub check_options {
|
|||||||
$self->{az_resource_type} = 'sites';
|
$self->{az_resource_type} = 'sites';
|
||||||
$self->{az_resource_namespace} = 'Microsoft.Web';
|
$self->{az_resource_namespace} = 'Microsoft.Web';
|
||||||
$self->{az_timeframe} = defined($self->{option_results}->{timeframe}) ? $self->{option_results}->{timeframe} : 900;
|
$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} : 'PT6H';
|
$self->{az_interval} = defined($self->{option_results}->{interval}) ? $self->{option_results}->{interval} : 'PT5M';
|
||||||
$self->{az_aggregations} = ['Average'];
|
$self->{az_aggregations} = ['Average'];
|
||||||
if (defined($self->{option_results}->{aggregation})) {
|
if (defined($self->{option_results}->{aggregation})) {
|
||||||
$self->{az_aggregations} = [];
|
$self->{az_aggregations} = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user