Get the latest tech news
Show HN: Server Uptime
_____ _____ _ _ | __|___ ___ _ _ ___ ___ | | |___| |_|_|_____ ___ |__ | -_| _| | | -_| _| | | | . | _| | | -_| |_____|___|_| \_/|___|_| |_____| _|_| |_|_|_|_|___| |_| How to start monitoring your server uptime? [ #1 ] Install uptimed ( uprecords ) and curl apt install uptimed curl [ #2 ] Generate uprecords and save to file uprecords -a > uprecords [ #3 ] Send uprecords to api curl https://server-uptime.pw/api -F "file=@uprecords" [ #4 ] You will receive api response (Success or Fail) [ Success | Server - t7vpqCWKeJJkzzS8iWbb | Key - a3a663f8ed3cbd4b19c47e3fb38c5bf2058b444fe66d89d6eee605e45fb576be ] [ #5 ] Updating same server uprecords curl https://server-uptime.pw/api -F "file=@uprecords" -F "server=t7vpqCWKeJJkzzS8iWbb" -F "key=a3a663f8ed3cbd4b19c47e3fb38c5bf2058b444fe66d89d6eee605e45fb576be" [ #6 ] Public uptime records page sample https://server-uptime.pw/id/t7vpqCWKeJJkzzS8iWbb [ #7 ] Cron sample * * * * * uprecords -a > uprecords;curl https://server-uptime.pw/api -F "file=@uprecords" -F "server=t7vpqCWKeJJkzzS8iWbb" -F "key=a3a663f8ed3cbd4b19c47e3fb38c5bf2058b444fe66d89d6eee605e45fb576be".
Or read this on Hacker News