License
MIT License
v1.0.3 · public · Published over 5 years ago
Forward Sensu events to Alerta.
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
Example Sensu Go handler definition:
{
"api_version": "core/v2",
"type": "Handler",
"metadata": {
"namespace": "default",
"name": "alerta"
},
"spec": {
"...": "..."
}
}
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.
-h, --help help for sensu-alerta-handler
See https://github.com/sensu/sensu-go/blob/master/CONTRIBUTING.md
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.
×