navy-admiral-sensu-notifier

0.0.1 • Public • Published

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" ]
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i navy-admiral-sensu-notifier

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • microadam