/[monit]/monit/web/examples.html
ViewVC logotype

Diff of /monit/web/examples.html

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

revision 1.4 by martinp, Fri Jan 3 12:00:55 2003 UTC revision 1.5 by martinp, Fri Jan 3 12:37:51 2003 UTC
# Line 32  given service, etc. Line 32  given service, etc.
32    
33  <br><p><br>  <br><p><br>
34  <UL>  <UL>
35            <LI><A HREF="#proftp">Proftpd</A></LI>
36          <LI><A HREF="#ssh">SSHD</A></LI>          <LI><A HREF="#ssh">SSHD</A></LI>
37          <LI><A HREF="#iplanetdir">iPlanetDirectoryServer (Sun ONE)</A></LI>          <LI><A HREF="#iplanetdir">iPlanetDirectoryServer (Sun ONE)</A></LI>
38          <LI><A HREF="#iplanetmsg">iPlanetMessagingServer processes (Sun ONE)</A></LI>          <LI><A HREF="#iplanetmsg">iPlanetMessagingServer processes (Sun ONE)</A></LI>
# Line 42  given service, etc. Line 43  given service, etc.
43              <font style='font-size:12px'><PRE>              <font style='font-size:12px'><PRE>
44    
45    
46    <h3><a name="proftp">Proftpd</a></h3>
47     check proftpd with pidfile /var/run/proftpd.pid
48       start program = "/etc/init.d/proftpd start"
49       stop program  = "/etc/init.d/proftpd stop"
50       host 192.168.1.1 port 21 protocol ftp
51       timeout (5,5)
52       alert foo@bar
53       alert 123456@sms on { timeout }
54    
55  <h3><a name="ssh">SSHD</a></h3>  <h3><a name="ssh">SSHD</a></h3>
56   check sshd with pidfile /var/run/sshd.pid   check sshd with pidfile /var/run/sshd.pid
57     start program  "/etc/init.d/sshd start"     start program  "/etc/init.d/sshd start"
# Line 65  given service, etc. Line 75  given service, etc.
75    with pidfile /usr/iplanet/msg-ims-1/config/pidfile.imta_dispatch    with pidfile /usr/iplanet/msg-ims-1/config/pidfile.imta_dispatch
76     start program  "/usr/iplanet/msg-ims-1/imsimta start dispatcher"     start program  "/usr/iplanet/msg-ims-1/imsimta start dispatcher"
77     stop program  "/usr/iplanet/msg-ims-1/imsimta stop dispatcher"     stop program  "/usr/iplanet/msg-ims-1/imsimta stop dispatcher"
78       group messaging
79     timeout(5, 5)     timeout(5, 5)
80     host 192.168.1.1 port 25 protocol smtp     host 192.168.1.1 port 25 protocol smtp
81     alert foo@bar     alert foo@bar
# Line 75  given service, etc. Line 86  given service, etc.
86    with pidfile /usr/iplanet/msg-ims-1/config/pidfile.imta_jbc    with pidfile /usr/iplanet/msg-ims-1/config/pidfile.imta_jbc
87     start program  "/usr/iplanet/msg-ims-1/imsimta start job_controller"     start program  "/usr/iplanet/msg-ims-1/imsimta start job_controller"
88     stop program  "/usr/iplanet/msg-ims-1/imsimta stop job_controller"     stop program  "/usr/iplanet/msg-ims-1/imsimta stop job_controller"
89       group messaging
90     timeout(5, 5)     timeout(5, 5)
91     host 192.168.1.1 port 28442     host 192.168.1.1 port 28442
92     alert foo@bar     alert foo@bar
# Line 84  given service, etc. Line 96  given service, etc.
96   check store with pidfile /usr/iplanet/msg-ims-1/config/pidfile.store   check store with pidfile /usr/iplanet/msg-ims-1/config/pidfile.store
97     start program  "/usr/iplanet/msg-ims-1/start-msg store"     start program  "/usr/iplanet/msg-ims-1/start-msg store"
98     stop program  "/usr/iplanet/msg-ims-1/stop-msg store"     stop program  "/usr/iplanet/msg-ims-1/stop-msg store"
99       group messaging
100     timestamp "/usr/iplanet/msg-ims-1/config/stored.ckp" > 10 minutes then alert     timestamp "/usr/iplanet/msg-ims-1/config/stored.ckp" > 10 minutes then alert
101     timestamp "/usr/iplanet/msg-ims-1/config/stored.lcu" > 15 minutes then alert     timestamp "/usr/iplanet/msg-ims-1/config/stored.lcu" > 15 minutes then alert
102     timestamp "/usr/iplanet/msg-ims-1/config/stored.per" > 70 minutes then alert     timestamp "/usr/iplanet/msg-ims-1/config/stored.per" > 70 minutes then alert
# Line 95  given service, etc. Line 108  given service, etc.
108   check webmail with pidfile /usr/iplanet/msg-ims-1/config/pidfile.http   check webmail with pidfile /usr/iplanet/msg-ims-1/config/pidfile.http
109     start program  "/usr/iplanet/msg-ims-1/start-msg http"     start program  "/usr/iplanet/msg-ims-1/start-msg http"
110     stop program  "/usr/iplanet/msg-ims-1/stop-msg http"     stop program  "/usr/iplanet/msg-ims-1/stop-msg http"
111       group messaging
112     timeout(5, 5)     timeout(5, 5)
113     host 192.168.1.1 port 80 protocol http request "/default.html"     host 192.168.1.1 port 80 protocol http request "/default.html"
114     alert foo@bar     alert foo@bar
# Line 104  given service, etc. Line 118  given service, etc.
118   check pop3 with pidfile /usr/iplanet/msg-ims-1/config/pidfile.pop   check pop3 with pidfile /usr/iplanet/msg-ims-1/config/pidfile.pop
119     start program  "/usr/iplanet/msg-ims-1/start-msg pop"     start program  "/usr/iplanet/msg-ims-1/start-msg pop"
120     stop program  "/usr/iplanet/msg-ims-1/stop-msg pop"     stop program  "/usr/iplanet/msg-ims-1/stop-msg pop"
121       group messaging
122     timeout(5, 5)     timeout(5, 5)
123     host 192.168.1.1 port 110 protocol pop     host 192.168.1.1 port 110 protocol pop
124     alert foo@bar     alert foo@bar
# Line 113  given service, etc. Line 128  given service, etc.
128   check imap4 with pidfile /usr/iplanet/msg-ims-1/config/pidfile.imap   check imap4 with pidfile /usr/iplanet/msg-ims-1/config/pidfile.imap
129     start program  "/usr/iplanet/msg-ims-1/start-msg imap"     start program  "/usr/iplanet/msg-ims-1/start-msg imap"
130     stop program  "/usr/iplanet/msg-ims-1/stop-msg imap"     stop program  "/usr/iplanet/msg-ims-1/stop-msg imap"
131       group messaging
132     timeout(5, 5)     timeout(5, 5)
133     host 192.168.1.1 port 143 protocol imap     host 192.168.1.1 port 143 protocol imap
134     alert foo@bar     alert foo@bar
# Line 122  given service, etc. Line 138  given service, etc.
138   check snmp-subagent with pidfile /usr/iplanet/msg-ims-1/config/pidfile.snmp   check snmp-subagent with pidfile /usr/iplanet/msg-ims-1/config/pidfile.snmp
139     start program  "/usr/iplanet/msg-ims-1/start-msg snmp"     start program  "/usr/iplanet/msg-ims-1/start-msg snmp"
140     stop program  "/usr/iplanet/msg-ims-1/stop-msg snmp"     stop program  "/usr/iplanet/msg-ims-1/stop-msg snmp"
141       group messaging
142     timeout(5, 5)     timeout(5, 5)
143     alert foo@bar     alert foo@bar
144     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 130  given service, etc. Line 147  given service, etc.
147   check mmp with pidfile /usr/iplanet/mmp-ims2/pidfile   check mmp with pidfile /usr/iplanet/mmp-ims2/pidfile
148     start program  "/usr/iplanet/mmp-ims2/AService.rc start"     start program  "/usr/iplanet/mmp-ims2/AService.rc start"
149     stop program  "/usr/iplanet/mmp-ims2/AService.rc stop"     stop program  "/usr/iplanet/mmp-ims2/AService.rc stop"
150       group messaging
151     timeout(5, 5)     timeout(5, 5)
152     host 192.168.1.2 port 110 protocol pop     host 192.168.1.2 port 110 protocol pop
153     host 192.168.1.2 port 143 protocol imap     host 192.168.1.2 port 143 protocol imap
# Line 140  given service, etc. Line 158  given service, etc.
158   check calendar-admin with pidfile /usr/iplanet/SUNWics5/cal/bin/config/pidfile.admin   check calendar-admin with pidfile /usr/iplanet/SUNWics5/cal/bin/config/pidfile.admin
159     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service admin"     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service admin"
160     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service admin"     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service admin"
161       group calendar
162     timeout(5, 5)     timeout(5, 5)
163     alert foo@bar     alert foo@bar
164     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 148  given service, etc. Line 167  given service, etc.
167   check calendar-http with pidfile /usr/iplanet/SUNWics5/cal/bin/config/pidfile.http   check calendar-http with pidfile /usr/iplanet/SUNWics5/cal/bin/config/pidfile.http
168     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service http"     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service http"
169     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service http"     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service http"
170       group calendar
171     timeout(5, 5)     timeout(5, 5)
172     host 192.168.1.3 port 80 protocol http     host 192.168.1.3 port 80 protocol http
173     alert foo@bar     alert foo@bar
# Line 157  given service, etc. Line 177  given service, etc.
177   check calendar-dwp with pidfile /usr/iplanet/SUNWics5/cal/bin/config/pidfile.dwp   check calendar-dwp with pidfile /usr/iplanet/SUNWics5/cal/bin/config/pidfile.dwp
178     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service dwp"     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service dwp"
179     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service dwp"     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service dwp"
180       group calendar
181     timeout(5, 5)     timeout(5, 5)
182     host 192.168.1.3 port 9779     host 192.168.1.3 port 9779
183     cpuusage > 2.0 for 5 cycles then restart   # There's a leak in csdwpd     cpuusage > 2.0 for 5 cycles then restart   # There's a leak in csdwpd
# Line 167  given service, etc. Line 188  given service, etc.
188   check calendar-notify with pidfile /usr/iplanet/SUNWics5/cal/bin/config/pidfile.notify   check calendar-notify with pidfile /usr/iplanet/SUNWics5/cal/bin/config/pidfile.notify
189     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service notify"     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service notify"
190     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service notify"     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service notify"
191       group calendar
192     timeout(5, 5)     timeout(5, 5)
193     alert foo@bar     alert foo@bar
194     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 175  given service, etc. Line 197  given service, etc.
197   check calendar-ens with pidfile /usr/iplanet/SUNWics5/cal/bin/config/pidfile.ens   check calendar-ens with pidfile /usr/iplanet/SUNWics5/cal/bin/config/pidfile.ens
198     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service ens"     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service ens"
199     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service ens"     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service ens"
200       group calendar
201     timeout(5, 5)     timeout(5, 5)
202     host 192.168.1.3 port 7997     host 192.168.1.3 port 7997
203     alert foo@bar     alert foo@bar

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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