DEV-386: added alert to get notification in case of ssh root login

feature/DEV-380
friedrich goerz 4 years ago
parent fff42dea2c
commit 8c8722851f

@ -279,3 +279,13 @@ groups:
identifier: '{{ '{{' }} $labels.instance {{ '}}' }}' identifier: '{{ '{{' }} $labels.instance {{ '}}' }}'
summary: "Instance <{{ '{{' }} $labels.instance {{ '}}' }}> has less traffic than expected" summary: "Instance <{{ '{{' }} $labels.instance {{ '}}' }}> has less traffic than expected"
description: "checks if postgres receives traffic on internal interface." description: "checks if postgres receives traffic on internal interface."
- alert: ssh root login
expr: authlog_root_login_hits > 0 or absent(authlog_root_login_hits)
for: 1m
labels:
severity: critical
annotations:
identifier: '{{ '{{' }} $labels.instance {{ '}}' }}'
summary: "ssh root login on Instance <{{ '{{' }} $labels.instance {{ '}}' }}> detected. plz check"
description: "unexpected ssh root login detected."

Loading…
Cancel
Save