{"id":13581703,"url":"https://github.com/cpanato/mattermost-plugin-alertmanager","last_synced_at":"2025-04-06T01:09:21.486Z","repository":{"id":34481882,"uuid":"179640695","full_name":"cpanato/mattermost-plugin-alertmanager","owner":"cpanato","description":"AlertManager Bot for Mattermost","archived":false,"fork":false,"pushed_at":"2024-10-21T04:40:05.000Z","size":3145,"stargazers_count":86,"open_issues_count":33,"forks_count":19,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T00:08:17.630Z","etag":null,"topics":["alertmanager","alertmanager-webhook","go","golang","mattermost","mattermost-plugin","prometheus"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cpanato.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-05T07:56:54.000Z","updated_at":"2025-02-26T13:57:17.000Z","dependencies_parsed_at":"2023-11-13T06:22:36.900Z","dependency_job_id":"ad7ddcd8-c3ac-4e97-8b54-070606e2042c","html_url":"https://github.com/cpanato/mattermost-plugin-alertmanager","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpanato%2Fmattermost-plugin-alertmanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpanato%2Fmattermost-plugin-alertmanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpanato%2Fmattermost-plugin-alertmanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpanato%2Fmattermost-plugin-alertmanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpanato","download_url":"https://codeload.github.com/cpanato/mattermost-plugin-alertmanager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419860,"owners_count":20936012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alertmanager","alertmanager-webhook","go","golang","mattermost","mattermost-plugin","prometheus"],"created_at":"2024-08-01T15:02:11.536Z","updated_at":"2025-04-06T01:09:21.467Z","avatar_url":"https://github.com/cpanato.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# AlertManager Plugin\n\nThis plugin is the [AlertManager](https://github.com/prometheus/alertmanager) bot for Mattermost.\n\nForked and inspired on https://github.com/metalmatze/alertmanager-bot the alertmanager for Telegram. Thanks so much [@metalmatze](https://github.com/metalmatze/)\n\nSome features:\n--------------\n - Receive the Alerts via webhook\n - Can list existing alerts\n - Can list existing silences\n - Can expire a silence\n\nTODO:\n-----\n  - Create silences\n  - Create alerts\n  - List expired silences\n  - Create and use a bot account\n  - Allow multiple webhooks/channels\n\n\n**Supported Mattermost Server Versions: 5.37+**\n\n## Installation\n\n1. Go to the [releases page of this GitHub repository](https://github.com/cpanato/mattermost-plugin-alertmanager/releases) and download the latest release for your Mattermost server.\n2. Upload this file in the Mattermost **System Console \u003e Plugins \u003e Management** page to install the plugin, and enable it. To learn more about how to upload a plugin, [see the documentation](https://docs.mattermost.com/administration/plugins.html#plugin-uploads).\n\nNext, to configure the plugin, follow these steps:\n\n3. After you've uploaded the plugin in **System Console \u003e Plugins \u003e Management**, go to the plugin's settings page at **System Console \u003e Plugins \u003e AlertManager**.\n4. Specify the team and channel to send messages to. For each, use the URL of the team or channel instead of their respective display names.\n5. Specify the AlertManager Server URL.\n6. Generate the Token that will be use to validate the requests.\n7. Hit **Save**.\n8. Next, copy the **Token** above the **Save** button, which is used to configure the plugin for your AlertManager account.\n9. Go to your Alermanager configuration, paste the following webhook URL and specfiy the name of the service and the token you copied in step 9.\n10. Invite the `@alertmanagerbot` user to your target team and channel.\n\n```\nhttps://SITEURL/plugins/alertmanager/api/webhook?token=TOKEN\n```\nSometimes the token has to be quoted.\n\nExample alertmanager config:\n\n```yaml\nwebhook_configs:\n  - send_resolved: true\n    url: \"https://mattermost.example.org/plugins/alertmanager/api/webhook?token='xxxxxxxxxxxxxxxxxxx-yyyyyyy'\"\n```\n\n\n## Plugin in Action\n\n# ![alertmanager-bot-1](assets/alertmanager-1.png)\n# ![alertmanager-bot-2](assets/alertmanager-2.png)\n# ![alertmanager-bot-3](assets/alertmanager-3.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpanato%2Fmattermost-plugin-alertmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpanato%2Fmattermost-plugin-alertmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpanato%2Fmattermost-plugin-alertmanager/lists"}