Ошибка имени службы мониторинга

Итак, в моем файле monitrc есть следующее:

check process apache with pidfile /usr/local/apache/logs/httpd.pid
group apache
start program = "/etc/init.d/httpd start"
stop program = "/etc/init.d/httpd stop"
if failed host XXX port 80 protocol http
and request "/monit/token" then restart
if cpu is greater than 60% for 2 cycles then alert
if cpu 80% for 5 cycles then restart
if totalmem 500 MB for 5 cycles then restart
if children 250 then restart
if loadavg(5min) greater than 10 for 8 cycles then stop
if 3 restarts within 5 cycles then timeout

, но я продолжаю получать сообщение об ошибке:

Error: service name conflict, apache already defined '/usr/local/apache/logs/httpd.pid'
7
задан Bojangles 8 December 2011 в 19:33
поделиться