Skip to content

Commit

Permalink
Merge pull request #2068 from thezackm/chore/f5-quickstart
Browse files Browse the repository at this point in the history
chore: add alerts and dashboard to existing f5 quickstart
  • Loading branch information
nr-mlosier authored Oct 4, 2023
2 parents 0ba5b76 + 69cdefb commit f434b8a
Show file tree
Hide file tree
Showing 8 changed files with 1,279 additions and 11 deletions.
19 changes: 19 additions & 0 deletions alert-policies/f5/f5-node-offline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: F5 Node Offline
description: |+
This alert fires when an F5 Node has an availability state = 'offline' for at least 10 minutes.
type: STATIC
nrql:
query: "FROM F5BigIpNodeSample SELECT count(*) FACET reportingEndpoint, displayName WHERE node.availabilityState = 0"
valueFunction: SINGLE_VALUE
terms:
- priority: CRITICAL
operator: ABOVE
threshold: 0
thresholdDuration: 600
thresholdOccurrences: ALL
signal:
aggregationDelay: 120
aggregationMethod: EVENT_FLOW
aggregationWindow: 60

violationTimeLimitSeconds: 259200
19 changes: 19 additions & 0 deletions alert-policies/f5/f5-pool-member-offline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: F5 Pool Member Offline
description: |+
This alert fires when an F5 Pool Member has an availability state = 'offline' for at least 10 minutes.
type: STATIC
nrql:
query: "FROM F5BigIpPoolMemberSample SELECT count(*) FACET aparse(url, '%//*'), poolName, displayName WHERE member.availabilityState = 0"
valueFunction: SINGLE_VALUE
terms:
- priority: CRITICAL
operator: ABOVE
threshold: 0
thresholdDuration: 600
thresholdOccurrences: ALL
signal:
aggregationDelay: 120
aggregationMethod: EVENT_FLOW
aggregationWindow: 60

violationTimeLimitSeconds: 259200
19 changes: 19 additions & 0 deletions alert-policies/f5/f5-pool-offline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: F5 Pool Offline
description: |+
This alert fires when an F5 Pool has an availability state = 'offline' for at least 10 minutes.
type: STATIC
nrql:
query: "FROM F5BigIpPoolSample SELECT count(*) FACET reportingEndpoint, displayName WHERE pool.availabilityState = 0"
valueFunction: SINGLE_VALUE
terms:
- priority: CRITICAL
operator: ABOVE
threshold: 0
thresholdDuration: 600
thresholdOccurrences: ALL
signal:
aggregationDelay: 120
aggregationMethod: EVENT_FLOW
aggregationWindow: 60

violationTimeLimitSeconds: 259200
19 changes: 19 additions & 0 deletions alert-policies/f5/f5-virtual-server-offline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: F5 Virtual Server Offline
description: |+
This alert fires when an F5 Virtual Server has an availability state = 'offline' for at least 10 minutes.
type: STATIC
nrql:
query: "FROM F5BigIpVirtualServerSample SELECT count(*) FACET reportingEndpoint, displayName WHERE virtualserver.availabilityState = 0"
valueFunction: SINGLE_VALUE
terms:
- priority: CRITICAL
operator: ABOVE
threshold: 0
thresholdDuration: 600
thresholdOccurrences: ALL
signal:
aggregationDelay: 120
aggregationMethod: EVENT_FLOW
aggregationWindow: 60

violationTimeLimitSeconds: 259200
Loading

0 comments on commit f434b8a

Please sign in to comment.