Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.88 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.88 KB

Overview

We started using 🚀 as an internal communication tool @cloudfactory and immediately felt the lack of integrations, we as DevOps, loved a lot. rocketchat_newrelic_incoming.js is a script that will parse webhook notifications coming to Rocket.Chat from NewRelic. Please be mindful that NewRelic is deprecating current and introducing new alert system but we needed this anyway. NewRelic sends in alerts about policy voilations that you have defined thresholds for and deployments to your application via tools like Capistrano.

Installation

Rocket.Chat

  1. Login as admin user and go to:
    Administration => Integrations => New Integration => Incoming WebHook

  2. Set "Enabled" and "Script Enabled" to "True"

  3. Set all channel, icons, etc. as you need/preference !!

  4. Paste contents of rocketchat_newrelic_incoming.js into the Script field.

  5. Copy WebHook URL as soon as you saved the integration and proceed to the configuration of webhook integration in NewRelic.

NewRelic

  1. Login as admin user and go to:
    Acccount Settings => Alert Notifications => Webhook

  2. Paste in webhook URL copied from RocketChat installation setup and be sure to check on "Receive mobile application and plugin alerts"

Alerting APIs are evolving in NewRelic:
NewRelic WebHook Docs

Things in Action

Policy violation trigger: DevOps sighs then do what's needed hence resolved notification

Deployment notification