in reply to Monitoring a process

There's two different approaches to tackle this problem:

Implementation details are different for different services. A web application can be monitored by running HTTP requests, other applications can be "ping"ed on a port or checked via SNMP.