deadman

command module
v0.0.0-...-3513ee1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

README

Deadman's Snitch.

A dead simple snitch for the Prometheus Alertmanager. An external service is needed with deadman's snitch functionality to make sure the alerting pipeline is working. I could not find anything simple to use, so I made one.

To install: go get github.com/gouthamve/deadman

To run: ./deadman -h

To build Docker Image : make docker

Add this rule to the Prometheus server to continuously generate alerts:

- alert: DeadManBoy
  expr: vector(1)
  labels:
    severity: deadman
  annotations:
    description: This is a DeadMansSwitch meant to ensure that the entire Alerting
      pipeline is functional.

And in the Alertmanager cluster, add a route to send webhook notifications to our deployed deadman process.

- receiver: deadmans-switch
  group_wait: 0s
  group_interval: 0s
  repeat_interval: 15s
  match:
    severity: deadman

- name: deadmans-switch
  webhook_configs:
  - url: http://deadman-ip:9095

Run an alertmanager co-located with the deadman process which will notify you for all the alerts it receives.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL