11 Commits

Author SHA1 Message Date
Pēteris Caune
207b0f9048 Adding on_delete keywords, more to come. 2017-05-28 13:38:38 +03:00
Pēteris Caune
5a4c3ce8ea Fix tests. 2016-12-13 21:37:29 +02:00
Pēteris Caune
8633a5a892 Check model supports cron-style schedule 2016-12-05 11:08:06 +02: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
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
63cc186fa3 Nicer slack messages. 2016-01-23 15:18:59 +02: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
7019325b48 Investigating Travis/mysql test failure 2016-01-02 22:13:48 +02:00
Pēteris Caune
940534e563 Test for check.prune_pings() method 2016-01-02 21:54:04 +02:00