Commit Graph

71 Commits

Author SHA1 Message Date
Ivaylo Novakov 8235d75795
Only announce healthy status once a day. 2020-09-08 18:20:56 +02:00
Ivaylo Novakov ddf72ad850
Make the time comparisons in the health checker timezone-aware. 2020-09-08 18:07:33 +02:00
Ivaylo Novakov 2d032dbf17
Docstrings. 2020-09-07 17:59:39 +02:00
Ivaylo Novakov 0838e4f5e5
Add free disk space check to health-checker.py.
Move load-average check to health-checker.py.
2020-09-07 17:56:47 +02:00
Ivaylo Novakov 3f4742a436
Only notify the team if critical checks have failed. 2020-09-04 17:17:26 +02:00
Ivaylo Novakov 5eece67b03
Move parameter parsing to the top of the script. 2020-09-04 17:13:36 +02:00
Ivaylo Novakov 1cc20903c6
Move max discord message len to a constant.
Report critical checks failed.
Formatting.
2020-09-04 17:07:47 +02:00
Ivaylo Novakov a0a9137ae7
Update setup-scripts/health-checker.py
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2020-09-04 16:44:19 +02:00
Ivaylo Novakov 62e27120cd
Use localhost. 2020-09-04 16:39:39 +02:00
Ivaylo Novakov 59a77bfaf6
Add a health checker script to Gollum. 2020-09-04 16:12:20 +02:00
Marcin Jachymiak 285d915602 Rename health-checker to funds-checker 2020-03-09 15:59:21 -04:00
Marcin Jachymiak 6d8fe9ca02 Add log checker 2020-03-09 15:55:03 -04:00
Marcin Jachymiak 4b1ac49ef1 Refactor bot_utils out of health-checker 2020-03-09 12:15:13 -04:00
Marcin Jachymiak 5c87cb93dd Add override to load_dotenv call 2020-03-06 14:10:51 -05:00
Marcin Jachymiak 66218fde30 Check allocation not spent. Cleanup msg format 2020-03-06 10:11:42 -05:00
Marcin Jachymiak 29a73e5963 Add health-check setup script 2020-03-05 12:07:37 -05:00
Marcin Jachymiak 2af43ed499 fix api pass env 2020-03-05 10:09:48 -05:00
Marcin Jachymiak d9b27d416c Cleanup Discord msgs and add password var 2020-03-05 10:09:48 -05:00
Marcin Jachymiak 64681bf19d Fixup port env var 2020-03-05 10:09:48 -05:00
Marcin Jachymiak cbe73e14c7 Cleanup health check script 2020-03-05 10:09:48 -05:00
Marcin Jachymiak 6fbf60d84c Start health check script 2020-03-05 10:09:48 -05:00