Skip to content

Simple Slack Bot that posts updates about systems monitored by Red Hat Insights to a Slack channel.

License

Notifications You must be signed in to change notification settings

jharting/insights-slackbot

 
 

Repository files navigation

Insights Slackbot

Simple Slack Bot that posts updates about systems monitored by Red Hat Insights to a Slack channel.

Running

  1. Get a Slack token for the Bot
  2. Run Insights Slackbot
    SLACK_TOKEN='<put token here>' npm start
    
    The server needs to be accessible from the Internet. Alternatively, use ultrahook to route webhooks to your local machine.
  3. Configure a webhook in Insights

Configuration

The following environment variables can be used to tune Insights Slackbot:

  • SLACK_TOKEN - token for authentication
  • SLACK_CHANNEL - Slack channel the bot will post messages to (insights-webhooks by default)
  • SERVER_SECRET- secret part of the URL that prevents unauthorized actors from posting
  • SERVER_PORT - server port (3006 by default)

About

Simple Slack Bot that posts updates about systems monitored by Red Hat Insights to a Slack channel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%