The purpose of this document is to show how to set up a check using the AWS_Paas_CloudWatch service template.
To do this you will need to create a dedicated monitoring account on AWS and add the API key and region to ServiceNav. Refer to this documentation page: adding a ServiceNav user in AWS
Each Amazon service publishes metrics to the CloudWatch service.
Our AWS plugin allows you to retrieve any metric present in CloudWatch.
To monitor a metric from ServiceNav add a service based on the AWS-PaaS-Cloudwatch service template.
In the "Availability and checks" tab, configure as follows:
- Metric name : indicate the same name as in Cloudwatch (in blue in the following figure).
- Aggregation type : By default Average; SampleCount, maximum and minimum values allow to check the data returned by AWS in the event of a problem.
- Period : Allows you to modify the period over which the plugin will search for data. By default the plugin searches for data over 15 minutes with a precision of 5 minutes.
- Dimensions The list of dimensions to identify a metric.
- a dimension comprises a pair: (in red on the screenshot) and value (in green on the screenshot).
- the format of a dimension is Name=$Dimension_name,Value=$Dimension_value
- it is possible to specify several dimensions by separating them by semicolons.
- no quotes are permitted in dimensions.
- Namespace : namespaces created by AWS are of the form AWS/$service_Name (in black on the screenshot).
To get this screen you have to go to cloudwatch then select the metrics tab, navigate through the metrics and select the metric you want to monitor from the all metrics tab:
Once the metric is selected go to the "source" tab to get the information.
ServiceNav configuration example :
You can find documentation specific to AWC costs monitoring on this page: AWS costs monitoring