Commit graph

94 commits

Author SHA1 Message Date
Lance Edgar 8a1551e0f5 Send first alert "immediately" if critical temp status
i.e. only wait for "first email" delay if *not* critical

courtesy of Cole Chaney <cole@mamajeansmarket.com>
2018-02-07 17:47:48 -06:00
Lance Edgar f8f29a8551 Update changelog 2017-11-19 17:46:46 -06:00
Lance Edgar fd7cd5cadd Add problem report for disabled clients/probes 2017-11-18 22:12:40 -06:00
Lance Edgar 840c146969 Update changelog 2017-08-08 18:47:29 -05:00
Lance Edgar ef657d0842 Fix alembic script AGAIN
geez man
2017-08-08 18:46:53 -05:00
Lance Edgar 39a2da2b6b Update changelog 2017-08-08 18:44:21 -05:00
Lance Edgar 32eb01fe09 Fix tempmon alembic script per continuum needs
is this really what we have to do now..?
2017-08-08 18:43:10 -05:00
Lance Edgar 5d81ac19a6 Grow the Reading.degrees_f column
sometimes a probe will report a wacky temperature, but we should record
it even so
2017-08-05 12:54:08 -05:00
Lance Edgar ad03e32f77 Don't kill tempmon client if DB session.commit() fails
let the daemon keep trying just like when device.read() fails
2017-08-05 12:49:04 -05:00
Lance Edgar fa09c939f5 Update changelog 2017-08-04 16:08:44 -05:00
Lance Edgar 844a05202e Add Client.readings backref 2017-08-04 16:07:35 -05:00
Lance Edgar aee6f6d341 Auto-delete child objects when deleting Client or Probe object
although if there are a lot of readings, this will still suck...
2017-08-04 15:14:48 -05:00
Lance Edgar 7c7dc56f8d Update changelog 2017-07-07 09:24:48 -05:00
Lance Edgar 90e431c617 Switch license to GPL v3 (no longer Affero)
refs #2
2017-07-06 23:38:50 -05:00
Lance Edgar 6ff84b7f54 Update changelog 2017-07-06 21:33:42 -05:00
Lance Edgar ea921cf58b Replace occurrence of execfile() 2017-07-06 16:24:14 -05:00
Lance Edgar 2acc49be40 Tweak import placement to fix startup
i.e. per Continuum needs
2017-07-04 01:18:28 -05:00
Lance Edgar 9f21244ede Add rattail purge-tempmon command
for getting rid of all those old temperature readings, since
they're mostly just useful in real-time..
2017-07-03 18:10:52 -05:00
Lance Edgar 450f63434b Update changelog 2017-06-01 17:38:57 -05:00
Lance Edgar 396b3739f3 Fix bug when marking client as offline from server loop
..i think?
2017-06-01 17:37:27 -05:00
Lance Edgar 5f680ff672 Update changelog 2017-06-01 17:18:30 -05:00
Lance Edgar f04b4105c7 Tweak mail templates a bit, to reference config values
probably more needs to be done, this is at least a step..
2017-06-01 17:17:11 -05:00
Lance Edgar c4b371cedd Refactor main server loop a bit, to add basic retry w/ error logging
hopefully this lets us get past a simple Postgres restart..
2017-06-01 17:16:31 -05:00
Lance Edgar 27adc5ed70 Update changelog 2017-06-01 16:24:40 -05:00
Lance Edgar 20e3b83525 Add error logging in case committing session fails..
probably need to add a retry somewhere but still not getting the
traceback we need to figure that out...
2017-06-01 16:21:48 -05:00
Lance Edgar 5ee411ba23 Add rattail export-hotcooler command, for initial hotcooler support
..we'll see where this goes..
2017-04-01 18:30:31 -05:00
Lance Edgar 7f85483b73 Fix typo 2017-04-01 16:37:00 -05:00
Lance Edgar 6fb68089a1 Update changelog 2017-02-09 19:05:00 -06:00
Lance Edgar 4e11748b45 Add configurable delay per client; improve try/catch 2017-02-09 17:59:06 -06:00
Lance Edgar 3f9adfa6c5 Update changelog 2016-12-12 09:47:13 -06:00
Lance Edgar c27eba7471 Add config for "good temp" email 2016-12-12 09:46:20 -06:00
Lance Edgar 2234f8fa91 Update changelog 2016-12-11 10:48:32 -06:00
Lance Edgar e6f3448acc Hopefully fix alert logic when status becomes good
No need to send alert for good status, if previous status never actually
triggered an alert.
2016-12-11 10:46:53 -06:00
Lance Edgar de1543018a DRY up some server alert logic a bit 2016-12-10 23:04:42 -06:00
Lance Edgar 4f42ad164a Update changelog 2016-12-10 22:18:52 -06:00
Lance Edgar c1590f8d4f Add mail templates to project manifest 2016-12-10 22:17:57 -06:00
Lance Edgar 4d53e29be6 Add email config for tempmon-server alerts 2016-12-10 14:15:01 -06:00
Lance Edgar 67a2089cec Update changelog 2016-12-10 12:50:03 -06:00
Lance Edgar 646f09a413 Add mail templates, plus initial status alert delay for probes
i.e. let the temp get "proper bad" (for some minutes) before alerting
2016-12-10 12:40:50 -06:00
Lance Edgar d87ea6c22d Add support for dummy probes (random temp data) 2016-12-10 11:22:53 -06:00
Lance Edgar 5f489c47dc Update changelog 2016-12-05 20:59:55 -06:00
Lance Edgar fc7ec58303 Fix import bug in server daemon 2016-12-05 20:59:05 -06:00
Lance Edgar 9a2fda3b68 Tweak fab release task 2016-12-05 19:13:23 -06:00
Lance Edgar 7550e63940 Initial commit 2016-12-05 19:06:34 -06:00