github.com/Luzifer/mondash-opsgenie


Properties

Last built 11 months ago using go version go1.6 linux/amd64 and 139 seconds of time

Downloads
Filename
File Size
 
mondash-opsgenie_master_darwin-386.zip
2.8MiB
mondash-opsgenie_master_darwin-amd64.zip
3.0MiB
mondash-opsgenie_master_linux-386.zip
2.8MiB
mondash-opsgenie_master_linux-amd64.zip
3.0MiB
mondash-opsgenie_master_linux-arm.zip
2.7MiB
mondash-opsgenie_master_windows-386.zip
2.8MiB
mondash-opsgenie_master_windows-amd64.zip
3.0MiB
Project-Readme for this version

Luzifer / mondash-opsgenie

This small helper allows you to get notified about bad things happening on your MonDash dashboard using OpsGenie. To make use of it you need to have version 1.7.0 or higher of MonDash running or use the hosted version at mondash.org.

Usage

You will need following ingrediences:

  • An OpsGenie API key from an “API” integration
  • The board ID of your MonDash dashboard
  • The URL of the MonDash instance (optional)

To set up just create a simple cronjob:

$ mondash-opsgenie --mondash-board=<your-board-id> --opsgenie-key=<your-opsgenie-key>

This will fetch the current data of the dashboard, evaluate whether there are metrics needing an alert and then create / close the alert in your OpsGenie account.

For detailed settings please refer to the --help:

# mondash-opsgenie --help
Usage of mondash-opsgenie:
  -a, --alert=[Critical,Unknown]: List of status to trigger alerts for
      --mondash-board="": Board ID of the mondash board to monitor
      --mondash-url="https://mondash.org/": URL of the mondash installation
  -o, --ok=[OK]: List of status to resolve alerts for
      --opsgenie-key="": API-Key for OpsGenie API integration