Skip to content

Commit

Permalink
Changed the alert.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkudikyala committed Jun 30, 2023
1 parent cc8a09c commit 122c651
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Name of the alert
name: Remaining Disk Percent
name: Used Disk Percent

# Description and details
description: |+
This alert is triggered when Remaining disk space below 5% for at least 5 minutes.
This alert is triggered when Used disk space above 90% for at least 5 minutes.
# Type of alert
type: STATIC

# NRQL query
nrql:

query: "SELECT latest(PercentRemaining) FROM HadoopNameNodeSampleMetrics"
query: "SELECT latest(PercentUsed) FROM HadoopNameNodeSampleMetrics"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE
Expand All @@ -21,7 +21,7 @@ terms:
# Operator used to compare against the threshold.
operator: BELOW
# Value that triggers a violation
threshold: 5
threshold: 90
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
Expand All @@ -30,7 +30,7 @@ terms:
# Operator used to compare against the threshold.
operator: BELOW
# Value that triggers a violation
threshold: 15
threshold: 85
# Time in seconds; 120 - 3600, must be a multiple of 60 for Baseline conditions
thresholdDuration: 300
# How many data points must be in violation for the duration
Expand Down

0 comments on commit 122c651

Please sign in to comment.