Remixed from https://www.val.town/x/stevekrouse/status
The URL set in this Val is operated on my VPS and Raspbery Pi.
Services such as UptimeRobot are available in the village, this Val can be used instead.
UptimeRobot uses the HEAD every 5 minutes for the free plan.
(In addition, UptimeRobot can also monitor pings and ports)
This Val uses GET and is usually an hourly cron (minimum 15 minutes)
If you want to add a comment to a URL,
you can use http://example.net.eu.org/files/#comment
.
Remixing multiple Status Vals to display multiple status pages will also work.
(You don't have to worry about the impact of SQLite)
This is useful when you want to change the cron interval or display different depending on the case.
The display period can be changed by 'limit 200' in the SQL 'select' statement of 'status'.
If there are many URLs, the period will be small, so increase the 'limit' value.
As soon as you make a change, it will be reflected in the display.
If you use the free plan, SQLite has a capacity of 10MB.
That's why I created a val that periodically cleans the SQLite data:
https://www.val.town/x/balloon/statusAutoMente
Get your SQLite usage capacity:
https://www.val.town/x/stevekrouse/sqlite-storage-size
https://www.val.town/x/balloon/sqlite-storage-size (with README.md
)