Commit Graph

1023 Commits

Author SHA1 Message Date
Miek Gieben
48ba027cc5 Alertmanager: Add OpsGenie Webhook notification.
This adds notifications to OpsGenie. It is using the webhook api. The
notification_config should look like

  opsgenie_config {
    api_key: "bliep"
    teams: "team-one"
    send_resolved: true
  }

It further sets the alert fingerprint in Alias and adds all the
alert labels into the Details field.

See https://www.opsgenie.com/docs/web-api/alert-api#createAlertRequest
for the details.

It can also close the alert by using the Alias field again. See
https://www.opsgenie.com/docs/web-api/alert-api#closeAlertRequest

And it adds a 'labels_to_tag' that allows you to specify for which
label names you want to create a tag with the value of that label.
This makes routing alerts easier.
2015-07-29 17:17:33 +01:00
Julius Volz
2eb7962ed0 Merge pull request #101 from farcaller/patch-1
Made slack timeout configurable
2015-07-27 12:40:41 +02:00
Vladimir Pouzanov
64e606d8f1 Made slack timeout configurable 2015-07-27 11:23:29 +01:00
Julius Volz
412d63a6dc Merge pull request #104 from farcaller/patch-3
Fixed pushover api call with retry and expire flags
2015-07-27 11:41:20 +02:00
Vladimir Pouzanov
74cf7b4000 Fixed pushover api call with retry and expire flags
Fixes #100
2015-07-25 08:49:24 +01:00
Julius Volz
c60e6fae14 Merge pull request #102 from pdf/gh_95
Add web.external-url flag
2015-07-25 01:49:11 +02:00
Peter Fern
ee3dc4804c Add web.external-url flag
Allows setting the full external URL for accessing Alertmanager, takes
precedence over web.hostname.

Fixes #95
2015-07-24 15:34:10 +10:00
Julius Volz
80743177b8 Merge pull request #80 from t0mk/html_template
HTML template for notifications with FlowDock
2015-07-22 12:58:25 +02:00
Björn Rabenstein
c8da387a1f Merge pull request #96 from miekg/invalid-channel
Slack notification: add channel
2015-07-21 11:18:06 +02:00
Miek Gieben
abacb716f5 Slack notification: add channel
Currently a failure is logged as:
 msg="Sent Slack notification: 17555453829685976206: HTTP 500: Invalid channel specified"

 Add the actual channel in there to aid in debugging.
2015-07-21 09:57:08 +01:00
Tomas Karasek
b0a879d416 add test for Flowdock notification 2015-07-15 16:24:57 +03:00
Tomas Karasek
355565defc html template defined and plugged to FlowDock notifier 2015-07-15 16:24:41 +03:00
Julius Volz
7859ccb570 Merge pull request #92 from sdurrheimer/master
New Dockerfile using alpine-golang-make-onbuild base image
2015-07-12 13:16:48 -06:00
Fabian Reinartz
81626411f9 Apply inhibition during notification filtering 2015-07-11 08:39:16 -06:00
Steve Durrheimer
778bc4fc24 Add Docker instructions to the README 2015-07-11 13:14:02 +02:00
Fabian Reinartz
301ae9ca1e Add inhibition rule coniguration 2015-07-10 19:25:56 +02:00
Fabian Reinartz
99269433f5 implement support for persistence via LevelDB 2015-07-10 18:27:17 +02:00
Fabian Reinartz
7a510669cb filter out silenced alerts and save notification state 2015-07-09 07:01:38 -06:00
Steve Durrheimer
a7b8977220 New Dockerfile using alpine-golang-make-onbuild base image 2015-07-09 08:56:45 +02:00
Steve Durrheimer
0aa7f442f8 Update Makefile.COMMON from prometheus/utils 2015-07-09 08:56:45 +02:00
Julius Volz
b7919b338b Merge pull request #90 from prometheus/pushover-priority
Set Pushover notification priority to "emergency".
2015-07-09 00:10:01 -06:00
Julius Volz
e484620a63 Set Pushover notification priority to "emergency".
Fixes https://github.com/prometheus/alertmanager/issues/89
2015-07-08 18:11:47 -06:00
Fabian Reinartz
1ffa8b78d3 calculate stale resolve time on initial insert 2015-07-07 10:00:50 +02:00
Fabian Reinartz
2533f63a2d add experimental alert state backed by CRDTs 2015-07-07 09:47:09 +02:00
Fabian Reinartz
73ecc0deff add crdt package with LWW set 2015-07-07 09:46:39 +02:00
Fabian Reinartz
6406631e81 delete resolved alerts during cleanup 2015-07-04 15:50:42 +02:00
Fabian Reinartz
dfdf8f452a make auto-resolving time-independent 2015-07-04 15:12:13 +02:00
Fabian Reinartz
6a82b58efe allow multiple alert subscribers, improve cleanup 2015-07-04 14:59:52 +02:00
Fabian Reinartz
d5ff099d05 cleanup dispatcher notifications, fix default route opts 2015-07-04 14:41:10 +02:00
Fabian Reinartz
b4755b0046 remove old AggrConfig 2015-07-04 14:40:32 +02:00
Fabian Reinartz
330bb05f9f store creation and resolve times in alert 2015-07-04 14:05:04 +02:00
Fabian Reinartz
3314ffe833 return GetAll alerts sorted by time 2015-07-04 13:02:49 +02:00
Fabian Reinartz
4aa5dcccf3 fix aggregation group handling and state 2015-07-04 12:52:53 +02:00
Fabian Reinartz
dba2b85318 add group interval to route options 2015-07-04 12:51:47 +02:00
Fabian Reinartz
41c9dcc383 improve dispatcher code and fix concurrency 2015-07-02 20:48:21 +02:00
Fabian Reinartz
2bb6233dd8 add initial dispatcher and config storage 2015-07-02 18:38:05 +02:00
Fabian Reinartz
238981366e add memory alert state and alert API endpoints 2015-07-01 18:36:37 +02:00
Fabian Reinartz
fa751b4b5e fix continue route bug, add tests 2015-07-01 18:24:08 +02:00
Fabian Reinartz
bbe679b432 initial alert routing tree 2015-07-01 17:56:53 +02:00
Fabian Reinartz
59b28fedda ignore YAML files 2015-07-01 17:56:38 +02:00
Fabian Reinartz
d4c90e9e28 Add silence API and memory storage 2015-07-01 13:17:08 +02:00
Fabian Reinartz
e730242749 initial commit with basic files and types 2015-06-30 14:29:30 +02:00
Fabian Reinartz
4c58dc90e6 wipe everything 2015-06-30 12:34:45 +02:00
Fabian Reinartz
6b487252a0 Merge pull request #86 from prometheus/fabxc/clnp
Use common/model and common/route
2015-06-30 12:12:11 +02:00
Fabian Reinartz
a266cb5afb switch to common/route wrapper 2015-06-30 12:10:13 +02:00
Fabian Reinartz
47967ba6e9 switch to common/model types 2015-06-30 08:43:38 +02:00
Fabian Reinartz
b8b6905447 Merge pull request #85 from prometheus/fabxc/ymlcfg
switch to YAML config
2015-06-29 18:55:15 +02:00
Fabian Reinartz
2e1a01b2fa switch to YAML config. 2015-06-29 18:53:47 +02:00
Fabian Reinartz
cb9c85ea5a config: add new YMAL config 2015-06-29 17:25:47 +02:00
Julius Volz
d91ac2ef11 Merge pull request #84 from prometheus/runbook-amurl
Add runbook and alertmanager URLs to PD+email notifications.
2015-06-25 18:53:28 +02:00