I'm searching for a script that monitors uptime and saves it so I can see it afterwards. If it could send me a email if it was down would be great. Lightweight is always a plus but not necessary.
Now here comes the hard part, I don't want to run apache/lighttpd/nginx or any webserver on my servers because it is a huge security risk. I should work with ping or with ssh. I found many scripts but none ping wich saves the uptime or a monitoring script that works without a web server.