Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ev2900/opensearch_cloudwatch_alarms

CloudFormation stack automating the deployment of recomended cloudwatch alarms for OpenSearch
https://github.com/ev2900/opensearch_cloudwatch_alarms

aws cloudwatch cloudwatch-alarms opensearch

Last synced: about 2 months ago
JSON representation

CloudFormation stack automating the deployment of recomended cloudwatch alarms for OpenSearch

Awesome Lists containing this project

README

        

# OpenSearch CloudWatch Alarms

map-user map-user map-user

Deploying the CloudFormation Stack in this repository will create CloudWatch Alarms - that will trigger email alerts via. SNS notification - for the metrics documented in the table below.

To deploy the CloudWatch alarms click the button

[![Launch CloudFormation Stack](https://sharkech-public.s3.amazonaws.com/misc-public/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home#/stacks/new?stackName=open-search-cloudwatch-alarms&templateURL=https://sharkech-public.s3.amazonaws.com/misc-public/OpenSearch_cloudwatch_alarms.yaml)

When prompted by CloudFormation enter the name of the OpenSearch domain to monitor and the email address you want notifications to be send to

[AWS documention](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cloudwatch-alarms.html) recomends these CloudWatch alarms as a means of monitoring an OpenSearch domain

| Metric name | Statistic | Period (second) | ComparisonOperator | Threshold | EvaluationPeriods |
|--------------------------------|-----------|-----------------| ------------------------------|-----------|-------------------|
| ClusterStatus.red | Maximum | 60 | GreaterThanOrEqualToThreshold | 1 | 1 |
| ClusterStatus.yellow | Maximum | 60 | GreaterThanOrEqualToThreshold | 1 | 5 |
| FreeStorageSpace | Minimum | 60 | LessThanOrEqualToThreshold | 20480 | 1 |
| ClusterIndexWritesBlocked | Maximum | 300 | GreaterThanOrEqualToThreshold | 1 | 1 |
| AutomatedSnapshotFailure | Maximum | 60 | GreaterThanOrEqualToThreshold | 1 | 1 |
| CPUUtilization | Maximum | 900 | GreaterThanOrEqualToThreshold | 80 | 3 |
| JVMMemoryPressure | Maximum | 60 | GreaterThanOrEqualToThreshold | 95 | 3 |
| OldGenJVMMemoryPressure | Maximum | 60 | GreaterThanOrEqualToThreshold | 80 | 3 |
| MasterCPUUtilization | Maximum | 900 | GreaterThanOrEqualToThreshold | 50 | 3 |
| MasterJVMMemoryPressure | Maximum | 60 | GreaterThanOrEqualToThreshold | 95 | 3 |
| MasterOldGenJVMMemoryPressure | Maximum | 60 | GreaterThanOrEqualToThreshold | 80 | 3 |
| KMSKeyError | Maximum | 60 | GreaterThanOrEqualToThreshold | 1 | 1 |
| KMSKeyInaccessible | Maximum | 60 | GreaterThanOrEqualToThreshold | 1 | 1 |
| Shards.active | Maximum | 60 | GreaterThanOrEqualToThreshold | 30000 | 1 |
| MasterReachableFromNode | Maximum | 86400 | LessThanThreshold | 1 | 1 |
| ThreadpoolWriteQueue | Average | 60 | GreaterThanOrEqualToThreshold | 100 | 1 |
| ThreadpoolSearchQueue | Average | 60 | GreaterThanOrEqualToThreshold | 500 | 1 |
| ThreadpoolSearchQueue | Maximum | 60 | GreaterThanOrEqualToThreshold | 5000 | 1 |
| ThreadpoolWriteRejected | Maximum | 60 | GreaterThanOrEqualToThreshold | 1 | 1 |
| ThreadpoolSearchRejected | Maximum | 60 | GreaterThanOrEqualToThreshold | 1 | 1 |
| Nodes | Minimum | 86400 | LessThanThreshold | 1 | 1 |