Skip to content
Snippets Groups Projects
Commit 04812c0e authored by ale's avatar ale
Browse files

Add an alert for suspected DDoS

parent 89b3b344
No related branches found
No related tags found
No related merge requests found
groups:
- name: roles/ai3-prometheus/templates/rules/alerts_ddos.conf
rules:
- alert: DDoS
expr: sum((sum(instance:node_network_packets_total:rate5m{device=~"en.*"}) by (host)) * on (host) role{role="frontend"}) > 100000
for: 5m
labels:
scope: global
service: nginx
severity: page
annotations:
summary: 'Suspected incoming DDoS'
description: 'High network packet count on public frontends'
runbook: '[[ alert_runbook_fmt | format("DDoS") ]]'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment