diff --git a/alert-policies/amazon-cloudwatch-network-monitor/HighPacketLoss.yml b/alert-policies/amazon-cloudwatch-network-monitor/HighPacketLoss.yml new file mode 100644 index 0000000000..76ba9108b5 --- /dev/null +++ b/alert-policies/amazon-cloudwatch-network-monitor/HighPacketLoss.yml @@ -0,0 +1,43 @@ +# Name of the alert +name: High Packet Loss + +# Description and details +description: |+ + The latency for successful requests between the time that the request was made and the response was passed back + +# Type of alert +type: STATIC + +# NRQL query +nrql: + query: "SELECT max(`aws.networkmonitor.PacketLoss`) FROM Metric" + +# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE) +valueFunction: SINGLE_VALUE + +# List of Critical and Warning thresholds for the condition +terms: + - priority: CRITICAL + # Operator used to compare against the threshold. + operator: ABOVE + # Value that triggers a violation; float value + threshold: 30 + # Time in seconds; 120 - 3600 + thresholdDuration: 300 + # How many data points must be in violation for the duration + thresholdOccurrences: ALL + + # Adding a Warning threshold is optional + - priority: WARNING + operator: ABOVE + threshold: 20 + thresholdDuration: 300 + thresholdOccurrences: ALL + + +# OPTIONAL: URL of runbook to be sent with notification +runbookUrl: + +# Duration after which a violation automatically closes +# Time in seconds; 300 - 2592000 (Default: 86400 [1 day]) +violationTimeLimitSeconds: 86400 diff --git a/alert-policies/amazon-cloudwatch-network-monitor/Network Unhealthy.yml b/alert-policies/amazon-cloudwatch-network-monitor/Network Unhealthy.yml new file mode 100644 index 0000000000..04ddcd7cb3 --- /dev/null +++ b/alert-policies/amazon-cloudwatch-network-monitor/Network Unhealthy.yml @@ -0,0 +1,38 @@ +# Name of the alert +name: Network Unhealthy + +# Description and details +description: |+ + The Network Health Indicator supports two values – 0 (AWS Network is health) or 1(AWS Network is + Degraded) + +# Type of alert +type: STATIC + +# NRQL query +nrql: + query: "SELECT sum(aws.networkmonitor.PacketLoss) from Metric" + +# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE) +valueFunction: SINGLE_VALUE + +# List of Critical and Warning thresholds for the condition +terms: + - priority: CRITICAL + # Operator used to compare against the threshold. + operator: EQUALS + # Value that triggers a violation; float value + threshold: 1 + # Time in seconds; 120 - 3600 + thresholdDuration: 300 + # How many data points must be in violation for the duration + thresholdOccurrences: ALL + + + +# OPTIONAL: URL of runbook to be sent with notification +runbookUrl: + +# Duration after which a violation automatically closes +# Time in seconds; 300 - 2592000 (Default: 86400 [1 day]) +violationTimeLimitSeconds: 86400 diff --git a/dashboards/amazon-cloudwatch-network-monitor/amazon-cloudwatch-network-monitor.json b/dashboards/amazon-cloudwatch-network-monitor/amazon-cloudwatch-network-monitor.json new file mode 100644 index 0000000000..c9139d1387 --- /dev/null +++ b/dashboards/amazon-cloudwatch-network-monitor/amazon-cloudwatch-network-monitor.json @@ -0,0 +1,175 @@ +{ + "name": "Amazon CloudWatch Network Monitor", + "description": null, + "pages": [ + { + "name": "Amazon CloudWatch Network Monitor", + "description": null, + "widgets": [ + { + "title": "", + "layout": { + "column": 1, + "row": 1, + "width": 3, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.markdown" + }, + "rawConfiguration": { + "text": "# Amazon CloudWatch Network Monitor\nIt is an active network monitoring service to troubleshoot issues in hybrid network connectivity from on-premise to AWS via AWS Direct Connect. Using this real-time data, customers can mitigate the issue quickly by routing the traffic to a redundant healthy path." + } + }, + { + "title": "Network Health", + "layout": { + "column": 4, + "row": 1, + "width": 3, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.billboard" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric select if(sum(aws.networkmonitor.HealthIndicator) = 1, 'Unhealthy', 'Healthy') as 'Status'" + } + ], + "platformOptions": { + "ignoreTimeRange": false + } + } + }, + { + "title": "Overlay Network Performance", + "layout": { + "column": 7, + "row": 1, + "width": 6, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "colors": { + "seriesOverrides": [ + { + "color": "#2bf410", + "seriesName": "Health Indicator" + } + ] + }, + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "FROM Metric select sum(aws.networkmonitor.HealthIndicator) as 'Health Indicator' TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Round Trip Latency", + "layout": { + "column": 1, + "row": 3, + "width": 12, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "select min(aws.networkmonitor.RTT) as 'Minimum Latency',max(aws.networkmonitor.RTT) as 'Maximum Latency',average(aws.networkmonitor.RTT) as 'Average Latency' from Metric where metricName = 'aws.networkmonitor.RTT' TIMESERIES AUTO facet aws.networkmonitor.Monitor" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "units": { + "unit": "MS" + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + }, + { + "title": "Packet Loss (%)", + "layout": { + "column": 1, + "row": 5, + "width": 12, + "height": 2 + }, + "linkedEntityGuids": null, + "visualization": { + "id": "viz.line" + }, + "rawConfiguration": { + "facet": { + "showOtherSeries": false + }, + "legend": { + "enabled": true + }, + "nrqlQueries": [ + { + "accountIds": [], + "query": "SELECT max(`aws.networkmonitor.PacketLoss`) FROM Metric FACET aws.networkmonitor.Monitor TIMESERIES AUTO" + } + ], + "platformOptions": { + "ignoreTimeRange": false + }, + "yAxisLeft": { + "zero": true + }, + "yAxisRight": { + "zero": true + } + } + } + ] + } + ], + "variables": [] +} \ No newline at end of file diff --git a/dashboards/amazon-cloudwatch-network-monitor/amazon-cloudwatch-network-monitor.png b/dashboards/amazon-cloudwatch-network-monitor/amazon-cloudwatch-network-monitor.png new file mode 100644 index 0000000000..ee036b8364 Binary files /dev/null and b/dashboards/amazon-cloudwatch-network-monitor/amazon-cloudwatch-network-monitor.png differ diff --git a/data-sources/amazon-cloudwatch-network-monitor/config.yml b/data-sources/amazon-cloudwatch-network-monitor/config.yml new file mode 100644 index 0000000000..1b3be5a76b --- /dev/null +++ b/data-sources/amazon-cloudwatch-network-monitor/config.yml @@ -0,0 +1,8 @@ +id: amazon-cloudwatch-network-monitor +displayName: Amazon CloudWatch Network Monitor +description: Monitor hybrid network by Amazon CloudWatch Network Monitor +install: + primary: + link: + url: https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/amazon-cloudwatch-network-monitor +icon: logo.svg \ No newline at end of file diff --git a/data-sources/amazon-cloudwatch-network-monitor/logo.svg b/data-sources/amazon-cloudwatch-network-monitor/logo.svg new file mode 100644 index 0000000000..b933e4da9b --- /dev/null +++ b/data-sources/amazon-cloudwatch-network-monitor/logo.svg @@ -0,0 +1 @@ +Amazon-CloudWatch_light-bg \ No newline at end of file diff --git a/quickstarts/aws/amazon-cloudwatch-network-monitor/config.yml b/quickstarts/aws/amazon-cloudwatch-network-monitor/config.yml new file mode 100644 index 0000000000..b511a4a45a --- /dev/null +++ b/quickstarts/aws/amazon-cloudwatch-network-monitor/config.yml @@ -0,0 +1,31 @@ +slug: amazon-cloudwatch-network-monitor +description: |- + ## Monitor your Amazon CloudWatch Network Monitor Metrics + + With New Relic's Amazon CloudWatch Network Monitor integration, you now can monitor whether network impairment lies within the AWS network or the customer’s network + + ### Get started! + + Check out the [documentation](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/amazon-cloudwatch-network-monitor/) to learn more about New + Relic monitoring and integration with Amazon CloudWatch Network Monitor. + +summary: Use New Relic - Amazon CloudWatch Network Monitor Integration to troubleshoot issues in hybrid network connectivity +icon: logo.svg +level: New Relic +authors: + - New Relic +title: Amazon CloudWatch Network Monitor +documentation: + - name: Amazon CloudWatch Network Monitor installation docs + description: | + Monitor hybrid networks by monitoring with Amazon CloudWatch Network Monitor + url: https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/amazon-cloudwatch-network-monitor/ +keywords: + - aws + - amazon web services + - Amazon CloudWatch Network Monitor + - active network monitoring +dataSourceIds: + - amazon-cloudwatch-network-monitor +dashboards: + - amazon-cloudwatch-network-monitor \ No newline at end of file diff --git a/quickstarts/aws/amazon-cloudwatch-network-monitor/logo.svg b/quickstarts/aws/amazon-cloudwatch-network-monitor/logo.svg new file mode 100644 index 0000000000..b933e4da9b --- /dev/null +++ b/quickstarts/aws/amazon-cloudwatch-network-monitor/logo.svg @@ -0,0 +1 @@ +Amazon-CloudWatch_light-bg \ No newline at end of file