This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
пакет_monit [2010/03/05 13:28] val created |
пакет_monit [2016/03/01 09:21] (current) 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> | ||