4 |
<LINK REV="made" HREF="mailto:bhcompile@daffy.perf.redhat.com"> |
<LINK REV="made" HREF="mailto:bhcompile@daffy.perf.redhat.com"> |
5 |
</HEAD> |
</HEAD> |
6 |
|
|
7 |
<BODY bgcolor="#ffffff"> |
<BODY bgcolor="#FFFFFF"> |
8 |
|
|
9 |
<A NAME="__index__"></A> |
<A NAME="__index__"></A> |
10 |
<!-- INDEX BEGIN --> |
<!-- INDEX BEGIN --> |
144 |
Use this lock file in daemon mode</P> |
Use this lock file in daemon mode</P> |
145 |
<P><STRONG>-s</STRONG> <EM>statefile</EM> |
<P><STRONG>-s</STRONG> <EM>statefile</EM> |
146 |
Write state information to this file</P> |
Write state information to this file</P> |
|
<P><STRONG>-i</STRONG> |
|
|
Validate mode, startup in validate mode</P> |
|
147 |
<P><STRONG>-I</STRONG> |
<P><STRONG>-I</STRONG> |
148 |
Run from init (do not run in background)</P> |
Run from init (do not run in background)</P> |
149 |
<P><STRONG>-t</STRONG> |
<P><STRONG>-t</STRONG> |
282 |
if totalmem > 100 Mb then alert |
if totalmem > 100 Mb then alert |
283 |
if children > 255 for 5 cycles then stop |
if children > 255 for 5 cycles then stop |
284 |
if cpu usage > 95% for 3 cycles then restart |
if cpu usage > 95% for 3 cycles then restart |
285 |
if failed port 80 protocol http request then restart |
if failed port 80 protocol http then restart |
286 |
group server |
group server |
287 |
depends on httpd.conf, httpd.bin</PRE> |
depends on httpd.conf, httpd.bin</PRE> |
288 |
<PRE> |
<PRE> |
1196 |
<P>Since we did not explicit specify a host in the above test, monit |
<P>Since we did not explicit specify a host in the above test, monit |
1197 |
will connect to port 21 at ftp.redhat.com. Aprops, the host |
will connect to port 21 at ftp.redhat.com. Aprops, the host |
1198 |
address can be specified as a dotted IP address string or as |
address can be specified as a dotted IP address string or as |
1199 |
hostname in the DNS. The following is excately[*] the same test, |
hostname in the DNS. The following is exactly[*] the same test, |
1200 |
but using an ip address instead:</P> |
but using an ip address instead:</P> |
1201 |
<PRE> |
<PRE> |
1202 |
check host up2date with address 66.187.232.30 |
check host up2date with address 66.187.232.30 |