License
MIT License
master · public · Published almost 6 years ago
A Sensu handler plugin for sending notifications via Pushover.
Download the latest version of the sensu-pushover-handler from releases,
or create an executable script from this source.
From the local path of the sensu-pushover-handler repository:
go build -o /usr/local/bin/sensu-pushover-handler main.go
Example Sensu Go definition:
{
"api_version": "core/v2",
"type": "Handler",
"metadata": {
"namespace": "default",
"name": "pushover"
},
"spec": {
"type": "pipe",
"command": "sensu-pushover-handler",
"timeout": 10,
"env_vars": [
"PUSHOVER_APP_TOKEN=your_app_token_here",
"PUSHOVER_USER_KEY=your_user_key_here"
],
"filters": [
"is_incident",
"not_silenced"
],
"runtime_assets": [ "sensu-pushover-handler" ]
}
}
Help:
The Sensu Go handler for Pushover
Usage:
sensu-pushover-handler [flags]
Flags:
-a, --app.token string Pushover v1 API app token, use default from PUSHOVER_APP_TOKEN env var
-h, --help help for sensu-pushover-handler
-u, --user.key string Pushover v1 API user key, use default from PUSHOVER_USER_KEY env var
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.
×