Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
.maintain/monitoring/alerting-rules: Add fd alert (#6946)
Browse files Browse the repository at this point in the history
Alert on high file descriptor allocation.
  • Loading branch information
mxinden authored Aug 24, 2020
1 parent 243873a commit 14cfc57
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .maintain/monitoring/alerting-rules/alerting-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,19 @@ groups:
message: 'The node {{ $labels.instance }} has less than 3 peers for more
than 15 minutes'

##############################################################################
# System
##############################################################################

- alert: HighNumberOfFileDescriptors
expr: 'node_filefd_allocated{domain=~"kusama|polkadot"} > 10000'
for: 3m
labels:
severity: warning
annotations:
message: 'The node {{ $labels.instance }} has more than 10_000 file
descriptors allocated for more than 3 minutes'

##############################################################################
# Others
##############################################################################
Expand Down

0 comments on commit 14cfc57

Please sign in to comment.