All Projects → opsgenie → slack-to-opsgenie-alert-creator

opsgenie / slack-to-opsgenie-alert-creator

Licence: other
Create alerts from messages sent to a Slack channel

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to slack-to-opsgenie-alert-creator

Alertmanager
Prometheus Alertmanager
Stars: ✭ 4,574 (+18196%)
Mutual labels:  slack, opsgenie
worldcup-slack-bot
WorldCupBot will notify a Slack channel/group for every match during a FIFA World Cup
Stars: ✭ 33 (+32%)
Mutual labels:  slack
Yasuf
Very simple way of controlling your Python application via Slack
Stars: ✭ 23 (-8%)
Mutual labels:  slack
pr-reviews-reminder-action
A GitHub Action to send Slack/Teams notification for Pull Request that are waiting for reviewers.
Stars: ✭ 18 (-28%)
Mutual labels:  slack
humhub-oauth
Social OAuths built for the Social Platform HumHub
Stars: ✭ 16 (-36%)
Mutual labels:  slack
rota-slackbot
Slackbot that helps manage rotations.
Stars: ✭ 50 (+100%)
Mutual labels:  slack
slack-term
Slack client for your terminal
Stars: ✭ 6,074 (+24196%)
Mutual labels:  slack
oauth2-slack
Slack OAuth 2.0 Client Provider for The PHP League OAuth2-Client
Stars: ✭ 20 (-20%)
Mutual labels:  slack
zoom-slack-status-updater
Update your Slack status automatically when you join a Zoom meeting.
Stars: ✭ 23 (-8%)
Mutual labels:  slack
openwhisk-slackapp
A serverless Slack app built with Slack Events API and IBM Cloud Functions
Stars: ✭ 24 (-4%)
Mutual labels:  slack
slack-discord-bridge
Bridges a text channel between Slack and Discord
Stars: ✭ 21 (-16%)
Mutual labels:  slack
emojibot
Emojibot is a Slack bot that announces new custom emoji to a specific channel.
Stars: ✭ 17 (-32%)
Mutual labels:  slack
slackteams
Manage and Interact with multiple Slack teams in R
Stars: ✭ 21 (-16%)
Mutual labels:  slack
notify
推送通知 sdk(Bark、Chanify、钉钉群机器人、Discord、邮件、飞书群机器人、Gitter、Google Chat、iGot、Logger、Mattermost、Now Push、PushBack、Push、PushDeer、PushPlus、QQ 频道机器人、Rocket Chat、Server 酱、Showdoc Push、Slack、Telegram、Webhook、企业微信群机器人、息知、Zulip)。
Stars: ✭ 335 (+1240%)
Mutual labels:  slack
git-slack-notify
Sends Slack notifications for new commits in Git repositories
Stars: ✭ 12 (-52%)
Mutual labels:  slack
enhanced-slack
🌴 PoC Slack enhancer/injector
Stars: ✭ 48 (+92%)
Mutual labels:  slack
kwatchman
Watch for k8s resources changes and trigger chains of handlers
Stars: ✭ 24 (-4%)
Mutual labels:  slack
slatify
Slack Notification for GitHub Actions 🔔
Stars: ✭ 132 (+428%)
Mutual labels:  slack
magento2-module-slack
Magento 2 Module to send Notifications to a Slack Channel via Webhook.
Stars: ✭ 14 (-44%)
Mutual labels:  slack
slacky-dark
Dark mode theme for Slack desktop clients
Stars: ✭ 24 (-4%)
Mutual labels:  slack

Slack to OpsGenie Alert Creator

Some of our customers want a way to create alerts from messages sent to a Slack channel. This is a sample Lambda function to help you achieve this.

It is an Outgoing WebHook application for Slack. Slack will post the messages sent to a channel to our API Gateway endpoint and we will create an alert in OpsGenie by using our AWS Lambda function.

Prerequisites

  • Install Node.js and npm

How to use

  • Clone or download the repository

  • In repository's folder run npm install command

  • Install serverless for easy deployment, it will deploy lambda function and create an API Gateway endpoint automatically

    • Run npm install -g serverless to install serverless globally
    • Update serverless.yml file by entering slackToken (received from Slack integration page) and opsgenieApiKey (received from OpsGenie Api Integration) environment variables
    • Follow these instructions on setting up AWS credentials for Serverless if you haven't done already
    • Run serverless deploy and all you want will be ready at a glance!
    • Copy the link from the command line (one in the orange square in the image below) or you can always find it in your AWS account's API Gateway service
    • Paste it to your Slack integration
    • You can always take it back by running serverless remove command

serverless-deploy.png

In Slack

custom-integration.png

  • Configure your Outgoing Webhook
    • Select a channel (optional)
    • Select a keyword (optional)
    • Paste the url received after deployment (Api Gateway URL)
    • Copy token and paste it to serverless.yml's slackToken field

slack-configuration.png

So you need more?

If you want to create a fully featured Slack application with slash commands, events, and interactive messages, you might want to look at https://github.com/johnagan/serverless-slack-app repository. It really does a lot for you!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].