19 Commits

Author SHA1 Message Date
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
5a199fec4e management commands use self.stdout.write instead of print. Fixes #21 2015-12-30 21:56:03 +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
4da8ebec88 Management command to send monthly reports. 2015-12-18 03:53:00 +02:00
Di Wu
de203275c6 sendalerts concurrently 2015-10-30 23:44:08 -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
09c0b3e3a7 This was "run once" command that we don't need any more 2015-09-30 22:15:25 +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
86b3964bb9 SQLite version of trigger. 2015-08-13 21:49:54 +03:00
Pēteris Caune
71b5e1ef87 MySQL version of trigger, setup instructions in README 2015-07-20 23:56:54 +03:00
Pēteris Caune
e18fcf424f Style tweaks in timeout dialog, fix trigger. 2015-07-16 09:55:29 +03:00
Pēteris Caune
0af1fb782a Add ability to set grace period 2015-07-16 01:24:56 +03:00
Pēteris Caune
c54cb6469d Send emails using djrill (Mandrill) 2015-07-11 11:45:38 +03:00
Pēteris Caune
8628be8584 email_from setting, don't send alerts about checks without associated user 2015-07-08 09:40:58 +03:00
Pēteris Caune
c526515324 "enabled" field is gone 2015-06-29 20:59:14 +03:00
Pēteris Caune
8b95449c6f "enabled" field is gone 2015-06-29 20:52:26 +03:00
Pēteris Caune
110b790481 Correct alert_after 2015-06-18 18:50:23 +03:00
Pēteris Caune
aad4bd2ffb Background worker to send notifications 2015-06-16 11:33:12 +03:00