#!/usr/bin/env perl
#
# Copyright 2005 - 2010 Centreon (https://www.centreon.com/)
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# For more information : contact@centreon.com
#

use warnings;
use centreon::anomalydetection::anomalydetection;

centreon::anomalydetection::anomalydetection->new()->run();

__END__

=head1 NAME

anomaly_detection - a tool/script to send historical data on Centreon Cloud service

=head1 SYNOPSIS

anomaly_detection [options]

=head1 OPTIONS

=over 8

=item B<--list-services>

List Centreon Anomaly Detection services

=item B<--seasonality>

Calculate seasonality and stability of metrics

=item B<--send-history> <value>

Send historical data on Centreon Cloud service of the specific service ID

=item B<--history-period> <value>

The hitorical period to send data, by default 4w.
The value must be a number (X) of days (Xd), a number of weeks (Xw) or a number of months (Xm)

=item B<--from-period> <value>

Starting day (in epoch time)  for sending hitorical data

=item B<--to-period> <value>

Stoping day (in epoch time)  for sending hitorical data

=head1 DESCRIPTION

B<anomaly_detection> a tool/script to send historical data on Centreon Cloud service

=cut