Hi,

On 7/13/20 1:27 PM, Dmitry wrote:
> 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?

Can you confirm that you've set the send_resolved: true option in the
relevant email_config and slack_config blocks?

Kind regards,
Christian

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/2b53f914-a74b-894f-7c0d-cc0a2360fdc8%40hoffmann-christian.info.

Reply via email to