I have a cloud-based server running a Java process (a POP/SMTP server called davmail, details don't really matter).What is the simplest way to monitor the status of that Java process remotely? I need to know if and when it goes down. I could just leave an ssh session open and tail the log, but is there something more elegant? Maybe I need to install a webserver and run  some monitoring software on the same server. Or maybe there is a client program I can run on my local machine (a Mac) that can be alerted by some cron job on the server whenever the Java process stops?
Needed: A simple way to remotely monitor a process on my server
monitoring