Le mardi 29 septembre 2020 16:45:18 UTC+1, Annonyme1 a écrit : > > 1-i set the alert for ssl expiry i receive alert when the ssl will expire > soon so i receive the same alert with the same time and date 3 times > 2- > *alertmanager.yml* > global: > smtp_smarthost: 'mx2.so.com:25' > smtp_from: '[email protected]' > smtp_require_tls: false > smtp_hello: 'alertmanager' > smtp_auth_username: 'username' > smtp_auth_password: 'password' > > slack_api_url: ' > https://hooks.slack.com/services/TRW96KX/BRW94848/9IAoupDUOiRI0ERqMDMLs0ka > ' > > route: > group_by: ['instance', 'alert'] > group_wait: 30s > group_interval: 5m > repeat_interval: 15m > receiver: so > > receivers: > - name: 'so' > email_configs: > - to: '[email protected]' > - to: '[email protected]' > slack_configs: > # https://prometheus.io/docs/alerting/configuration/#slack_config > - channel: 'monitoring' > - username: 'AlertManager' > - icon_emoji: ':joy:' > *alert.rules.yml* > > groups: > - name: example > rules: > - alert: SSLCertExpiringSoon > > expr: probe_ssl_earliest_cert_expiry{job="blackbox"} - time() < 86400 > * 15 > > for: 10s > > labels: > > severity: critical CASE sifast Sites > > annotations: > > summary: 'SSL certificat should be renewed as soon as possible ' > 3-i don't have HAproxy and i'am working on only one prometheus server > > Le mardi 29 septembre 2020 16:14:17 UTC+1, Brian Candler a écrit : >> >> For assistance, you should: >> >> 1. Explain the circumstances that led up to the alert; give some samples >> of the alerts; explain what makes you think they are "duplicates" not fresh >> alerts. >> >> 2. Show the alerting rule which generated this alert, and your >> alertmanager configuration. >> >> 3. Describe whether you have any sort of HA configuration (multiple >> prometheus servers and/or multiple alertmanager servers) >> >
-- 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/3d6cebc8-722c-4ac4-a9bf-48cd4e075438o%40googlegroups.com.

