How can I add status for one server on my public web page

I want to be able to show the status of one server on my public web page to the public. How can I do this?

i once did a similar thing using lynx, parsing the output and generating a website… has some extra latency on top but works.