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 1 year ago
JSON representation
CloudFormation stack automating the deployment of recomended cloudwatch alarms for OpenSearch
- Host: GitHub
- URL: https://github.com/ev2900/opensearch_cloudwatch_alarms
- Owner: ev2900
- Created: 2022-04-29T14:06:27.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-30T01:11:21.000Z (about 1 year ago)
- Last Synced: 2025-03-30T02:19:17.288Z (about 1 year ago)
- Topics: aws, cloudwatch, cloudwatch-alarms, opensearch
- Homepage:
- Size: 164 KB
- Stars: 22
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenSearch CloudWatch Alarms

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
[](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 |