Commit graph

73 commits

Author SHA1 Message Date
Pēteris Caune
0d24d650f2 "X-Bounce-Url" header in email messages. An API endpoint to handle bounce notifications. (#112) 2017-03-05 21:42:36 +02:00
Pēteris Caune
20b046cba7 API call for updating checks 2017-02-19 13:46:05 +02:00
Pēteris Caune
6a1c5dd3b7 "Unsubscribe" link in alert emails. Fixes #111 2017-01-28 12:17:22 +02:00
Pēteris Caune
c16eeda004 Webhooks support POST, cleanup. 2017-01-21 18:29:55 +02:00
Pēteris Caune
b93336a44d API support for cron syntax 2017-01-04 15:27:59 +02:00
Pēteris Caune
e5126925ec Discord integration 2016-12-30 14:26:54 +02:00
Pēteris Caune
c6d5e64286 Warn about obsolete update_alert_after trigger. 2016-12-14 12:20:08 +02:00
Pēteris Caune
5a4c3ce8ea Fix tests. 2016-12-13 21:37:29 +02:00
Pēteris Caune
6ada656df4 UI for entering cron expression and setting timezone. 2016-12-13 13:09:53 +02:00
Pēteris Caune
8633a5a892 Check model supports cron-style schedule 2016-12-05 11:08:06 +02:00
Pēteris Caune
ce57a1cc8b Calculate alert_after in Python code instead of a database trigger. This will allow complex calculations down the road. 2016-11-04 16:30:19 +02:00
Pēteris Caune
3456dd9f6e OpsGenie integration. Fixes #93 2016-10-17 13:25:14 +03:00
Pēteris Caune
ac4ba079d3 Validate channel values. Don't allow ftp addresses, http://localhost addresses, invalid email addresses 2016-10-02 17:52:48 +03:00
Pēteris Caune
965e32884b Django 1.10 2016-08-29 17:54:53 +03:00
Pēteris Caune
4f3365e235 Cleanup, handle "paused" state in email alerts and reports 2016-08-02 09:48:17 +03:00
Pēteris Caune
51cda31449 New feature: pause monitoring of an individual check. Fixes #67 2016-08-01 21:57:11 +03:00
Pēteris Caune
468c4b4b2c Pushbullet integration. Fixes #24 2016-07-30 18:01:47 +03:00
Till Kahlbrock
3da6a81ed5 exposes the status field over the rest api 2016-07-16 17:02:35 +02:00
Pēteris Caune
a97f23190e More data in API responses. 2016-07-09 17:06:00 +03:00
Pēteris Caune
760b5b4fdb Support for "Add to Slack" button 2016-07-08 00:05:05 +03:00
Pēteris Caune
ce23d65ebf Check.get_status() returns "up" also during grace period 2016-06-21 02:22:51 +03:00
Pēteris Caune
89d37f8202 Check.in_grace_period() should not blow up if last_ping is None 2016-06-20 22:32:32 +03:00
Pēteris Caune
1f70f56819 Check model gets "in_grace_period" method. It replaces the transient "grace" status. Also, remove references of the obsolete "paused" status. 2016-06-20 20:35:02 +03:00
Pēteris Caune
47f2105562 Variables in webhook URLs. Fixes #52 2016-04-16 01:14:28 +03:00
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