Monit Webmin service is not activating
Posted
by
Nagaraj
on Server Fault
See other posts from Server Fault
or by Nagaraj
Published on 2010-11-23T11:29:23Z
Indexed on
2010/12/24
18:55 UTC
Read the original article
Hit count: 237
I have written a script in monit interface for Webmin service. I can execute the process wherien I am unable to restart the service.
check process webmin with pidfile /var/webmin/miniserv.pid
start = "/etc/init.d /webmin start"
stop = "/etc/init.d /webmin stop"
if failed host in1.miracletel.com port 10000 then restart
if 5 restarts within 5 cycles then timeout
#if changed pid 2 times within 2 cycles then aler
Would you please look into this and let me know, whether I can considered the service correct or not?
© Server Fault or respective owner