Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


v0.1.3 · public · Published 11 months ago

README
Asset Definition
Release Notes
Release Assets

Sensu Go Telegram Handler

Installation

go build -o /usr/bin/sensu-telegram-handler .

Configuration

Example Sensu Go definition:

{
    "api_version": "core/v2",
    "type": "Handler",
    "metadata": {
        "namespace": "default",
        "name": "telegram"
    },
    "spec": {
        "type": "pipe",
        "command": "sensu-telegram-handler --api-token <bot api token> --chatid <your chat id>",
        "timeout": 10,
        "filters": [
            "is_incident",
            "not_silenced"
        ]
    }
}

Usage

Sensu Go handler for sending telegram notifications

Usage:
  sensu-telegram-handler [flags]

Flags:
  -a, --api-token string
  -c, --chatid uint
  -h, --help               help for sensu-telegram-handler
  -t, --template string     (default "**{{.Entity.Name}}/{{.Check.Name}}**: {{.Check.State}}\n`{{.Check.Output}}`")

Are you sure you want to report this asset?

Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.

×

You must be signed in to report this asset.

Sign In with Github

Download

×

Either download the source code:

Download Source

Or download the asset definition: