• Stars
    star
    135
  • Rank 267,761 (Top 6 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Wake someone up!

Waker Build Status

Alert Escalation System

Overview

Tutorial

1. (Optional) Configure auth provider

You can use external auth provider optionally. Currently, Google Auth is only supported (Patches are welcome :) )

$ echo 'GOOGLE_CLIENT_ID=...' >> .env
$ echo 'GOOGLE_CLIENT_SECRET=...' >> .env
$ echo 'GOOGLE_DOMAIN=...' >> .env # If you restrict to use Google Apps domain

2. Start the server

$ bundle install
$ foreman start

It starts an application server and a Sidekiq worker.

3. (If you uses auth provider) Log in

Visit http://localhost:3000 and log in with your credentials. A new user account is automatically created and suspended by default. You can activate a user from http://localhost:3000/users but you have to activate it from rails console because you are the first user:

$ bundle exec rails c
> User.first.update!(active: true)

4. Create users

Visit http://localhost:3000/users/new and create new users.

5. Create a notifier provider

Visit http://localhost:3000/notifier_providers/new and create a notifier provider. See Notifier Providers section for detailed information.

6. Create a notifier

Visit http://localhost:3000/notifiers/new and create a notifier. See Notifier section for detailed information.

7. Create an escalation series

Visit http://localhost:3000/escalation_series/new and create a escalation series. Escalation series is a series of escalations.

8. Create escalations

Visit http://localhost:3000/escalations/new and create escalations.

  • Escalate to: Who gets escalated incidents
  • Escalate after sec: Seconds to escalate incidents since the incidents created

9. Create a topic

Visit http://localhost:3000/topics/new and create topics.

10. Send alerts to the topic

Suppoted alerts generaters are below:

  • Mailgun ( http://localhost:3000/topics/1/mailgun )
  • Mackerel ( http://localhost:3000/topics/1/mackerel )
  • Alertmanager ( http://localhost:3000/topics/1/alertmanager )
  • Slack( http://localhost:3000/topics/1/slack )

If you want to use Mailgun, you can configure Mailgun route setting with Mailgun endpoint you can see in http://localhost:3000/topics/1/mailgun

Configuration

Notifier Providers

HipChat

  • api_token
  • api_version: v1 or v2

Twilio

  • account_sid
  • auth_token
  • from: Phone number

Mailgun

  • api_key
  • from: Email address

Notifiers

Common fields

These are supported by all notifier provider

or_conditions:
- japanese_weekday: true
  not_between: 9:30+0900-18:30+0900
- not_japanese_weekday: true

HipChat

  • room: Room name or ID

Twilio

  • to: Phone number

Mailgun

  • to: Email address

More Repositories

1

infrataster

Infrastructure Behavior Testing Framework
Ruby
316
star
2

spotscaler

Auto scaling for Amazon EC2 using spot instances
Go
69
star
3

mallet

TCP tunnel that works like VPN
Go
68
star
4

github_trends_rss

Alternative: https://mshibanami.github.io/GitHubTrendingRSS/
JavaScript
50
star
5

prometheus-query

CLI client to query Prometheus
Go
40
star
6

prometheus-tsdb-dump

prometheus-tsdb-dump reads a Prometheus TSDB block and writes metrics
Go
24
star
7

simproxy

Simple HTTP balancer (reverse proxy)
Go
23
star
8

fluent-plugin-dogstatsd

Fluend plugin for Dogstatsd, that is statsd server for Datadog.
Ruby
20
star
9

zabbix_graph

Ruby
9
star
10

itamae-server

Server for Itamae (THIS IS NOT PRODUCTION-READY)
Ruby
7
star
11

go-gist

Gist Command written in Go
Go
6
star
12

isucon7q

Perl
6
star
13

git-commit-autouser

git-commit with setting committer and author automatically
Ruby
6
star
14

infrataster-plugin-mysql

MySQL plugin for Infrataster
Ruby
5
star
15

promindexmutator

Mutator for Prometheus TSDB index
Go
5
star
16

peco_selector

Ruby
5
star
17

chrome-extension-ankinow

TypeScript
5
star
18

itamae-plugin-resource-cron

Ruby
5
star
19

chef-handler-fluentd

Handler for Chef to send logs to Fluentd
Ruby
4
star
20

dokku-nsinit

Dokku plugin to execute commmands in the Docker containers.
Shell
4
star
21

smock

Go
4
star
22

schash

Ruby hash validator
Ruby
4
star
23

misc

Go
4
star
24

ec2-snapshot-replicator

Replicate and backup EC2 snapshots to another region!
Ruby
4
star
25

vagrant-syllabus-provisioner

This plugin installs a provisioner that allows Syllabus to provision machines.
Ruby
4
star
26

ruboty-rss

RSS Watcher for Ruboty
Ruby
4
star
27

ruboty-redmine

Ruby
3
star
28

irkit-web

Ruby
3
star
29

vagrant-docker-registry

docker-registry with vagrant
3
star
30

itamae-client

Ruby
2
star
31

prometheus-remote-s3

Go
2
star
32

paramedic

A tool to diagnose and remediate instances, using Amazon EC2 Systems Manager
Go
2
star
33

confit

Download config files from S3.
Go
2
star
34

FacebookManager-deprecated

a wrapper of facebook ios sdk
Objective-C
2
star
35

consul-lock-ruby

`consul lock` in Ruby - THIS IS NOT READY FOR USE
Ruby
2
star
36

chatwork_bridge

ChatWork -> {Mail,STDOUT,...}
Ruby
2
star
37

gdr

CLI tool for Google Drive
Go
2
star
38

kitchen-vagrant_sandbox

Vagrant driver for Kitchen (with sandbox)
Ruby
1
star
39

ImageCacheWithoutARC

Cache of UIImage. If there isn't the image in the cache, ImageCache class automatically download it.
Objective-C
1
star
40

github-api-auth-proxy

Go
1
star
41

opencv_on_jruby

OpenCV java binding sample on JRuby
Ruby
1
star
42

rsay

Remote say command
Go
1
star
43

twinaxos

JavaScript
1
star
44

hello-sinatra

Ruby
1
star
45

vpasscsv2qif

Convert CSV file which is generated by vpass(VISA) to QIF file.
Python
1
star
46

paramedic-agent

An agent for https://github.com/ryotarai/paramedic
Go
1
star
47

kubeoidc

OpenID Connect CLI client for kubectl
Go
1
star
48

dockertie

Tiny Docker coordinator
Go
1
star
49

ec2-describe-instances-go

Go
1
star
50

prometheus-query-proxy

Go
1
star
51

prometheus-remote-memory

Go
1
star
52

chromium_remote_debugging

Ruby
1
star
53

BagOfFeatureSample

C++
1
star
54

prom-downsampler

Downsampler for Prometheus TSDB block
Go
1
star
55

pasteit

Ruby
1
star
56

kube-daemonset-proxy

HTTP proxy to Pods under Daemonset
JavaScript
1
star
57

vscode-eda

TypeScript
1
star
58

procon-challenge

A repository for practice of "Programming Contest Challenge Book" (プログラミングコンテストチャレンジブック)
Ruby
1
star