{"id":19811036,"url":"https://github.com/puzzle/prometheus-rocket-chat","last_synced_at":"2025-05-01T08:32:22.186Z","repository":{"id":46926484,"uuid":"228878093","full_name":"puzzle/prometheus-rocket-chat","owner":"puzzle","description":"A Rocket.Chat webhook that receives Prometheus Alertmananager alerts and creates concise messages","archived":false,"fork":false,"pushed_at":"2021-09-21T06:41:08.000Z","size":4,"stargazers_count":11,"open_issues_count":1,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T11:51:44.690Z","etag":null,"topics":["alertmanager","prometheus","rocketchat","webhook"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/puzzle.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}},"created_at":"2019-12-18T16:18:15.000Z","updated_at":"2023-10-18T09:01:03.000Z","dependencies_parsed_at":"2022-09-02T18:41:28.260Z","dependency_job_id":null,"html_url":"https://github.com/puzzle/prometheus-rocket-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puzzle%2Fprometheus-rocket-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puzzle%2Fprometheus-rocket-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puzzle%2Fprometheus-rocket-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puzzle%2Fprometheus-rocket-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puzzle","download_url":"https://codeload.github.com/puzzle/prometheus-rocket-chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251847828,"owners_count":21653582,"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","prometheus","rocketchat","webhook"],"created_at":"2024-11-12T09:24:31.088Z","updated_at":"2025-05-01T08:32:21.906Z","avatar_url":"https://github.com/puzzle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rocket.Chat Integration for Prometheus Alertmanager\n\nA Rocket.Chat webhook that receives Prometheus Alertmananager alerts, creates concise messages and routes them to the actual channel.\n\nSee https://rocket.chat/docs/administrator-guides/integrations/ for details on how to generate Rocket.Chat webhooks.\n\n## Message Format\n\nRocket.Chat messages produced by this webhook will have the following basic format (based on the keys in the [Alertmanager request](sample-request.json)):\n\n    [annotations.severity OR status] annotations.summary\n    annotations.description\n\nYou are responsible to put all labels you would like to see into the summary or the description when you define the alert rules for Prometheus. The description is optional, leave it empty if it does not contain additional information.\n\nYou may optionally set the label `rocketchat_channel` in the alert rule to route a message to a custom channel.\n\n\n## Installation\n\n### Rocket.Chat\n\nLogin as admin user and go to: Administration =\u003e Integrations =\u003e New Integration =\u003e Incoming WebHook\n\nSet \"Enabled\" and \"Script Enabled\" to \"True\".\n\nSet channel, icons, etc. as you need.\n\nPaste the contents of `webhook.js` into the Script field.\n\nCreate Integration. Copy the WebHook URL and proceed to Alertmanager.\n\n### Prometheus Alertmanager\n\nCreate a new receiver or modify config of existing one. You'll need to add `webhooks_config` to it. Small example:\n\n    route:\n      receiver: rocketchat\n\n    receivers:\n      - name: rocketchat\n        webhook_configs:\n          - send_resolved: true\n            url: '${WEBHOOK_URL}'\n\nReload/restart Alertmanager.\n\n## Testing\n\nTo test the webhook, you may send a sample request to your Rocket.Chat instance:\n\n    curl -X POST -H 'Content-Type: application/json' --data-binary @sample-request.json [webhook-url]\n\n## License\n\nprometheus-rocket-chat is released under the terms of the MIT License.\nCopyright 2019-2020 Puzzle ITC GmbH. See `LICENSE` for further information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuzzle%2Fprometheus-rocket-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuzzle%2Fprometheus-rocket-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuzzle%2Fprometheus-rocket-chat/lists"}