Skip to content

is2ei/alerty-plugin-typetalk

Repository files navigation

Alerty::Plugin::Typetalk

Alerty plugin for Typetalk

Installation

$ gem install alerty-plugin-typetalk

Type

typetalk

Configuration

token: Typetalk token
topic_id: Typetalk topic id
template: Template text. You can use placeholders listed below.

Placeholders

${hostname}: hostname which rans the command
${command}: a given command
${exitstatus}: exitstatus of the executed command
${output}: output of the executed command

Example configuration

log_path: STDOUT
log_level: debug
plugins:
  - type: typetalk
    token: xxxxxxxxxxxxxxxxxxxx
    topic_id: 12345
    template: "FAILURE: [${hostname}] ${command}\n${output}"

About

Alerty plugin for Typetalk

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages