Last active
April 18, 2016 21:30
-
-
Save smetj/444f981d39f5897741ecc33788f1f3f5 to your computer and use it in GitHub Desktop.
Quis custodiet ipsos custodes: Monitoring a poll-based monitoring solution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules: | |
input: | |
module: wishbone.input.httpserver | |
fresh: | |
module: wishbone.flow.fresh | |
arguments: | |
timeout: 120 | |
timeout_payload: | |
service_key: abcdefghijklmnopqrstuvwxyz | |
event_type: trigger | |
incident_key: wishbone-instance-1 | |
description: Incoming data stream interrupted | |
recovery_payload: | |
service_key: abcdefghijklmnopqrstuvwxyz | |
event_type: resolve | |
incident_key: wishbone-instance-1 | |
description: Incoming data stream recovered | |
json: | |
module: wishbone.encode.json | |
pagerduty: | |
module: wishbone.output.http | |
arguments: | |
method: POST | |
url: https://events.pagerduty.com/generic/2010-04-15/create_event.json | |
routingtable: | |
- input.outbox -> fresh.inbox | |
- fresh.timeout -> json.inbox | |
- json.outbox -> pagerduty.inbox | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment