This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
пакет_monit [2013/05/22 13:50] 127.0.0.1 внешнее изменение |
пакет_monit [2016/03/01 09:21] val |
||
---|---|---|---|
Line 2: | Line 2: | ||
<code> | <code> | ||
- | # cat /usr/local/etc/monitrc | + | # cat /etc/monitrc |
+ | </code><code> | ||
set daemon 120 | set daemon 120 | ||
Line 10: | Line 11: | ||
check process flow-capture with pidfile /var/run/flow-capture/flow-capture.pid.8787 | check process flow-capture with pidfile /var/run/flow-capture/flow-capture.pid.8787 | ||
- | start program = "/usr/local/etc/rc.d/flow_capture start" | + | start program = "service flow_capture start" |
- | stop program = "/usr/local/etc/rc.d/flow_capture stop" | + | stop program = "service flow_capture stop" |
check process ntp with pidfile /var/run/ntpd.pid | check process ntp with pidfile /var/run/ntpd.pid | ||
- | start program = "/etc/rc.d/ntpd start" | + | start program = "service ntp start" |
- | stop program = "/etc/rc.d/ntpd stop" | + | stop program = "service ntp stop" |
</code> | </code> |