0.0.1 • Published 9 years ago

navy-admiral-sensu-notifier v0.0.1

Weekly downloads
6
License
-
Repository
github
Last release
9 years ago

navy-admiral-sensu-notifier

Send notifications to a Sensu client after an Order is executed.

Installation

Run the following on the same server that the Admrial is installed on:

npm install -g navy-admiral-sensu-notifier

Usage

This plugin assumes that a sensuNotifer hash containing the following options has been added to the Admiral for the application you want notifications to be posted for.

  • slackChannel: Slack channel to which notification should be posted (required)
  • orders: An array of Order names. If specified, notifications will only be posted for these Orders (optional. Default is all Orders)

  • url: This may appear in the main object. This will be shown in the slack notification

An example Admiral application configuration might look like:

{ "name": "My Application"
, "appId": "myApp"
, "url": "http://www.google.com"
, "sensuNotifier":
  { "slackChannel": "general"
  , "orders": [ "orderName" ]
  }
}
0.0.1

9 years ago