In most case, the CloudFlare SLA is greater than our server. So, we can use it as a simple uptime checker.
- Deploy
index.js
to your CloudFlare Workers, and bind KV which you save the status. - Add
updater.rb
to your server, and setup cron job to run it - Get node status on any static page with
https://your-worker.workers.dev/?node[]=name
to fetch node status - Build some script to check timestamp and verify uptime status