Commit Graph

88 Commits

Author SHA1 Message Date
Fabian Reinartz 81626411f9 Apply inhibition during notification filtering 2015-07-11 08:39:16 -06: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
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 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 4c58dc90e6 wipe everything 2015-06-30 12:34:45 +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 2e1a01b2fa switch to YAML config. 2015-06-29 18:53:47 +02:00
Julius Volz 35b3741756 Add runbook and alertmanager URLs to PD+email notifications.
I don't have a way to test all the other notification mechanisms, which
is something we should fix in general. For now, only PagerDuty and email
have the new runbook and alertmanager URL information.

Not very happy with the overall cleanliness of this, and the codebase
overall, of course, but since we need this urgently tomorrow, I hope
this is fine for now.
2015-06-25 18:18:08 +02:00
William Rouesnel 03bc356197 Fix email template body writer being called with parameters in wrong order. 2015-06-10 15:00:09 +10:00
Brian Brazil 5de8fccdb4 Change case of alert json to initial lower letter.
Matching change to what's on the prometheus server side.
2015-05-30 14:37:26 +01:00
Julius Volz 6f0fa88489 Merge pull request #62 from SQiShER/master
Added support for @mentions in HipChat notifications
2015-05-28 14:55:28 +02:00
Brian Brazil 89b13e1c73 Add a generic webhook notifier.
This allows for use cases such as kicking off shell scripts,
logging notifications, or anything else the alertmanager doesn't
directly support.
2015-05-27 23:57:18 +01:00
Daniel Bechler 2d7992a59b Added support for @mentions in HipChat notifications 2015-05-24 00:11:13 +02:00
Julius Volz b4648a9e33 Migrate logging to use `prometheus/log`. 2015-05-23 23:21:44 +02:00
Fabian Reinartz 5b0e343ec4 Merge pull request #64 from novilabs/pushover-status-notification
add status to pushover title
2015-05-23 09:14:03 +02:00
Tomas Karasek 5b1c59f0cc rewrote to better fit in exisitng code 2015-05-19 14:31:06 +03:00
Tomas Karasek 9632bf24f8 more readable HTTP response logging 2015-05-19 11:38:28 +03:00
Tomas Karasek 48cdc777ce improve Flowdock PR based on julius' comments 2015-05-19 11:37:22 +03:00
Cameron Davison ac2e3be7b7 add status to title, and Assume that the summary is the message, and that the alertname is a very short concise name for the alert 2015-05-18 15:53:28 -05:00
Tomas Karasek bfcded79e8 Added flowdock notifier 2015-05-18 19:07:56 +03:00
Steve Durrheimer df0ce42d42 Add simple support for Slack notifications 2015-05-10 22:21:18 +02:00
Cameron Davison fc6a513f7f fix notifier, return means no other notifications will work. instead continue in case other notifications should alert 2015-04-27 16:17:55 -05:00
Johannes 'fish' Ziemke 735e8075d2 Add support to notify for resolved alerts
Change-Id: I31fc51d2a47d92e9d7ac2ba224c7fce02b28444e
2015-04-24 19:29:52 +02:00
Ceesjan Luiten c12fa13a06 Visually distinguish alertname and summary 2015-04-21 19:28:05 +02:00
Ceesjan Luiten d36de99079 Add date header to please strict mail servers 2015-04-17 21:56:53 +02:00
Julius Volz 91b8b8847f Make notification flag names consistent with Prometheus style. 2015-04-14 13:42:29 +02:00
Cameron Davison f4f6ceccc4 Add simple support for HipChat notifications 2015-04-13 17:49:46 -05:00
Logan Hanks c43957beb2 Separate out SMTP auth logic and test it. 2015-03-13 08:14:39 -07:00
Logan Hanks 183ee95a3e Check error on SplitHostPort. 2015-03-12 20:57:29 -07:00
Logan Hanks e746596de0 Fix logic error in auth mechanism loop. 2015-03-12 20:55:31 -07:00
Logan Hanks 6d140d7571 Add more general PLAIN/CRAM-MD5 auth support. 2015-03-12 16:54:40 -07:00
Logan Hanks f6ba424325 Replace -smtpAuth flag with SMTP_AUTH env var. 2015-03-12 13:01:16 -07:00
Logan Hanks 4883eaae5e Add -smtpAuth flag. 2015-03-12 11:19:48 -07:00