Aller au contenu principal

Amazon S3

Prerequisites​

Centreon Plugin​

Install this plugin on each needed poller:

yum install centreon-plugin-Cloud-Aws-S3-Api

To use it, you can either install 'awscli' (AWS Command Line Interface) or 'paws' (Perl AWS SDK).

Install awscli​

On CentOS, install with following commands:

yum install awscli

Centreon Configuration​

Create a new host​

Go to Configuration > Hosts and click Add. Then, fill the form as shown by the following table:

FieldValue
Host nameName of the host
AliasHost description
IPHost IP Address
Monitored fromMonitoring Poller to use
Host Multiple TemplatesCloud-Aws-S3-custom

Click on the Save button.

Host Macro Configuration​

The following macros must be configured on host:

MacroDescriptionDefault value
AWSCUSTOMMODEMode used by plugin (awscli or paws)awscli
AWSSECRETKEYCloudWatch secret key
AWSACCESSKEYCloudWatch access key
AWSREGIONMonitoring region
AWSINSTANCENAMEName of your S3 instance

Click on the Save button.