Commit graph

99 commits

Author SHA1 Message Date
Pēteris Caune
da613963e9 Email alerts and monthly reports have links to Log pages.
Don't show ping URLs -- gmail converts them to clickable links, and people click on them.
2016-03-08 10:35:39 +02:00
Spencer Sun
0ff2f1a9c7 Add VictorOps integration 2016-02-03 17:35:29 -05:00
Pēteris Caune
a71ce64579 Fix Pushover and HipChat. 2016-01-31 20:41:04 +02:00
Pēteris Caune
2c04a42a57 Display last notification in Integrations page. 2016-01-31 20:29:49 +02:00
Pēteris Caune
c7a651c330 sendalerts management command prints error messages to stdout. 2016-01-31 19:48:21 +02:00
Pēteris Caune
156f4dbeea More tests for notifications. 2016-01-31 19:30:02 +02:00
Pēteris Caune
90d7806783 More tests for notifications. 2016-01-31 18:54:35 +02:00
Pēteris Caune
21a042aa16 Move notification logic to hc.api.transports. Don't use "paused" state for checks. 2016-01-31 18:35:24 +02:00
Pēteris Caune
63cc186fa3 Nicer slack messages. 2016-01-23 15:18:59 +02:00
Love Sharma
35e9c17f74 Add healthcheck UA to inform server about identity
Adding "healthcheck.io" as User-Agent to inform webhook handler server about request is specific from healthcheck.
2016-01-22 13:57:20 +08:00
Pēteris Caune
1e3285423f Ping objects get "n" field, their serial numbers, used in "log page". "fillnpings" management command initially populates this field (it touches every ping so it takes time to complete).
Check.n_pings now stores the total number of pings the check has ever received. Running "prunepings" command doesn't affect this field. +a new "prunepingsslow" command which works in smaller chunks so is appropriate for initial pruning of a huge api_ping table.
2016-01-03 18:11:12 +02:00
Pēteris Caune
b9ae8d464c Sort by id, not created, when pruning pings. 2016-01-02 22:27:25 +02:00
Pēteris Caune
940534e563 Test for check.prune_pings() method 2016-01-02 21:54:04 +02:00
Pēteris Caune
b7fcaac8ae prunepings and prunechecks management commands 2015-12-30 21:11:00 +02:00
Pēteris Caune
15478d414c Add n_pings field to Check model. This holds a continually updated count of api_ping entries for each check. 2015-12-30 14:30:38 +02:00
Pēteris Caune
35aed93b7f New feature: attaching tags to checks, and filtering checks list by their tags. 2015-12-14 12:52:42 +02:00
Pēteris Caune
d51d7ed181 Remove body field from Ping model. 2015-12-12 17:03:34 +02:00
Pēteris Caune
3ba47b1a67 Style tweaks for PushOver integration 2015-12-02 14:46:41 +02:00
Thomas Jost
280bd6a2a2 Handle Pushover emergency notifications 2015-11-25 16:58:52 +01:00
Thomas Jost
85c1f65887 Add Pushover integration 2015-11-25 16:06:24 +01:00
Pēteris Caune
947f686c61 Organize imports using isort. 2015-11-02 23:55:33 +02:00
Di Wu
93c71ad10e timeout on all the notifications 2015-10-30 23:47:07 -07:00
Pēteris Caune
c1840a92bd Checks now have a new status: "paused". sendalerts management command will mark checks as paused if sending a notification throws exception. This should avoid potential infinite loops of sendalerts crashes/respawns. 2015-10-30 14:21:12 +02:00
Pēteris Caune
a4afd70fef Add index on api_check (status, user, alert_after), will be used in sendalerts management command. 2015-10-22 13:15:57 +03:00
Pēteris Caune
88bd760925 api_check.code should be indexed 2015-10-19 23:41:04 +03:00
Pēteris Caune
b39425e8a1 Rename channels to integrations. Move "Add Integration" functionality to separate pages to make room for setup instructions. 2015-10-05 23:22:14 +03:00
Pēteris Caune
ebe5d2d91d HipChat integration 2015-10-01 23:47:03 +03:00
Pēteris Caune
7bb17cefad Add Slack integration 2015-09-30 22:19:59 +03:00
Pēteris Caune
cee2b52d3e More tests. 2015-08-18 21:17:13 +03:00
Pēteris Caune
52c6beccef Webhooks have timeout 2015-08-18 19:41:48 +03:00
Pēteris Caune
7240ce9ba8 Fix bug with pinging webhook 2015-08-14 12:37:02 +03:00
Pēteris Caune
f0089e2cd2 Send emails using djmail, can verify email addresses in /channels/ 2015-08-14 10:56:07 +03:00
Pēteris Caune
8355d7c13b Adding tests for POST /channels/ 2015-08-13 11:22:10 +03:00
Pēteris Caune
061fc4f6a9 Notification Channels WIP 2015-08-12 23:51:45 +03:00
Pēteris Caune
3bafac24ba Split style.css in smaller files. Email instructions in welcome page. 2015-08-01 21:56:05 +03:00
Pēteris Caune
b75ab00d18 Webhook for Mandrill inbound email notifications 2015-08-01 15:55:43 +03:00
Pēteris Caune
f640b9f3be Make ua column wider, and truncate its values for very long UA strings 2015-08-01 15:20:11 +03:00
Pēteris Caune
3550218129 Keep a log of pings 2015-07-27 19:46:38 +03:00
Pēteris Caune
4ccbac7e4a Formatting of durations 2015-07-16 10:51:16 +03:00
Pēteris Caune
fe78275d3f Display "late" status in My Checks page and in alerts. 2015-07-16 10:14:32 +03:00
Pēteris Caune
0af1fb782a Add ability to set grace period 2015-07-16 01:24:56 +03:00
Pēteris Caune
2abec6ff6a Nicer emails 2015-07-11 14:19:02 +03:00
Pēteris Caune
c54cb6469d Send emails using djrill (Mandrill) 2015-07-11 11:45:38 +03:00
Pēteris Caune
3c2c71e907 PING_ENDPOINT in settings, fix terminology 2015-07-01 20:09:59 +03:00
Pēteris Caune
7db4185267 Better welcome page. 2015-07-01 00:28:13 +03:00
Pēteris Caune
31119fd11f Can edit timeouts 2015-06-18 13:09:17 +03:00
Pēteris Caune
609d803e63 Editable name field. 2015-06-16 16:21:48 +03:00
Pēteris Caune
aad4bd2ffb Background worker to send notifications 2015-06-16 11:33:12 +03:00
Pēteris Caune
c8b24495b9 Renames 2015-06-12 19:33:15 +03:00
Renamed from hc/checks/models.py (Browse further)