31 |
given service, etc. |
given service, etc. |
32 |
|
|
33 |
<br><p><br> |
<br><p><br> |
34 |
<UL> |
|
35 |
|
<ul> |
36 |
|
<li> System Services |
37 |
|
<ul> |
38 |
|
<LI><A HREF="#cron">Cron (program timer)</A></LI> |
39 |
|
<LI><A HREF="#gdm">Gdm (gnome desktop manager)</A></LI> |
40 |
|
<LI><A HREF="#inetd">Inetd (internet service manager)</A></LI> |
41 |
|
<LI><A HREF="#syslogd">Syslogd (system logfile daemon)</A></LI> |
42 |
|
<LI><A HREF="#xfs">Xfs (X font server)</A></LI> |
43 |
|
<LI><A HREF="#ypbind">YPBind (Yellow page bind daemon)</A></LI> |
44 |
|
</ul> |
45 |
|
</li> |
46 |
|
<li> FTP Services |
47 |
|
<ul> |
48 |
<LI><A HREF="#proftp">Proftpd</A></LI> |
<LI><A HREF="#proftp">Proftpd</A></LI> |
49 |
|
</ul> |
50 |
|
</li> |
51 |
|
<li> Login Services |
52 |
|
<ul> |
53 |
<LI><A HREF="#ssh">SSHD</A></LI> |
<LI><A HREF="#ssh">SSHD</A></LI> |
54 |
|
</ul> |
55 |
|
</li> |
56 |
|
<li> WWW Services |
57 |
|
<ul> |
58 |
|
<LI><A HREF="#apache">Apache (web server)</A></LI> |
59 |
|
<LI><A HREF="#zope">Zope (appication server)</A></LI> |
60 |
|
<LI><A HREF="#squid">Squid (http/ftp proxy)</A></LI> |
61 |
|
<LI><A HREF="#privoxy">Privoxy (spamfilter proxy)</A></LI> |
62 |
|
</ul> |
63 |
|
</li> |
64 |
|
<li> Mail Services |
65 |
|
<ul> |
66 |
|
<LI><A HREF="#postfix">Postfix (mail server)</A></LI> |
67 |
|
<LI><A HREF="#sendmail">sendmail (mail server)</A></LI> |
68 |
|
<LI><A HREF="#qpopper">Qpopper (pop3 server)</A></LI> |
69 |
|
<LI><A HREF="#sophie">Sophie (virus scan daemon)</A></LI> |
70 |
|
<LI><A HREF="#trophie">Trophie (virus scan daemon)</A></LI> |
71 |
|
<LI><A HREF="#spamd">Privoxy (spamfilter proxy)</A></LI> |
72 |
|
</ul> |
73 |
|
</li> |
74 |
|
<li> Printing Services |
75 |
|
<ul> |
76 |
|
<LI><A HREF="#lprng">LPRng (printer daemon)</A></LI> |
77 |
|
</ul> |
78 |
|
</li> |
79 |
|
<li> File Services |
80 |
|
<ul> |
81 |
|
<LI><A HREF="#samba">Samba (windows file/domain server)</A></LI> |
82 |
|
</ul> |
83 |
|
</li> |
84 |
|
<li> Sun ONE Services |
85 |
|
<ul> |
86 |
<LI><A HREF="#iplanetdir">iPlanetDirectoryServer (Sun ONE)</A></LI> |
<LI><A HREF="#iplanetdir">iPlanetDirectoryServer (Sun ONE)</A></LI> |
87 |
<LI><A HREF="#iplanetmsg">iPlanetMessagingServer processes (Sun ONE)</A></LI> |
<LI><A HREF="#iplanetmsg">iPlanetMessagingServer processes (Sun ONE)</A></LI> |
88 |
<LI><A HREF="#iplanetcal">iPlanetCalendarServer processes (Sun ONE)</A></LI> |
<LI><A HREF="#iplanetcal">iPlanetCalendarServer processes (Sun ONE)</A></LI> |
89 |
</UL> |
</ul> |
90 |
|
</li> |
91 |
|
<li> Misc Services |
92 |
|
<ul> |
93 |
|
<LI><A HREF="#apcupsd">apcupsd (APC ups daemon)</A></LI> |
94 |
|
</ul> |
95 |
|
<ul> |
96 |
|
<LI><A HREF="#webmin">Webmin (remote admin service)</A></LI> |
97 |
|
</ul> |
98 |
|
</li> |
99 |
|
</ul> |
100 |
|
|
101 |
|
<font style='font-size:12px'> |
102 |
|
|
103 |
|
<h2>System Services</h2> |
104 |
|
<h3><a name="cron">Cron (program timer)</a></h3> |
105 |
|
<p> |
106 |
|
When used with <b>Solaris</b> the init.d script needs a modification. |
107 |
|
Add the following line after start of cron according to the |
108 |
|
<a href="faq.html">Monit FAQ</a>: |
109 |
|
<pre> |
110 |
|
/usr/bin/pgrep -x -u 0 -P 1 cron > /var/run/cron.pid |
111 |
|
</pre> |
112 |
|
</p> |
113 |
|
<pre> |
114 |
|
check cron with pidfile /var/run/cron.pid |
115 |
|
start program = "/etc/init.d/cron start" |
116 |
|
stop program = "/etc/init.d/cron stop" |
117 |
|
checksum /etc/init.d/cron |
118 |
|
timeout (5,5) |
119 |
|
alert foo@bar |
120 |
|
alert 123456@sms on { timeout } |
121 |
|
</pre> |
122 |
|
|
123 |
|
<h3><a name="gdm">Gdm (gnome desktop manager)</a></h3> |
124 |
|
<pre> |
125 |
|
check gdm with pidfile /var/run/gdm.pid |
126 |
|
start program = "/etc/init.d/gdm start" |
127 |
|
stop program = "/etc/init.d/gdm stop" |
128 |
|
timeout (5,5) |
129 |
|
alert foo@bar |
130 |
|
alert 123456@sms on { timeout } |
131 |
|
</pre> |
132 |
|
|
133 |
<font style='font-size:12px'><PRE> |
<h3><a name="inetd">Inetd (internet service manager)</a></h3> |
134 |
|
<pre> |
135 |
|
check inetd with pidfile /var/run/inetd.pid |
136 |
|
start program = "/etc/init.d/inetd start" |
137 |
|
stop program = "/etc/init.d/inetd stop" |
138 |
|
host 192.168.1.1 port 25 protocol smtp # e.g. exim |
139 |
|
host 192.168.1.1 port 515 # e.g. cups-lpd |
140 |
|
host 192.168.1.1 port 113 # e.g. ident |
141 |
|
timeout (5,5) |
142 |
|
alert foo@bar |
143 |
|
alert 123456@sms on { timeout } |
144 |
|
</pre> |
145 |
|
|
146 |
|
<h3><a name="syslogd">Syslogd (system logfile daemon)</a></h3> |
147 |
|
<pre> |
148 |
|
check syslogd with pidfile /var/run/syslogd.pid |
149 |
|
start program = "/etc/init.d/sysklogd start" |
150 |
|
stop program = "/etc/init.d/sysklogd stop" |
151 |
|
timestamp "/var/log/syslog" > 65 minutes |
152 |
|
then alert # Have you seen "-- MARK --"? |
153 |
|
timeout (5,5) |
154 |
|
alert foo@bar |
155 |
|
alert 123456@sms on { timeout } |
156 |
|
</pre> |
157 |
|
|
158 |
|
<h3><a name="xfs">Xfs (X font server)</a></h3> |
159 |
|
<pre> |
160 |
|
check xfs with pidfile /var/run/xfs.pid |
161 |
|
start program = "/etc/init.d/xfs start" |
162 |
|
stop program = "/etc/init.d/xfs stop" |
163 |
|
timeout (5,5) |
164 |
|
alert foo@bar |
165 |
|
alert 123456@sms on { timeout } |
166 |
|
</pre> |
167 |
|
|
168 |
|
<h3><a name="ypbind">YPBind (Yellow page bind daemon)</a></h3> |
169 |
|
<pre> |
170 |
|
check ypbind with pidfile /var/run/ypbind.pid |
171 |
|
start program = "/etc/init.d/nis start" |
172 |
|
stop program = "/etc/init.d/nis stop" |
173 |
|
timeout (5,5) |
174 |
|
alert foo@bar |
175 |
|
alert 123456@sms on { timeout } |
176 |
|
</pre> |
177 |
|
|
178 |
|
<h2>FTP Services</h2> |
179 |
<h3><a name="proftp">Proftpd</a></h3> |
<h3><a name="proftp">Proftpd</a></h3> |
180 |
|
<pre> |
181 |
check proftpd with pidfile /var/run/proftpd.pid |
check proftpd with pidfile /var/run/proftpd.pid |
182 |
start program = "/etc/init.d/proftpd start" |
start program = "/etc/init.d/proftpd start" |
183 |
stop program = "/etc/init.d/proftpd stop" |
stop program = "/etc/init.d/proftpd stop" |
185 |
timeout (5,5) |
timeout (5,5) |
186 |
alert foo@bar |
alert foo@bar |
187 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
188 |
|
</pre> |
189 |
|
|
190 |
|
<h2>Login Services</h2> |
191 |
<h3><a name="ssh">SSHD</a></h3> |
<h3><a name="ssh">SSHD</a></h3> |
192 |
|
<pre> |
193 |
check sshd with pidfile /var/run/sshd.pid |
check sshd with pidfile /var/run/sshd.pid |
194 |
start program "/etc/init.d/sshd start" |
start program "/etc/init.d/sshd start" |
195 |
stop program "/etc/init.d/sshd stop" |
stop program "/etc/init.d/sshd stop" |
197 |
timeout(5, 5) |
timeout(5, 5) |
198 |
alert foo@bar |
alert foo@bar |
199 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
200 |
|
</pre> |
201 |
|
|
202 |
|
<h2>WWW Services</h2> |
203 |
|
<h3><a name="apache">Apache (web server)</a></h3> |
204 |
|
<p> |
205 |
|
<b>Hint:</b> It is advisable to use a token file for monit. Thus, it |
206 |
|
is easily possible to filter out the accesses done by monit. |
207 |
|
</p> |
208 |
|
<p> |
209 |
|
In some cases init scripts for apache and apache-ssl are separated, e.g. Debian Linux. |
210 |
|
</p> |
211 |
|
<pre> |
212 |
|
check apache with pidfile /opt/apache_misc/logs/httpd.pid |
213 |
|
start program = "/etc/init.d/apache start" |
214 |
|
stop program = "/etc/init.d/apache stop" |
215 |
|
host 192.168.1.1 port 80 |
216 |
|
protocol HTTP request /monit/token |
217 |
|
host 192.168.1.1 port 443 type TCPSSL |
218 |
|
certmd5 12-34-56-78-90-AB-CD-EF-12-34-56-78-90-AB-CD-EF |
219 |
|
protocol HTTP request /monit/token |
220 |
|
group www |
221 |
|
timeout(5,5) |
222 |
|
checksum /etc/init.d/apache |
223 |
|
checksum /opt/apache/bin/httpd |
224 |
|
alert foo@bar |
225 |
|
alert 123456@sms on { timeout } |
226 |
|
</pre> |
227 |
|
|
228 |
|
<h3><a name="zope">Zope (application server)</a></h3> |
229 |
|
<pre> |
230 |
|
check zope with pidfile /opt/Zope/var/zProcessManager.pid |
231 |
|
start program = "/etc/init.d/zope start" |
232 |
|
stop program = "/etc/init.d/zope stop" |
233 |
|
group www |
234 |
|
host 192.168.1.1 port 8080 protocol HTTP |
235 |
|
timeout(5, 5) |
236 |
|
every 5 |
237 |
|
alert foo@bar |
238 |
|
alert 123456@sms on { timeout } |
239 |
|
</pre> |
240 |
|
|
241 |
|
<h3><a name="squid">Squid (http/ftp proxy)</a></h3> |
242 |
|
<pre> |
243 |
|
check squid with pidfile /opt/squid/logs/squid.pid |
244 |
|
start program = "/etc/init.d/squid start" |
245 |
|
stop program = "/etc/init.d/squid stop" |
246 |
|
group www |
247 |
|
host 192.168.1.1 port 3128 |
248 |
|
timeout(5,5) |
249 |
|
checksum /etc/init.d/squid |
250 |
|
checksum /opt/squid/bin/squid |
251 |
|
alert foo@bar |
252 |
|
alert 123456@sms on { timeout } |
253 |
|
</pre> |
254 |
|
|
255 |
|
<h3><a name="privoxy">Privoxy (spamfilter proxy)</a></h3> |
256 |
|
<pre> |
257 |
|
check privoxy with pidfile /opt/privoxy/var/privoxy.pid |
258 |
|
start program = "/etc/init.d/privoxy start" |
259 |
|
stop program = "/etc/init.d/privoxy stop" |
260 |
|
group www |
261 |
|
timeout(5,5) |
262 |
|
host 192.168.1.1 port 8118 |
263 |
|
checksum /etc/init.d/privoxy |
264 |
|
checksum /opt/privoxy/sbin/privoxy |
265 |
|
alert foo@bar |
266 |
|
alert 123456@sms on { timeout } |
267 |
|
</pre> |
268 |
|
|
269 |
|
<h2>Mail Services</h2> |
270 |
|
|
271 |
|
<h3><a name="postfix">Postfix (mail server)</a></h3> |
272 |
|
<pre> |
273 |
|
check postfix with pidfile /var/spool/postfix/pid/master.pid |
274 |
|
start program = "/etc/init.d/postfix start" |
275 |
|
stop program = "/etc/init.d/postfix stop" |
276 |
|
host 192.168.1.1 port 25 protocol smtp |
277 |
|
group mail |
278 |
|
timeout(5, 5) |
279 |
|
checksum /etc/init.d/postfix |
280 |
|
alert foo@bar |
281 |
|
alert 123456@sms on { timeout } |
282 |
|
</pre> |
283 |
|
|
284 |
|
<h3><a name="sendmail">Sendmail (mail server)</a></h3> |
285 |
|
<pre> |
286 |
|
check sendmail with pidfile /var/run/sendmail.pid |
287 |
|
start program = "/etc/init.d/sendmail start" |
288 |
|
stop program = "/etc/init.d/sendmail stop" |
289 |
|
group mail |
290 |
|
host 192.168.1.1 port 25 protocol smtp |
291 |
|
checksum /etc/init.d/sendmail |
292 |
|
checksum /usr/lib/sendmail |
293 |
|
alert foo@bar |
294 |
|
alert 123456@sms on { timeout } |
295 |
|
</pre> |
296 |
|
|
297 |
|
<h3><a name="qpopper">Qpopper (pop3 server)</a></h3> |
298 |
|
<pre> |
299 |
|
check qpopper with pidfile /var/run/popper.pid |
300 |
|
start program = "/etc/init.d/qpopper start" |
301 |
|
stop program = "/etc/init.d/qpopper stop" |
302 |
|
group mail |
303 |
|
timeout(5, 5) |
304 |
|
host 192.168.1.1 port 110 type TCP protocol POP |
305 |
|
checksum /etc/init.d/qpopper |
306 |
|
checksum /opt/sbin/popper |
307 |
|
alert foo@bar |
308 |
|
alert 123456@sms on { timeout } |
309 |
|
</pre> |
310 |
|
|
311 |
|
<h3><a name="sophie">Sophie (virus scan daemon)</a></h3> |
312 |
|
<pre> |
313 |
|
check sophie with pidfile /var/run/sophie.pid |
314 |
|
start program = "/etc/init.d/sophie start" |
315 |
|
stop program = "/etc/init.d/sophie stop" |
316 |
|
unix /var/run/sophie |
317 |
|
group mail |
318 |
|
timeout(5, 5) |
319 |
|
checksum /etc/init.d/sophie |
320 |
|
checksum /opt/virus/sophie/sophie |
321 |
|
alert foo@bar |
322 |
|
alert 123456@sms on { timeout } |
323 |
|
</pre> |
324 |
|
|
325 |
|
|
326 |
|
<h3><a name="trophie">Trophie (virus scan daemon)</a></h3> |
327 |
|
<pre> |
328 |
|
check trophie with pidfile /var/run/trophie.pid |
329 |
|
start program = "/etc/init.d/trophie start" |
330 |
|
stop program = "/etc/init.d/trophie stop" |
331 |
|
unix /var/run/trophie |
332 |
|
group mail |
333 |
|
timeout(5, 5) |
334 |
|
checksum /etc/init.d/trophie |
335 |
|
checksum /opt/virus/trophie/trophie |
336 |
|
alert foo@bar |
337 |
|
alert 123456@sms on { timeout } |
338 |
|
</pre> |
339 |
|
|
340 |
|
<h3><a name="spamd">Spamassassin daemon (spam scan daemon)</a></h3> |
341 |
|
<pre> |
342 |
|
check spamd with pidfile /var/run/spamd.pid |
343 |
|
start program = "/etc/init.d/spamd start" |
344 |
|
stop program = "/etc/init.d/spamd stop" |
345 |
|
group mail |
346 |
|
timeout(5, 5) |
347 |
|
checksum /etc/init.d/spamd |
348 |
|
checksum /usr/local/bin/spamd |
349 |
|
alert foo@bar |
350 |
|
alert 123456@sms on { timeout } |
351 |
|
</pre> |
352 |
|
|
353 |
|
<h2>Database Services</h2> |
354 |
|
<h3><a name="mysqld">MySQL Server</a></h3> |
355 |
|
<p> |
356 |
|
The name of the <tt>pidfile</tt> consists usually of the fully |
357 |
|
quallified domainname and <tt>pidfile</tt> as extension. |
358 |
|
</p> |
359 |
|
<pre> |
360 |
|
check mysql with pidfile /opt/mysql/data/myserver.mydomain.pid |
361 |
|
start program = "/etc/init.d/mysql start" |
362 |
|
stop program = "/etc/init.d/mysql stop" |
363 |
|
host 192.168.1.1 port 3306 |
364 |
|
group database |
365 |
|
timeout(5, 5) |
366 |
|
checksum /etc/init.d/mysql |
367 |
|
checksum /opt/mysql/bin/mysqld |
368 |
|
alert foo@bar |
369 |
|
alert 123456@sms on { timeout } |
370 |
|
</pre> |
371 |
|
|
372 |
|
<h2>File Services</h2> |
373 |
|
<h3><a name="samba">Samba (windows file/domain server)</a></h3> |
374 |
|
<p> |
375 |
|
<b>Hint:</b> For enhanced controllability of the service it is |
376 |
|
handy to split up the samba init file into two pieces, one for smbd |
377 |
|
(the file service) and one for nmbd (the name service). |
378 |
|
</p> |
379 |
|
<pre> |
380 |
|
check smbd with pidfile /opt/samba2.2/var/locks/smbd.pid |
381 |
|
start program = "/etc/init.d/smbd start" |
382 |
|
stop program = "/etc/init.d/smbd stop" |
383 |
|
host 192.168.1.1 port 139 type TCP |
384 |
|
group samba |
385 |
|
checksum /opt/samba2.2/sbin/smbd |
386 |
|
alert foo@bar |
387 |
|
alert 123456@sms on { timeout } |
388 |
|
</pre> |
389 |
|
|
390 |
|
<pre> |
391 |
|
check nmbd with pidfile /opt/samba2.2/var/locks/nmbd.pid |
392 |
|
start program = "/etc/init.d/nmbd start" |
393 |
|
stop program = "/etc/init.d/nmbd stop" |
394 |
|
host 192.168.1.1 port 138 type UDP |
395 |
|
host 192.168.1.1 port 137 type UDP |
396 |
|
group samba |
397 |
|
checksum /opt/samba2.2/sbin/nmbd |
398 |
|
alert foo@bar |
399 |
|
alert 123456@sms on { timeout } |
400 |
|
</pre> |
401 |
|
|
402 |
|
<h2>Printing Services</h2> |
403 |
|
<h3><a name="lprng">LPRng (printer daemon)</a></h3> |
404 |
|
<pre> |
405 |
|
check lprng with pidfile /var/run/lpd.515 |
406 |
|
start program = "/etc/init.d/lprng start" |
407 |
|
stop program = "/etc/init.d/lprng stop" |
408 |
|
host 192.168.1.1 port 515 type TCP |
409 |
|
group printer |
410 |
|
checksum /etc/init.d/lprng |
411 |
|
checksum /opt/lprng/sbin/lpd |
412 |
|
alert foo@bar |
413 |
|
alert 123456@sms on { timeout } |
414 |
|
</pre> |
415 |
|
|
416 |
|
<h2>Sun ONE Services</h2> |
417 |
<h3><a name="iplanetdir">iPlanetDirectoryServer slapd</a></h3> |
<h3><a name="iplanetdir">iPlanetDirectoryServer slapd</a></h3> |
418 |
|
<pre> |
419 |
check ldap-master with pidfile /usr/iplanet/ldapmaster/slapd-master-1/logs/pid |
check ldap-master with pidfile /usr/iplanet/ldapmaster/slapd-master-1/logs/pid |
420 |
start program "/usr/iplanet/ldapmaster/slapd-master-1/start-slapd" |
start program "/usr/iplanet/ldapmaster/slapd-master-1/start-slapd" |
421 |
stop program "/usr/iplanet/ldapmaster/slapd-master-1/stop-slapd" |
stop program "/usr/iplanet/ldapmaster/slapd-master-1/stop-slapd" |
423 |
host 192.168.1.1 port 389 |
host 192.168.1.1 port 389 |
424 |
alert foo@bar |
alert foo@bar |
425 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
426 |
|
</pre> |
427 |
|
|
428 |
<h3><a name="iplanetmsg">iPlanetMessagingServer MTA dispatcher</a></h3> |
<h3><a name="iplanetmsg">iPlanetMessagingServer MTA dispatcher</a></h3> |
429 |
|
<pre> |
430 |
check mta-dispatcher |
check mta-dispatcher |
431 |
with pidfile /usr/iplanet/msg-ims-1/config/pidfile.imta_dispatch |
with pidfile /usr/iplanet/msg-ims-1/config/pidfile.imta_dispatch |
432 |
start program "/usr/iplanet/msg-ims-1/imsimta start dispatcher" |
start program "/usr/iplanet/msg-ims-1/imsimta start dispatcher" |
436 |
host 192.168.1.1 port 25 protocol smtp |
host 192.168.1.1 port 25 protocol smtp |
437 |
alert foo@bar |
alert foo@bar |
438 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
439 |
|
</pre> |
440 |
|
|
441 |
<h3> iPlanetMessagingServer MTA job controler</h3> |
<h3> iPlanetMessagingServer MTA job controler</h3> |
442 |
|
<pre> |
443 |
check mta-job_controller |
check mta-job_controller |
444 |
with pidfile /usr/iplanet/msg-ims-1/config/pidfile.imta_jbc |
with pidfile /usr/iplanet/msg-ims-1/config/pidfile.imta_jbc |
445 |
start program "/usr/iplanet/msg-ims-1/imsimta start job_controller" |
start program "/usr/iplanet/msg-ims-1/imsimta start job_controller" |
449 |
host 192.168.1.1 port 28442 |
host 192.168.1.1 port 28442 |
450 |
alert foo@bar |
alert foo@bar |
451 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
452 |
|
</pre> |
453 |
|
|
454 |
<h3> iPlanetMessagingServer stored</h3> |
<h3> iPlanetMessagingServer stored</h3> |
455 |
|
<pre> |
456 |
check store with pidfile /usr/iplanet/msg-ims-1/config/pidfile.store |
check store with pidfile /usr/iplanet/msg-ims-1/config/pidfile.store |
457 |
start program "/usr/iplanet/msg-ims-1/start-msg store" |
start program "/usr/iplanet/msg-ims-1/start-msg store" |
458 |
stop program "/usr/iplanet/msg-ims-1/stop-msg store" |
stop program "/usr/iplanet/msg-ims-1/stop-msg store" |
463 |
timeout(5, 5) |
timeout(5, 5) |
464 |
alert foo@bar |
alert foo@bar |
465 |
alert 123456@sms on { timestamp timeout } |
alert 123456@sms on { timestamp timeout } |
466 |
|
</pre> |
467 |
|
|
468 |
<h3> iPlanetMessagingServer mshttpd</h3> |
<h3> iPlanetMessagingServer mshttpd</h3> |
469 |
|
<pre> |
470 |
check webmail with pidfile /usr/iplanet/msg-ims-1/config/pidfile.http |
check webmail with pidfile /usr/iplanet/msg-ims-1/config/pidfile.http |
471 |
start program "/usr/iplanet/msg-ims-1/start-msg http" |
start program "/usr/iplanet/msg-ims-1/start-msg http" |
472 |
stop program "/usr/iplanet/msg-ims-1/stop-msg http" |
stop program "/usr/iplanet/msg-ims-1/stop-msg http" |
475 |
host 192.168.1.1 port 80 protocol http |
host 192.168.1.1 port 80 protocol http |
476 |
alert foo@bar |
alert foo@bar |
477 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
478 |
|
</pre> |
479 |
|
|
480 |
<h3> iPlanetMessagingServer popd</h3> |
<h3> iPlanetMessagingServer popd</h3> |
481 |
|
<pre> |
482 |
check pop3 with pidfile /usr/iplanet/msg-ims-1/config/pidfile.pop |
check pop3 with pidfile /usr/iplanet/msg-ims-1/config/pidfile.pop |
483 |
start program "/usr/iplanet/msg-ims-1/start-msg pop" |
start program "/usr/iplanet/msg-ims-1/start-msg pop" |
484 |
stop program "/usr/iplanet/msg-ims-1/stop-msg pop" |
stop program "/usr/iplanet/msg-ims-1/stop-msg pop" |
487 |
host 192.168.1.1 port 110 protocol pop |
host 192.168.1.1 port 110 protocol pop |
488 |
alert foo@bar |
alert foo@bar |
489 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
490 |
|
</pre> |
491 |
|
|
492 |
<h3> iPlanetMessagingServer imapd</h3> |
<h3> iPlanetMessagingServer imapd</h3> |
493 |
|
<pre> |
494 |
check imap4 with pidfile /usr/iplanet/msg-ims-1/config/pidfile.imap |
check imap4 with pidfile /usr/iplanet/msg-ims-1/config/pidfile.imap |
495 |
start program "/usr/iplanet/msg-ims-1/start-msg imap" |
start program "/usr/iplanet/msg-ims-1/start-msg imap" |
496 |
stop program "/usr/iplanet/msg-ims-1/stop-msg imap" |
stop program "/usr/iplanet/msg-ims-1/stop-msg imap" |
499 |
host 192.168.1.1 port 143 protocol imap |
host 192.168.1.1 port 143 protocol imap |
500 |
alert foo@bar |
alert foo@bar |
501 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
502 |
|
</pre> |
503 |
|
|
504 |
<h3> iPlanetMessagingServer madmand (SNMP subagent)</h3> |
<h3> iPlanetMessagingServer madmand (SNMP subagent)</h3> |
505 |
|
<pre> |
506 |
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 |
507 |
start program "/usr/iplanet/msg-ims-1/start-msg snmp" |
start program "/usr/iplanet/msg-ims-1/start-msg snmp" |
508 |
stop program "/usr/iplanet/msg-ims-1/stop-msg snmp" |
stop program "/usr/iplanet/msg-ims-1/stop-msg snmp" |
510 |
timeout(5, 5) |
timeout(5, 5) |
511 |
alert foo@bar |
alert foo@bar |
512 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
513 |
|
</pre> |
514 |
|
|
515 |
<h3> iPlanetMessagingServer MMP (POP3/IMAP4 proxy)</h3> |
<h3> iPlanetMessagingServer MMP (POP3/IMAP4 proxy)</h3> |
516 |
|
<pre> |
517 |
check mmp with pidfile /usr/iplanet/mmp-ims2/pidfile |
check mmp with pidfile /usr/iplanet/mmp-ims2/pidfile |
518 |
start program "/usr/iplanet/mmp-ims2/AService.rc start" |
start program "/usr/iplanet/mmp-ims2/AService.rc start" |
519 |
stop program "/usr/iplanet/mmp-ims2/AService.rc stop" |
stop program "/usr/iplanet/mmp-ims2/AService.rc stop" |
523 |
host 192.168.1.2 port 143 protocol imap |
host 192.168.1.2 port 143 protocol imap |
524 |
alert foo@bar |
alert foo@bar |
525 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
526 |
|
</pre> |
527 |
|
|
528 |
<h3><a name="iplanetcal">iPlanetCalendarServer csadmind</a></h3> |
<h3><a name="iplanetcal">iPlanetCalendarServer csadmind</a></h3> |
529 |
|
<pre> |
530 |
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 |
531 |
start program "/usr/iplanet/SUNWics5/cal/bin/csstart service admin" |
start program "/usr/iplanet/SUNWics5/cal/bin/csstart service admin" |
532 |
stop program "/usr/iplanet/SUNWics5/cal/bin/csstop service admin" |
stop program "/usr/iplanet/SUNWics5/cal/bin/csstop service admin" |
534 |
timeout(5, 5) |
timeout(5, 5) |
535 |
alert foo@bar |
alert foo@bar |
536 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
537 |
|
</pre> |
538 |
|
|
539 |
<h3> iPlanetCalendarServer cshttpd</h3> |
<h3> iPlanetCalendarServer cshttpd</h3> |
540 |
|
<pre> |
541 |
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 |
542 |
start program "/usr/iplanet/SUNWics5/cal/bin/csstart service http" |
start program "/usr/iplanet/SUNWics5/cal/bin/csstart service http" |
543 |
stop program "/usr/iplanet/SUNWics5/cal/bin/csstop service http" |
stop program "/usr/iplanet/SUNWics5/cal/bin/csstop service http" |
546 |
host 192.168.1.3 port 80 protocol http |
host 192.168.1.3 port 80 protocol http |
547 |
alert foo@bar |
alert foo@bar |
548 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
549 |
|
</pre> |
550 |
|
|
551 |
<h3> iPlanetCalendarServer csdwpd (database wire protocol)</h3> |
<h3> iPlanetCalendarServer csdwpd (database wire protocol)</h3> |
552 |
|
<pre> |
553 |
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 |
554 |
start program "/usr/iplanet/SUNWics5/cal/bin/csstart service dwp" |
start program "/usr/iplanet/SUNWics5/cal/bin/csstart service dwp" |
555 |
stop program "/usr/iplanet/SUNWics5/cal/bin/csstop service dwp" |
stop program "/usr/iplanet/SUNWics5/cal/bin/csstop service dwp" |
559 |
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 |
560 |
alert foo@bar |
alert foo@bar |
561 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
562 |
|
</pre> |
563 |
|
|
564 |
<h3> iPlanetCalendarServer csnotifyd</h3> |
<h3> iPlanetCalendarServer csnotifyd</h3> |
565 |
|
<pre> |
566 |
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 |
567 |
start program "/usr/iplanet/SUNWics5/cal/bin/csstart service notify" |
start program "/usr/iplanet/SUNWics5/cal/bin/csstart service notify" |
568 |
stop program "/usr/iplanet/SUNWics5/cal/bin/csstop service notify" |
stop program "/usr/iplanet/SUNWics5/cal/bin/csstop service notify" |
570 |
timeout(5, 5) |
timeout(5, 5) |
571 |
alert foo@bar |
alert foo@bar |
572 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
573 |
|
</pre> |
574 |
|
|
575 |
<h3> iPlanetCalendarServer enpd (event notification service broker)</h3> |
<h3> iPlanetCalendarServer enpd (event notification service broker)</h3> |
576 |
|
<pre> |
577 |
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 |
578 |
start program "/usr/iplanet/SUNWics5/cal/bin/csstart service ens" |
start program "/usr/iplanet/SUNWics5/cal/bin/csstart service ens" |
579 |
stop program "/usr/iplanet/SUNWics5/cal/bin/csstop service ens" |
stop program "/usr/iplanet/SUNWics5/cal/bin/csstop service ens" |
582 |
host 192.168.1.3 port 7997 |
host 192.168.1.3 port 7997 |
583 |
alert foo@bar |
alert foo@bar |
584 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
585 |
|
</pre> |
586 |
|
|
587 |
|
|
588 |
|
<h2>Misc Services</h2> |
589 |
|
<h3><a name="apcupsd">Apcupsd (APC ups daemon)</a></h3> |
590 |
|
<pre> |
591 |
|
check apcupsd with pidfile /var/run/sshd.pid |
592 |
|
start program = "/etc/init.d/apcupsd start" |
593 |
|
stop program = "/etc/init.d/apcupsd stop" |
594 |
|
timeout(5, 5) |
595 |
|
host 192.168.1.3 port 7000 type TCP |
596 |
|
checksum /etc/init.d/apcupsd |
597 |
|
checksum /opt/apcupsd/sbin/apcupsd |
598 |
|
alert foo@bar |
599 |
|
alert 123456@sms on { timeout } |
600 |
|
</pre> |
601 |
|
|
602 |
</PRE></font> |
<h3><a name="webmin">Webmin (remote admin service)</a></h3> |
603 |
|
<pre> |
604 |
|
check webmin with pidfile /var/webmin/miniserv.pid |
605 |
|
start program = "/etc/init.d/webmin start" |
606 |
|
stop program = "/etc/init.d/webmin stop" |
607 |
|
host 192.168.1.3 port 10000 |
608 |
|
checksum /etc/init.d/webmin |
609 |
|
timeout(5, 5) |
610 |
|
alert foo@bar |
611 |
|
alert 123456@sms on { timeout } |
612 |
|
</pre> |
613 |
|
</font> |
614 |
</TD> |
</TD> |
615 |
</TR> |
</TR> |
616 |
</TABLE> |
</TABLE> |