Coder Social home page Coder Social logo

When adding multiple Alertmanager configs in the plugin, messages are posted to a random channel about mattermost-plugin-alertmanager HOT 4 OPEN

cpanato avatar cpanato commented on August 27, 2024
When adding multiple Alertmanager configs in the plugin, messages are posted to a random channel

from mattermost-plugin-alertmanager.

Comments (4)

Pengwin61 avatar Pengwin61 commented on August 27, 2024

Good afternoon. I also encountered similar behavior of the plugin. I don't have an alertmanager cluster, only 1 copy. I created 3 channels in one team. And I get something completely different

route:
  receiver: 'telegram_bot'
  group_by: ['alertname']
  group_wait: 5s
  group_interval: 1m
  repeat_interval: 12h
  routes:
  - match:
      alertgroup: 'SD'
    receiver: 'mm-home-sd'
  - match:
      alertgroup: 'InfraRules'
    receiver: 'mm-home-infra'
  - match:
      alertgroup: 'Hardware'
    receiver: 'mm-home-hardware'
mm_chat1 mm_chat mm

from mattermost-plugin-alertmanager.

cpanato avatar cpanato commented on August 27, 2024

thanks for the report, are you willing to open a PR to fix this issue?

from mattermost-plugin-alertmanager.

aboukhal avatar aboukhal commented on August 27, 2024

We don't have the environment to build Go applications without a lot of effort. So dry-analyzing the source code was as much as I could do at the moment

from mattermost-plugin-alertmanager.

aboukhal avatar aboukhal commented on August 27, 2024

After figuring out that Mattermost supports most of the schema from Slack, we have now switched over to using the Slack configuration from Alertmanager. We've lost time calculations (using a timezone other than UTC or calculating durations, I've opened prometheus/alertmanager#3762 for that) but gained extensive customizability.
There are a lot of Slack template examples on the net to have a solid starting point for this.
Thanks for this Plugin, we would have loved to stick with it but in the current state we needed a solution that we can easily develop ourselves.

from mattermost-plugin-alertmanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.