All Projects → alerta → sensu-alerta-handler

alerta / sensu-alerta-handler

Licence: MIT license
Use Alerta as a dashboard for Sensu

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to sensu-alerta-handler

sensu-plugins-aws
This plugin provides native AWS instrumentation for monitoring and metrics collection, including: health and metrics for various AWS services, such as EC2, RDS, ELB, and more, as well as handlers for EC2, SES, and SNS.
Stars: ✭ 79 (+276.19%)
Mutual labels:  sensu, sensu-handler
sensu-go-ansible
Ansible role to deploy and manage Sensu Go
Stars: ✭ 26 (+23.81%)
Mutual labels:  sensu, sensu-go
python-alerta-client
Unified command-line tool and python SDK for alerta
Stars: ✭ 26 (+23.81%)
Mutual labels:  alerta
sensu-plugins-mailer
This plugin is an email handler for Sensu.
Stars: ✭ 17 (-19.05%)
Mutual labels:  sensu-handler
uchiwa-web
Uchiwa is a simple yet effective open-source dashboard for the Sensu monitoring framework.
Stars: ✭ 17 (-19.05%)
Mutual labels:  sensu
Alerta
Alerta monitoring system
Stars: ✭ 2,031 (+9571.43%)
Mutual labels:  alerta
Paasta
An open, distributed platform as a service
Stars: ✭ 1,569 (+7371.43%)
Mutual labels:  sensu
zabbix-alerta
Forward Zabbix alerts to the alerta monitoring system
Stars: ✭ 94 (+347.62%)
Mutual labels:  alerta
sensu-influxdb-handler
Sensu Go InfluxDB Metrics Handler
Stars: ✭ 14 (-33.33%)
Mutual labels:  sensu
sensu-plugins-http
This plugin provides native HTTP instrumentation for monitoring and metrics collection, including: response code, JSON response, HTTP last modified, SSL expiry, and metrics via `curl`.
Stars: ✭ 31 (+47.62%)
Mutual labels:  sensu
sensu-plugin-python
A framework for writing Sensu plugins & handlers with Python.
Stars: ✭ 66 (+214.29%)
Mutual labels:  sensu
sensu-wrapper
A wrapper to send shell command results to sensu
Stars: ✭ 21 (+0%)
Mutual labels:  sensu
sensu-go-ansible
Official Ansible module for Sensu Go
Stars: ✭ 30 (+42.86%)
Mutual labels:  sensu
kibana-alerta
Log alerts to Elasticsearch and view them in Kibana
Stars: ✭ 27 (+28.57%)
Mutual labels:  alerta
grafana-sensu-go-datasource
A Grafana data source plugin for querying the Sensu Go API
Stars: ✭ 21 (+0%)
Mutual labels:  sensu-go
docker-alerta
Run alerta in a docker container
Stars: ✭ 121 (+476.19%)
Mutual labels:  alerta
Goss
Quick and Easy server testing/validation
Stars: ✭ 4,550 (+21566.67%)
Mutual labels:  sensu
vagrant-try-alerta
Vagrant Boxes of alerta with other popular monitoring tools eg. Nagios, Riemann, Zabbix, Sensu, Kibana
Stars: ✭ 16 (-23.81%)
Mutual labels:  alerta
sensu-plugins-sensu
This plugin provides monitoring and metrics for Sensu.
Stars: ✭ 13 (-38.1%)
Mutual labels:  sensu-handler
angular-alerta-webui
Alerta Web UI 6.0 (DEPRECATED) - See latest version Web UI 7.0
Stars: ✭ 69 (+228.57%)
Mutual labels:  alerta

Sensu Go Alerta Handler

Bonsai Asset Badge build-test

Forward Sensu events to Alerta.

Installation

Download the latest version of the sensu-alerta-handler from releases, or create an executable script from this source.

From the local path of the sensu-alerta-handler repository:

go build -o /usr/local/bin/sensu-alerta-handler main.go

Configuration

Example Sensu Go handler definition:

alerta-handler.json

{
    "api_version": "core/v2",
    "type": "Handler",
    "metadata": {
        "namespace": "default",
        "name": "alerta"
    },
    "spec": {
        "type": "pipe",
        "command": "sensu-alerta-handler --endpoint-url https://alerta.example.com/api",
        "env_vars": [
            "ALERTA_API_KEY=G25k9JR2yoZIcHROQGS477nk_Riw4CIghFC6j9NE"
        ],

        "timeout": 30,
        "filters": [
            "is_incident"
        ]
    }
}

Create the handler resource:

$ sensuctl create -f alerta-handler.json

Example Sensu Go check definition:

{
    "api_version": "core/v2",
    "type": "CheckConfig",
    "metadata": {
        "namespace": "default",
        "name": "dummy-app-healthz"
    },
    "spec": {
        "command": "check-http -u http://localhost:8080/healthz",
        "subscriptions":[
            "dummy"
        ],
        "publish": true,
        "interval": 10,
        "handlers": [
            "alerta"
        ]
    }
}

Usage Examples

Help:

The Sensu Go Alerta handler for event forwarding

Usage:
  sensu-alerta-handler [flags]

Flags:
  -K, --api-key string        API key for authenticated access
      --endpoint-url string   API endpoint URL (default "http://localhost:8080")
  -E, --environment string    Environment eg. Production, Development (default "Entity Namespace")
  -h, --help                  help for sensu-alerta-handler

Contributing

See https://github.com/sensu/sensu-go/blob/master/CONTRIBUTING.md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].