Hello my friends.
I'm using ribbybibby <https://github.com/ribbybibby>/*ssl_exporter 
<https://github.com/ribbybibby/ssl_exporter>  *for checking ssl expiry for 
some services. All works fine  but I would like to add more information to 
the slack message. Specifically, add to the messages instance on which the 
certificates expire.
Now the slack receives messages with the name of the alert, the number of 
instances with expiring certificates and a link to the prom. I'm trying to 
change the config but to no avail so far.
```
  - alert: ssl_cert_expire
    expr: ssl_cert_not_after{ - time() < 86400 *7
    for: 2m
    labels:
      severity: 'warning'
    annotations:
      title: 'Warning: SSL cert will expire soon for the site (instance {{ 
$labels.instance }})'
      description: 'SSL cert expires in 7 days\n  VALUE = {{ $value }}\n  
LABELS: {{ $labels }}'
```

-- 
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/235b5101-9ab6-4d1e-97e3-5d5625dbd60fn%40googlegroups.com.

Reply via email to