kam1kaze / sensu-plugins-slack

Sensu Plugins Slack chat handlers

Home Page:http://sensu-plugins.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sensu-Plugins-slack

Build Status Gem Version Code Climate Test Coverage Dependency Status Codeship Status for sensu-plugins/sensu-plugins-slack

Functionality

Files

  • handler-slack.rb

Usage

{
  "slack": {
    "webhook_url": "webhook url",
    "channel": "#notifications-room, optional defaults to slack defined",
    "message_prefix": "optional prefix - can be used for mentions",
    "surround": "optional - can be used for bold(*), italics(_), code(`) and preformatted(```)",
    "bot_name": "optional bot name, defaults to slack defined",
    "template": "/some/path/to/template.erb",
    "fields": [
      "list",
      "of",
      "optional",
      "clientkeys",
      "to_render"
    ]
  }
}

Installation

Installation and Setup

Notes

About

Sensu Plugins Slack chat handlers

http://sensu-plugins.github.io

License:MIT License


Languages

Language:Ruby 100.0%