Commit Graph

274 Commits

Author SHA1 Message Date
Seb Dijols 7d512eba56 Add support for Teams and Tags to OpsGenie notifier
Add Teams and Tags templated strings to OpsGenieConfig. Output must be comma-separated values.
2016-03-16 09:54:21 +00:00
Fabian Reinartz 1748a0e304 Merge pull request #258 from stapelberg/pushover
Re-implement pushover notifications
2016-03-04 10:02:53 +01:00
Brian Brazil dff7953baa Make the first letter title case, not all of them. 2016-03-03 14:06:11 +00:00
Michael Stapelberg 4c0aa00bcf Re-implement pushover notifications
This feature was dropped during the rewrite, but I use and like
Pushover.

fixes #107
2016-03-03 09:07:33 +01:00
Alexis Savin b364ca535e Adding support for slack icon_emoji in slack config.
```
slack_configs:
  - send_resolved: true
    username: 'Prometheus'
    channel: '#monitoring'
    icon_emoji: ':prometheus:'
    api_url: 'https://hooks.slack.com/services/<token>'
```
2016-02-16 11:54:30 +01:00
Johannes 'fish' Ziemke e5925db736 Fix indent 2016-01-28 13:44:21 +01:00
Fabian Reinartz 11fa642998 Add routing validation
The root route in the configuration must not exclude any alerts,
i.e. not have any matchers.
All receivers referenced in the routing tree are validated to exist.
2016-01-27 14:27:19 +01:00
louis 960acdba65 remove checking auth token in config/notifiers.go 2016-01-06 16:25:34 +01:00
Fabian Reinartz d7791329e7 Merge pull request #208 from 0x46616c6b/hipchat-integration
Readd Hipchat Integration
2016-01-06 11:29:41 +01:00
louis 23db37dc98 add hipchat room notifier 2016-01-05 20:52:08 +01:00
Brian Brazil 9a175d7b4f Don't send resolved to Slack by default
Slack is a general chat system, it has no notion
of resolved messages. Default it to false to avoid
spamming people as we do with all other such systems.
2016-01-05 18:01:21 +00:00
Fabian Reinartz d21d29ee58 Correctly parse send_resolved config field
Fixes #198
2015-12-23 08:31:50 +01:00
Fabian Reinartz 9b4479cb6b Move send_resolved parameter to notifier configuration 2015-12-17 13:43:56 +01:00
Fabian Reinartz 2a879f649f Fix email From configuration 2015-12-08 11:55:28 +01:00
Fabian Reinartz 7581d974ff Hide secret configuration data 2015-12-03 12:46:28 +01:00
Brian Brazil 24b2da9482 Fix typo in filename 2015-11-30 18:37:47 +00:00
Fabian Reinartz 18e9e728f8 Improve Slack integration 2015-11-30 13:52:41 +01:00
Fabian Reinartz 42b73a6291 Add missing template data argument 2015-11-30 11:21:08 +01:00
Fabian Reinartz 00b8a2ad03 Make resolve timeout configurable 2015-11-27 15:41:22 +01:00
Fabian Reinartz 9fbc76a52f Improve PagerDuty templating 2015-11-27 14:02:34 +01:00
Jimmi Dyson 7c9700e76c Correct error message for missing OpsGenie API key 2015-11-25 10:38:29 +00:00
Jimmi Dyson 3e7d614eb2 Add opsgenie notifier 2015-11-24 22:29:25 +00:00
beorn7 93ffa534a5 PR with changes after code review
Now to be reverse-reveiewed.
2015-11-23 18:24:57 +01:00
Fabian Reinartz 3386cea9df Anchor config regexes 2015-11-19 08:53:29 +01:00
Brian Brazil faa88831f4 First-pass at improving template system.
- Cut back to bare minimum to make the rest simpler
- Consistency in config naming
- Have one data strucutre that's the same for all templates
- Pass in common labels to templates
- Support templates almost everywhere
- Support multiple SMTP recipients
- Support non-ASCII SMTP headers
- Handle colour logic via templates
- Make $subjects have consistent output, go maps aren't sorted.
- Make tests pass when v6 is disabled
2015-11-18 14:59:05 +00:00
Fabian Reinartz d6611651c4 Fix unused import 2015-11-12 15:02:33 +01:00
Fabian Reinartz 3e685642c7 Fix golint issues in config/ 2015-11-12 12:57:20 +01:00
Fabian Reinartz dc656a44ea Adjust config fields to 'receiver' 2015-11-10 14:08:20 +01:00
Fabian Reinartz e4e594d826 Unify receiver naming 2015-11-10 13:47:04 +01:00
Fabian Reinartz 5ce39632f8 Fix go vet warnings 2015-11-05 10:25:25 +01:00
Fabian Reinartz cb0ecd9416 Alter config to have a root route 2015-10-19 16:52:54 +02:00
Fabian Reinartz ef0ee97781 Implement global routing options 2015-10-19 16:17:15 +02:00
Fabian Reinartz aead14a99f Implement initial PagerDuty notifications 2015-10-19 13:36:17 +02:00
Fabian Reinartz 6ff0cd94c5 Finalize PagerDuty config 2015-10-19 11:44:46 +02:00
Fabian Reinartz 0b818bac38 Implement global setting of notification parameters 2015-10-17 10:02:32 +02:00
Fabian Reinartz e77bda4e9f Fix inverted cleanup trigger, proper mail notifications 2015-10-16 17:45:21 +02:00
Fabian Reinartz ce15d774d6 Add hierarchical naming for templates 2015-10-11 17:09:59 +02:00
Fabian Reinartz 6e47e75ac5 Enhance email notifier templating 2015-10-11 12:34:05 +02:00
Fabian Reinartz f62dc65ff4 Implement initial email notifications 2015-10-09 12:03:15 +02:00
Fabian Reinartz 7ef293d9bc Make loadable templates configurable 2015-10-09 11:06:04 +02:00
Fabian Reinartz e209c8b4fc Outlined slack notification support 2015-10-09 10:48:25 +02:00
Fabian Reinartz d1379a3f71 Move repeat_interval and send_resolved to route configuration 2015-10-08 10:50:37 +02:00
Fabian Reinartz 24e3ff856d Standardize color handling 2015-10-01 15:25:12 +02:00
Fabian Reinartz 794b7c4a1a Fix configuration docs 2015-10-01 15:17:13 +02:00
Fabian Reinartz a540d672a3 Fix notificatio config fields 2015-09-29 20:45:23 +02:00
Fabian Reinartz 797bfa1468 Fix group and repeat interval differentiation 2015-09-26 18:03:54 +02:00
Fabian Reinartz ebb7740fb9 Move config into own package and refactor 2015-09-26 11:14:18 +02:00
Fabian Reinartz bbe679b432 initial alert routing tree 2015-07-01 17:56:53 +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 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
Benjamin Staffin ff4763ea37 Update fsnotify to its new source location 2015-05-23 16:04:34 -07: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
Tomas Karasek 5b1c59f0cc rewrote to better fit in exisitng code 2015-05-19 14:31:06 +03:00
Tomas Karasek 48cdc777ce improve Flowdock PR based on julius' comments 2015-05-19 11:37:22 +03:00
Tomas Karasek ffd54a3ee6 added flowdock block to sample config 2015-05-18 19:17:19 +03: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
Julius Volz fd2a1e6099 Update hosting location of protobuf package. 2015-04-29 22:05:32 +02:00
Johannes 'fish' Ziemke 735e8075d2 Add support to notify for resolved alerts
Change-Id: I31fc51d2a47d92e9d7ac2ba224c7fce02b28444e
2015-04-24 19:29:52 +02:00
Cameron Davison f4f6ceccc4 Add simple support for HipChat notifications 2015-04-13 17:49:46 -05:00
Anton Lindström a0c156e3e6 add pushover as notification method
This adds https://pushover.net/ as a way of notification.
2015-02-17 05:44:45 +00:00
Julius Volz 20b146657b Update HTTP/clientlib dependencies + cleanups.
Change-Id: I175ac4874b25358dd569866e3d575ba49e4357f2
2014-10-27 23:50:22 +01:00
Julius Volz 6d789102f9 Fix wrong repeat rate setting in config.go.
Change-Id: I362f4d2ad85eb21a64ac85814fdc2fa85da6a7f4
2013-09-11 17:55:47 +02:00
Julius Volz be0e958d8f Major rewrite of alertmanager, adding inhibit support.
Change-Id: If11f3aec70ba2ac816b9b824a387ffdd2e51790f
2013-09-11 15:34:02 +02:00
Julius Volz add9eb231d Add missing instrumentation.go file to Git.
Change-Id: I073511190b9e279ff2a01b92d3a466e9e8778b2f
2013-08-14 17:11:50 +02:00
Julius Volz dcfe55d7e6 Rename alert_manager to alertmanager. 2013-08-05 11:49:56 +02:00
Julius Volz 571931a052 Make config reloadable during runtime. 2013-08-02 17:25:39 +02:00
Julius Volz 02ab1f904a PR comment fixups. 2013-07-30 16:36:43 +02:00
Julius Volz 5d4f9f7e11 Add notification options to configuration. 2013-07-29 18:43:01 +02:00
Julius Volz db599b6d26 PR comments fixups. 2013-07-26 17:39:46 +02:00
Julius Volz 24ac73af5d Add loading configuration from file. 2013-07-26 16:12:11 +02:00