Skip to content

Commit

Permalink
chore: Initial vertica commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pkosanam committed Sep 18, 2023
2 parents d25fc75 + 25244a9 commit 96cf433
Show file tree
Hide file tree
Showing 11 changed files with 796 additions and 0 deletions.
37 changes: 37 additions & 0 deletions alert-policies/vertica/DiskUsed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Disk Space Used (%)

description: |+
This alert is triggered when disk space usage exceeds 95% for 5 minutes.
type: STATIC
nrql:
query: "SELECT latest(disk_space_free_percent) as 'Disk Space Used (%)' FROM VerticaDiskStorage"

# 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: BELOW
# Value that triggers a violation.
threshold: 5
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration?
thresholdOccurrences: ALL

- priority: WARNING
# Operator used to compare against the threshold.
operator: BELOW
# Value that triggers a violation.
threshold: 10
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration?
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 96cf433

Please sign in to comment.