I have configured webmin service in monit
check process webmin with pidfile /var/webmin/miniserv.pid
start program = "/etc/init.d/webmin start"
stop program = "/etc/init.d/webmin stop"
if failed host in1.miracletel.com port 10000 then restart
if loadavg (1min) greater than 5 for 1 cycles then alert
if changed pid for 2 times within 2 cycles then alert
if 2 restarts within 3 cycles then timeout
If I kill the webmin the process the status shows "Does not exist", would you please confirm, whether I have missed any thing in the script. Also, would you please confirm what are all the services can be done in monit?