/[monit]/monit/web/doc/examples.php
ViewVC logotype

Diff of /monit/web/doc/examples.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by hauk, Mon Jan 10 00:52:11 2005 UTC revision 1.3 by martinp, Fri Jan 21 20:49:05 2005 UTC
# Line 114  it is general enough to be of interest f Line 114  it is general enough to be of interest f
114          <LI><A HREF="#stunnel">STunnel (SSL tunnel)</A></LI>          <LI><A HREF="#stunnel">STunnel (SSL tunnel)</A></LI>
115       </ul>       </ul>
116    </li>    </li>
117      <li> Misc Usage
118         <ul>
119            <LI><A HREF="#core">Watch and analyze crashdumps</A></LI>
120         </ul>
121      </li>
122  </ul>  </ul>
123    
124    
# Line 1041  check process slapd with pidfile /var/ru Line 1046  check process slapd with pidfile /var/ru
1046     if failed gid root then unmonitor     if failed gid root then unmonitor
1047     alert foo@bar     alert foo@bar
1048  </pre>  </pre>
1049    
1050    <h2>Misc Usage</h2>
1051    <h3><a name="core">Watch and analyze crashdumps</a></h3>
1052    <pre>
1053     check file httpd_core with path /usr/apache/core
1054       if changed timestamp
1055          then exec "/bin/bash -c '/usr/bin/pstack /usr/apache/core | mailx -s httpd_crash foo@bar'"
1056    </pre>
1057            </TD>            </TD>
1058         </TR>         </TR>
1059       </TABLE>       </TABLE>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26