health-checks
A Simple Health Check Tool
Background
CloudFlare provides Health Checks but you have to be on a paid plan. Vultr provides Free-Tier VPS (512 MB, 1 Core, 10 GB SSD, 2 TB Bandwidth).
This lightweight VPS does not have much RAM - so it cannot run heavy applications, but this (health check) tool should be a good use case for it.
Acknowledgement
Most code at the "init commit" is done by ChatGPT. Thank you!
How to Run?
No docker - as you probably can't run docker on it. You can either run it in screen
or pm2
so that it will stay in background.
Config.json
Change config.json.sample
to config.json
and modify the content necessary - which should be pretty straightforward.
Run Health-Checks
Simply Run node health-checks.js
,
Example:
In case of failures:
You should get an email, if configured correctedly.
TODO:
Configure a max email per period (PR welcome)
Support
If you find this useful, why not buy me a coffee? Thanks!
Github: https://github.com/DoctorLai/health-checks
Steem to the Moon!
- You can swap the STEEM/SBD to USDT (TRC-20) via Steem2USDT
- Register a free STEEM account at here