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
juliusv
942cd35dea
Merge pull request #33 from antonlindstrom/feature/notification-pushover
...
add pushover as notification method
2015-02-17 14:12:35 +01: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
5a1771be63
Add From/To (non-envelope) headers to email notifications.
2015-02-16 20:35:45 +01:00
Julius Volz
0642137a11
Fix alert expiry crashbug.
...
No, the array representation of a binary heap is of course *not* sorted.
Change-Id: Ib18c9b7e1bee24391f98d73135ac19c77026b168
2014-10-27 23:50:31 +01: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
7c21fb1f5a
Shorten links to Prometheus console in alertmanager UI.
...
Change-Id: Id22736ba573b031bc88b95442fa04e71893a52ae
2013-08-20 16:23:33 +02:00
Julius Volz
6b17d8cb6a
Remove empty lines between labels in email notifications.
...
Also add test for email formatting.
Change-Id: I309018b021730dee80f9f5bd05eb1a96bf0d237e
2013-08-16 15:14:56 +02:00
Julius Volz
1388e0f411
Add missing "continue".
...
Change-Id: I737d653e9b6cb09c44903570e9c361d72c9b004d
2013-08-15 10:39:46 +02:00
Julius Volz
9b1293e407
Implement smarthost-based email notifications.
...
Change-Id: Ib7dbd70ca96783f87cd44af0d7338aad754e4c72
2013-08-15 10:35:41 +02:00
Julius Volz
5fabdee4b0
Improve display of silence labels in index view.
2013-08-09 16:07:26 +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
1233f671c7
Persist silences to a local JSON file.
...
Load silences at startup from a local JSON file, write them out every 10
seconds.
It's not perfect (writes may possibly be interrupted/inconsistent if the
program is terminated while writing), but this is a temporary solution
to keep people from going crazy about lost silences until we have a
proper storage management. If the JSON file gets corrupted, the alert
manager simply starts up without any silences loaded.
2013-07-31 17:58:39 +02:00
Julius Volz
65f83e973e
Rename suppressions to silences everywhere.
...
This makes internal code consistent with the API and user interface.
2013-07-31 14:39:01 +02:00
Julius Volz
02ab1f904a
PR comment fixups.
2013-07-30 16:36:43 +02:00
Julius Volz
70e67b920c
Implement PagerDuty notifications.
2013-07-30 13:49:55 +02:00
Julius Volz
f431335c69
Add more required fields to Event.
...
This adds mandatory Summary and Description fields to Event.
As for the alert name, there were two options: keep it a separate field and
treat it separately everywhere (including in silence Filter matching), or
make it a required field in the event's labels. The latter was causing far
less trouble, so I went with that. The alertname label still doesn't have
a special meaning to most parts of the code, except that the API checks its
presence and the web UI displays it differently.
2013-07-30 13:18:11 +02:00
Julius Volz
a64c37bb03
Add missing format string and separators in event fingerprinting.
2013-07-30 13:12:24 +02:00
Julius Volz
5d4f9f7e11
Add notification options to configuration.
2013-07-29 18:43:01 +02:00
juliusv
3f9cc9e3e3
Merge pull request #5 from prometheus/refactor/editable-silences
...
Implement silence create/read/update/delete API and UI workflow.
2013-07-26 07:08:31 -07:00
Julius Volz
9b1a5aaf40
PR comment fixups.
2013-07-26 12:40:53 +02:00
Julius Volz
0c3c75edb3
Change Aggregator from channel-based to mutex-based.
...
This removes >100 lines of boilerplate code in the Aggregator alone.
2013-07-26 02:13:11 +02:00
Julius Volz
ba2247857d
Implement silence create/read/update/delete API and UI workflow.
2013-07-26 00:23:13 +02:00
Julius Volz
b49b7bba6f
Change Suppressor from channel-based to mutex-based, add tests.
...
Start with the simplest possible locking scheme: lock the object-global
mutex at the beginning of each user-facing method. This is equivalent to
implicit locking provided by the reactor.
The reasoning behind this change is the incredible overhead of the
previous reactor request/response code:
Overhead for current model for every user-facing method:
- 2 struct type definitions (req/resp)
- 1 channel
- 1 struct member definition site
- 1 channel init site
- 1 struct population site
- 1 struct servicing site
- 1 struct closing site
- 1 actual execution method
New lock-based code:
Per object: 1 lock
Per method:
- 1 taking the lock
- 1 actual execution method
2013-07-22 18:32:45 +02:00
Julius Volz
ed289d58f0
Remove crufty logging statement.
2013-07-22 16:26:54 +02:00
Julius Volz
71a9d4af35
Ensure minimum repeat rate for events.
2013-07-22 11:12:25 +02:00
Julius Volz
436643f94e
Cleanup: rename "element" to "event".
2013-07-22 11:12:25 +02:00
Julius Volz
24d9977c95
Run go fmt.
2013-07-22 11:02:45 +02:00
Julius Volz
ca1eb66df4
Add BUG comment about aggregator draining.
2013-07-19 18:10:40 +02:00