79 |
|
|
80 |
|
|
81 |
|
|
|
<li><b>Simplify the control file syntax</b><p> Two new directives will |
|
|
be added to set a common global program directory and a global pid |
|
|
file directory. Much like <i>init's</i> usage of /etc/init.d/ and |
|
|
/var/run/. |
|
|
<p> |
|
|
Today you will have to tell monit where the start and stop scripts and |
|
|
pid files are located. Like: |
|
|
<pre> |
|
|
check httpd with pidfile /var/run/httpd.pid |
|
|
start = "/etc/init.d/httpd start" |
|
|
stop = "/etc/init.d/httpd stop" |
|
|
|
|
|
check sshd with pidfile /var/run/sshd.pid |
|
|
start = "/etc/init.d/sshd start" |
|
|
stop = "/etc/init.d/sshd stop" |
|
|
</pre> |
|
|
But by setting one or more predefined pid-file and program directories |
|
|
you can write the above as: |
|
|
<pre> |
|
|
set program-repository /etc/init.d, /usr/local/bin .. |
|
|
set pidfile-repository /var/run, /etc .. |
|
|
|
|
|
check httpd .. |
|
|
check sshd .. |
|
|
</pre> |
|
|
(Whenever monit sees a reduced check-statement it will implicitly |
|
|
search the global repositories to add (e.g): pidfile=/var/run/httpd |
|
|
and start/stop= /etc/init.d/http start/stop) |
|
|
<p> |
|
|
<code> |
|
|
<table border=0 cellspacing=5> |
|
|
<tr> |
|
|
<td width=50%>Responsible:</td><td width=50%>Jan-Henrik</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td width=50%>Progress:</td> |
|
|
<td width=50% bgcolor="#0000aa" align=center><b><font color=#ffffff>0%</font></b></td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td width=50%>Importance:</td><td width=50%>LOW</td> |
|
|
</tr> |
|
|
</table> |
|
|
</code> |
|
|
<br> |
|
|
<p> |
|
|
|
|
|
|
|
82 |
<li><b>Implement dependencies between program entries</b><p> It will |
<li><b>Implement dependencies between program entries</b><p> It will |
83 |
be possible to set up dependencies between programs in the |
be possible to set up dependencies between programs in the |
84 |
configuration file. For example; program A depend on program B to |
configuration file. For example; program A depend on program B to |
105 |
</tr> |
</tr> |
106 |
</table> |
</table> |
107 |
</code> |
</code> |
|
<br> |
|
|
<p> |
|
|
|
|
|
|
|
|
<li><b>Redesign the web interface and add support for program |
|
|
groups</b><P> Brush up the web-interface. Provide functions in the |
|
|
web-interface for managing groups of program entries; Start and stop |
|
|
program groups. |
|
|
<p> |
|
|
<code> |
|
|
<table border=0 cellspacing=5> |
|
|
<tr> |
|
|
<td width=50%>Responsible:</td><td width=50%>Jan-Henrik</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td width=50%>Progress:</td> |
|
|
<td width=50% bgcolor="#00a0aa" align=center><b><font color=#ffffff>50%</font></b></td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td width=50%>Importance:</td><td width=50%>LOW</td> |
|
|
</tr> |
|
|
</table> |
|
|
</code> |
|
108 |
<br> |
<br> |
109 |
<p> |
<p> |
110 |
|
|