Here are some monit configurations file that might be useful in creating monit daemons that monitor the processes:
Config file Another config file