Sign inSign up

lovoo/opsgenie-cardiogram

By lovoo

•Updated about 10 years ago

Simple Heartbeat Reporter for Opsgenie

Image
0

1.5K

lovoo/opsgenie-cardiogram repository overview

⁠Opsgenie Cardiogram

Build Status Docker Automated Build

Simple Heartbeat Reporter for Opsgenie

⁠Run

# Plain
./opsgenie-cardiogram -config /path/to/config.yml

# Docker (default config.yml expected in /data)
docker run -d --name opsgenie-cardiogram -v /dir/to/config:/data lovoo/opsgenie-cardiogram:latest

⁠Configuration

# default heartbeat api
url: https://api.opsgenie.com/v1/json/heartbeat/send
# generated api key from opsgenie integration
api_key: "oases-nairy-uncini-jawed-guglet-areca-azured"
# timeout for http client
timeout: 10s
# interval for sending the heartbeat
interval: 1m
targets:
  -
    # name of the configured heartbeat
    name: Google
    # url to test for the heartbeat
    url: https://www.google.com/
    # expected response status code
    status_code: 200

⁠Build

make build

⁠Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Tag summary

Content type

Image

Digest

Size

5.8 MB

Last updated

about 10 years ago

docker pull lovoo/opsgenie-cardiogram