Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

Web service for recieving New Relic webhook posts and notifying IRC.

License

Notifications You must be signed in to change notification settings

pmclanahan/newrelic-irc-notify

Repository files navigation

New Relic to IRC notifier

Notify of New Relic events via their webhooks and IRC.

Installation

Clone the repo then:

  1. npm install
  2. cp local.json-dist local.json
  3. edit local.json with your own values.
  4. node app.js

For my fellow mozillians, all you really need to do is send me a PR with edits to irc_channels.json. The setup on our New Relic account is already done.

irc_channels.json is a mapping of a string to a list of IRC channels. For example:

{
    "www.mozilla.org": {
        "channels": ["#www"],
        "types": ["alert", "deployment"]
    }
}

That tells the bot to look for posts from New Relic with an application name that includes the string (e.g. "www.mozilla.org-python"), and to send the info to #www if the type of message is an "alert" or a "deployment".

The bot's name by default is vectorvictor, and he'll join any room in any channels list in this file.

About

Web service for recieving New Relic webhook posts and notifying IRC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published