Commit Graph

300 Commits

Author SHA1 Message Date
Matthew Sevey 7bf366db24
Add serverload endpoint (#1410)
* write usage script for cpu and free disk space tracking, testing new endpoint

* Test alias nginx path

* testing json

* fix server load json file being served by nginx

* Fix filenames

* Add changelog

* Add systemd file for serverload

* Update setup-scripts/serverload.sh

Co-authored-by: Peter-Jan Brone <peter-jan@settlemint.com>
2021-12-06 12:49:58 +01:00
Matthew Sevey c45b9c41bd
format 2021-12-01 14:16:46 -05:00
Matthew Sevey 3e17c1a9ee
remove ping instead of disable 2021-12-01 12:07:15 -05:00
Matthew Sevey 3d11ca503f
Merge branch 'master' into sevey/disabl-load-check 2021-12-01 12:06:08 -05:00
Filip Rysavy ec3a26e8b5
Fix script permissions 2021-12-01 13:49:02 +01:00
Filip Rysavy 5ae447f9b2
Dump disk usage on health-checker critical disk space 2021-12-01 13:27:33 +01:00
Filip Rysavy f5b81d1287
Fix disabling portal in health checker 2021-11-26 16:38:53 +01:00
Matthew Sevey 31cf9fb59e
Disable load check until we have a process of actively addressing it 2021-11-24 14:13:26 -05:00
Filip Rysavy bf2e7cb7cf
Add Airtable skylinks whitespace trimming 2021-11-18 13:04:20 +01:00
Filip Rysavy 24e77ff575
Fix merge conflict 2021-11-10 15:13:14 +01:00
Filip Rysavy e99fdfe460
Fix missing colon 2021-11-10 15:10:28 +01:00
firyx c3d3f2b0e5
Update setup-scripts/blocklist-airtable.py
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2021-11-10 14:32:08 +01:00
Filip Rysavy efeddd6c70
Add check if Airtable vars are defined 2021-11-10 14:22:00 +01:00
Filip Rysavy 07b99b8192
Add check if Airtable vars are defined 2021-11-10 13:52:32 +01:00
Filip Rysavy d68f896988
Add check if Airtable vars are defined 2021-11-10 13:46:43 +01:00
Filip Rysavy 2e15826f58
Remove Airtable hardcoded default values 2021-11-10 11:49:16 +01:00
Filip Rysavy 838c2084a9
Add note to sync changes in blocklist scripts 2021-10-26 09:49:03 +02:00
Karol Wypchlo 9026d56777
fix health check script invalid syntax
python lint job
2021-10-06 14:21:58 +02:00
Karol Wypchlo b768ca9973
fix transitioning to cli command 2021-09-15 12:50:22 +02:00
Matthew Sevey b75c0c2c3b
Merge pull request #1178 from SkynetLabs/round-full-hours
round reporting datetime to full hours
2021-09-10 14:25:30 -04:00
Karol Wypchlo bcea4d5b90
do not send message on server down 2021-09-10 17:00:37 +02:00
Karol Wypchlo 4fddbb2fc8
do not notify on portal disabled 2021-09-10 16:23:05 +02:00
Karol Wypchlo 5ba4f54302
round reporting datetime to full hours 2021-09-10 13:24:19 +02:00
Matthew Sevey 0f60a395b3
Remove outdated NebulousLabs references 2021-09-08 15:04:02 -04:00
Karol Wypchło c294abc5c3
remove old Karol's key 2021-09-03 11:38:26 +02:00
Daniel Helm ad5372959a
add ssh key for daniel@siasky.net 2021-09-02 18:43:50 -05:00
Karol Wypchlo ecb73e7498
drop caddy as proxy 2021-08-27 14:15:22 +02:00
Karol Wypchlo 72f2b56f17
include skapps checks 2021-08-23 16:21:09 +02:00
Matthew Sevey 9d312c061f
Merge pull request #1071 from SkynetLabs/ivo/es_cleaner
ES Cleaner in crontab
2021-08-17 11:34:24 -04:00
Karol Wypchło 1c8816530c
cleanup unused discord import (#1073) 2021-08-17 09:58:00 +02:00
Ivaylo Novakov bbdea48633
Just make the scripts runnable. 2021-08-16 15:48:59 +03:00
Ivaylo Novakov 9d2ac488cb
Add the es_cleaner.py script to crontab and make sure that it's executable. 2021-08-16 15:44:07 +03:00
Karol Wypchło 379f87ea27
increase disk space size that warrants a warning (#1063) 2021-08-12 13:14:00 +02:00
Karol Wypchlo c08709ff45 do not try to run interactive docker function 2021-07-23 16:48:19 +02:00
Karol Wypchlo 0e419d820c don't include logrotate, included by mistake 2021-07-19 12:21:51 +02:00
Karol Wypchlo ae6043817b btach size 1k 2021-07-18 09:28:24 +02:00
Karol Wypchlo 7f448fb31f smaller batch fix 2021-07-18 09:25:23 +02:00
Karol Wypchlo ed19736e22 smaller batch 2021-07-18 09:24:45 +02:00
Karol Wypchlo 6c1b96606e one less search 2021-07-18 09:17:29 +02:00
Karol Wypchlo 7c9d1debd2 one less search 2021-07-18 09:13:30 +02:00
Karol Wypchlo 73cf5b510e improve 2021-07-18 09:10:54 +02:00
Karol Wypchlo 52e5a345cf improve 2021-07-18 09:09:55 +02:00
Karol Wypchlo 273bcbcb8f fix cache busting 2021-07-18 09:07:15 +02:00
Karol Wypchlo fdee9b46ee concatenate string 2021-07-18 08:55:29 +02:00
Karol Wypchlo 96ade5f36d airtable retries logic 2021-07-18 08:22:32 +02:00
Karol Wypchło bdff7bb0b1
Update setup-scripts/setup-health-check-scripts.sh
Co-authored-by: firyx <29089732+firyx@users.noreply.github.com>
2021-07-16 14:38:02 +02:00
Karol Wypchlo fc10a49054 DiscordWebhook => discord_webhook 2021-07-16 14:31:19 +02:00
Karol Wypchło 71f9d5280e
use webhook instead of discrod bot to send messages (#979)
* initial refactor

* do not use before define

* forgot to remove client

* test notification

* add /cc

* fix /cc

* fix /cc role

* fix /cc

* test file upload

* test file upload

* test file upload

* default to no mentions

* unformat

* replace discord with DiscordWebhook

* add readme

* don't fail on failures in message send
2021-07-16 13:12:58 +02:00
Karol Wypchlo 36aa7c8311 improve health check reliability 2021-07-12 14:53:12 +02:00
Karol Wypchlo a2aa850632 improve health check reliability 2021-07-12 14:49:53 +02:00