Hello!
I have standard rule for prometheus alertmanager:
rules:
- alert: Instance_down
expr: up == 0
for: 1m
# Labels - additional labels to be attached to the alert
labels:
severity: 'critical'
annotations:
title: 'Instance {{ $labels.instance }} down'
description: '{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 1 minute.'
I receive firing alert messages on my email and slack when instance falls. But i don't receive any messages when instance work is restored, and alert status changes from firing.
Is there a way to sent a message when problem is resolved or alert comes from firing to inactive?