Skip to content

Commit

Permalink
Merge pull request #2308 from newrelic/release
Browse files Browse the repository at this point in the history
Release PR
  • Loading branch information
mickeyryan42 authored Feb 29, 2024
2 parents ea90545 + eeb7456 commit 3db467c
Show file tree
Hide file tree
Showing 23 changed files with 761 additions and 11 deletions.
34 changes: 34 additions & 0 deletions alert-policies/aws-network-firewall/HighRejectedPackets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: High Rejected Packets

description: |+
This alert is triggered if the number of Rejected Packets exceeds 200 for 10 minutes.
type: STATIC
nrql:
query: "SELECT sum(`aws.networkfirewall.RejectedPackets`) as 'Query' 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
threshold: 200
# Time in seconds; 120 - 3600
thresholdDuration: 600
# How many data points must be in violation for the duration
thresholdOccurrences: ALL

# Adding a Warning threshold is optional
- priority: WARNING
operator: ABOVE
threshold: 100
thresholdDuration: 600
thresholdOccurrences: ALL

# Duration after which a violation automatically closes
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
violationTimeLimitSeconds: 86400
34 changes: 34 additions & 0 deletions alert-policies/aws-network-firewall/HighTLSErrors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: High TLS Errors

description: |+
This alert is triggered if the number of TLS Errors exceeds 200 for 10 minutes.
type: STATIC
nrql:
query: "SELECT sum(`aws.networkfirewall.TLSErrors`) as 'Query' 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
threshold: 200
# Time in seconds; 120 - 3600
thresholdDuration: 600
# How many data points must be in violation for the duration
thresholdOccurrences: ALL

# Adding a Warning threshold is optional
- priority: WARNING
operator: ABOVE
threshold: 100
thresholdDuration: 600
thresholdOccurrences: ALL

# Duration after which a violation automatically closes
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
violationTimeLimitSeconds: 86400
Loading

0 comments on commit 3db467c

Please sign in to comment.