镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Netcup Prometheus alerting for unreachable Alertmanagers #219

Open

Description

@jchristgit

We need to configure our Alertmanager to send us alerts on Discord such that we
can be informed of anything not being right as part of the monitoring setup on
lovelace.

Activity

  1. jb3 commented on Apr 14, 2024

    @jb3
    Member

    As discussed in the dev-ops channel, I think we can reach a configuration here that utilizes our existing High-Availability AlertManager setup.

    We can set up token access for Prometheus on Ansible machines to push alerts through to the Kubernetes HA AlertManager.

    Some notes:

    • This does not mean we cannot route alerts differently, push to different areas based on different severity or anything like this, we still maintain full granular control over alert routing, even more so since we centralise it.
    • We can write a small healthcheck (systemd timer, cronjob, etc.) to check whether the alertmanager server is healthy and responding to requests, if it is not then we can trigger a rudimentary alert from netcup reporting that the AlertManager is down. I don't think this needs to be a separate instance of AlertManager as that feels overcomplex and leads to duplication of routing configuration.
  2. jchristgit commented on May 1, 2024

    @jchristgit
    ContributorAuthor

    Just to clarify this from a discussion on Discord, this is about adding a "dead
    man's switch" alert that will route to Discord in case the Netcup Prometheus
    instance can't contact the Alertmanager in Kubernetes properly. To cover this
    case we want to:

    • add alerts in Prometheus in case it cannot talk to Alertmanager properly
      (there are built-in metrics for this exported by Prometheus)
    • add a local alertmanager configured to send alerts to Discord
    • configure the local alertmanager & Prometheus instances such that only the
      newly added alerts from above are routed to the local alertmanager and
      everything else is still routed to the Kubernetes alertmanager.
  3. changed the title [-]Set up Prometheus alerting on Discord in Ansible[/-] [+]Netcup Prometheus alerting for unreachable Alertmanagers[/+] on May 1, 2024
  4. moved this from Up next to Backlog in Infrastructureon Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    group: ansibleIssues and pull requests related to the Ansible setup

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions