[project @ peter@palfrader.org-20080405133753-anbez5cngqrt4k0t]
[mirror/dsa-nagios.git] / nagios-master.cfg
1 # Non comment lines are YAML
2 #
3 # Strings ought to be in double quotes, but it works in most cases if they aren't :)
4 #
5 # vim:set syntax=yaml:
6
7 # TODO
8 #  - raff:  identd, hpasmd
9 #  - spohr: hpasmd
10 #  - *: mailq
11 #  - *: check munin stats collection works
12 #  - *: check backups are successful
13 #  - *: unwanted: process: inetd.  network: auth
14 #  - goetz: gmond/gmetad
15 #  - verdi: pg upgrade, openvpn
16 #  - mundy: salinfo_decode
17 #  -
18 #  - agnesi
19 #  - caballero
20 #  - casals
21 #  - crest
22 #  - elara
23 #  - europa
24 #  - kassia
25 #  - kullervo
26 #  - lebrun
27 #  - liszt
28 #  - murphy
29 #  - paer
30 #  - piatti
31 #  - puccini
32 #  - ravel
33 #  - sarti
34 #  - spontini
35 #  - tartini
36 #  - voltaire
37
38 # down:
39 #  - goedel
40 #  - leisner
41 #  - schulz
42
43 ---
44 #############################
45 # hosts
46 #############################
47 servers:
48   gw-MAN-DA-debian:
49     address: 82.195.75.126
50     parents: gw-HP-ftc
51     hostgroups: routing-infrastructure
52   gw-HP-ftc:
53     address: 192.25.206.1
54     parents: samosa
55     hostgroups: routing-infrastructure
56   gw-brainfood:
57     address: 70.103.162.1
58     parents: gw-HP-ftc
59     hostgroups: routing-infrastructure
60   gw-brown.edu:
61     address: 128.148.34.1
62     parents: gw-HP-ftc
63     hostgroups: routing-infrastructure
64   gw-osuosl:
65     address: 140.211.166.1
66     parents: gw-HP-ftc
67     hostgroups: routing-infrastructure
68   gw-scanplus-villa:
69     address: 212.211.132.1
70     parents: gw-HP-ftc
71     hostgroups: routing-infrastructure
72   gw-scanplus-lobos:
73     address: 212.211.132.249
74     parents: gw-HP-ftc
75     hostgroups: routing-infrastructure
76   gw-mit-csail:
77     address: 128.30.0.254
78     parents: gw-HP-ftc
79     hostgroups: routing-infrastructure
80   gw-xs4all:
81     address: 194.109.137.217
82     parents: gw-HP-ftc
83     hostgroups: routing-infrastructure
84   gw-umn.edu:
85     address: 128.101.240.222
86     parents: gw-HP-ftc
87     hostgroups: routing-infrastructure
88   gw-dg-i.net:
89     address: 195.49.152.190
90     parents: gw-HP-ftc
91     hostgroups: routing-infrastructure
92   gw-freenet:
93     address: 62.104.23.249
94     parents: gw-HP-ftc
95     hostgroups: routing-infrastructure
96   gw-topalis:
97     address: 195.243.109.254
98     parents: gw-HP-ftc
99     hostgroups: routing-infrastructure
100   gw-sanger:
101     address: 193.62.202.18
102     parents: gw-HP-ftc
103     hostgroups: routing-infrastructure
104   gw-cst:
105     address: 213.188.99.215
106     parents: gw-HP-ftc
107     hostgroups: routing-infrastructure
108   gw-lrz:
109     address: 129.187.0.150
110     parents: gw-HP-ftc
111     hostgroups: routing-infrastructure
112
113   samosa:
114     address: 192.25.206.57
115     hostgroups: computers, service, dl380, apache2-hosts, bind9-hosts, heavy-email
116   raff:
117     address: 192.25.206.59
118     parents: samosa
119     hostgroups: computers, service, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts, heavy-email
120   gluck:
121     address: 192.25.206.10
122     parents: samosa
123     hostgroups: computers, general, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts, heavy-email
124   merkel:
125     address: 192.25.206.16
126     parents: samosa
127     hostgroups: computers, general, apache1-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts, heavy-email
128   spohr:
129     address: 192.25.206.33
130     parents: samosa
131     hostgroups: computers, service, dl380, apache2-hosts, postgres81-hosts
132   peri:
133     address: 192.25.206.15
134     parents: samosa
135     hostgroups: computers, buildd, sw-raid
136   penalosa:
137     address: 192.25.206.68
138     parents: samosa
139     hostgroups: computers, buildd, sw-raid
140   mundy:
141     address: 192.25.206.62
142     parents: samosa
143     hostgroups: computers, buildd
144
145   bartok:
146     address: 82.195.75.91
147     parents: gw-MAN-DA-debian
148     hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385
149   sperger:
150     address: 82.195.75.98
151     parents: gw-MAN-DA-debian
152     hostgroups: computers, porterbox, sw-raid
153   agricola:
154     address: 82.195.75.86
155     parents: gw-MAN-DA-debian
156     hostgroups: computers, porterbox, sw-raid
157   arcadelt:
158     address: 82.195.75.87
159     parents: gw-MAN-DA-debian
160     hostgroups: computers, buildd, sw-raid
161
162   master:
163     address: 70.103.162.29
164     parents: gw-brainfood
165     hostgroups: computers, general, apache2-hosts, bind9-hosts, heavy-email
166
167   ries:
168     address: 128.148.34.103
169     parents: gw-brown.edu
170     hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts, heavy-email
171
172   mayer:
173     address: 140.211.166.78
174     parents: gw-osuosl
175     hostgroups: computers, buildd
176   mayr:
177     address: 140.211.166.58
178     parents: gw-osuosl
179     hostgroups: computers, buildd
180   malo:
181     address: 140.211.166.27
182     parents: gw-osuosl
183     hostgroups: computers, buildd
184   rietz:
185     address: 140.211.166.43
186     parents: gw-osuosl
187     hostgroups: computers, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385, heavy-email
188   rietz2:
189     address: 140.211.166.44
190     parents: rietz
191     hostgroups: secondary-IPs
192
193   villa:
194     address: 212.211.132.32
195     parents: gw-scanplus-villa
196     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
197   lobos:
198     address: 212.211.132.250
199     parents: gw-scanplus-lobos
200     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
201
202   steffani:
203     address: 128.31.0.36
204     parents: gw-mit-csail
205     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
206
207   klecker:
208     address: 194.109.137.218
209     parents: gw-xs4all
210     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts, heavy-email
211
212   saens:
213     address: 128.101.240.212
214     parents: gw-umn.edu
215     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, heavy-email
216
217   argento:
218     address: 195.49.152.174
219     parents: gw-dg-i.net
220     hostgroups: computers, buildd, sw-raid
221
222   pergolesi:
223     address: 62.104.23.252
224     parents: gw-freenet
225     hostgroups: computers, porterbox, sw-raid
226   bruckner:
227     address: 62.104.23.253
228     parents: gw-freenet
229     hostgroups: computers, porterbox
230
231   raptor:
232     address: 195.243.109.162
233     parents: gw-topalis
234     hostgroups: computers, porterbox
235
236   albeniz:
237     address: 193.62.202.27
238     parents: gw-sanger
239     hostgroups: computers, porterbox, sw-raid
240   goetz:
241     address: 193.62.202.26
242     parents: gw-sanger
243     hostgroups: computers, buildd, sw-raid
244
245   escher:
246     address: 213.188.99.215
247     parents: gw-cst
248     hostgroups: computers, porterbox
249
250   verdi:
251     address: 192.54.42.193
252     parents: gw-lrz
253     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, postgres81-hosts, postfix-hosts
254
255 #############################
256 # host groups
257 #
258 # hostgroups ircd and all are automatically defined
259 #
260 #############################
261 hostgroups:
262   computers:
263     alias: computers
264     private: 1
265   routing-infrastructure:
266     alias: Internet routers and friends
267     extinfo-icon_image: base/switch40.png
268     extinfo-icon_image_alt: router
269
270   porterbox:
271     alias: developer accessible porter machines
272     extinfo-icon_image: base/debian.png
273     extinfo-icon_image_alt: Debian GNU/Linux
274     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
275   service:
276     alias: machines running services
277     extinfo-icon_image: base/debian.png
278     extinfo-icon_image_alt: Debian GNU/Linux
279     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
280   buildd:
281     alias: buildd systems
282     extinfo-icon_image: base/debian.png
283     extinfo-icon_image_alt: Debian GNU/Linux
284     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
285   general:
286     alias: general purpose developer accessible machines
287     extinfo-icon_image: base/debian.png
288     extinfo-icon_image_alt: Debian GNU/Linux
289     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
290
291   dl380:
292     alias: HP DL380 hosts
293     private: 1
294   dl385:
295     alias: HP DL385 hosts
296     private: 1
297   sw-raid:
298     alias: Hosts with Linux software raid
299     private: 1
300
301   syslog-ng-hosts:
302     alias: hosts running syslog-ng instead of sysklogd
303     private: 1
304   postfix-hosts:
305     alias: hosts running postfix instead of exim
306     private: 1
307   heavy-email:
308     alias: "hosts running the full mail stuff, including clamav, SA, and greylistd"
309     private: 1
310   apache2-hosts:
311     alias: hosts running apache2
312     private: 1
313   apache1-hosts:
314     alias: hosts running apache1
315     private: 1
316   bind9-hosts:
317     alias: hosts running bind9
318     private: 1
319   ftpd-hosts:
320     alias: hosts running vsftpd
321     private: 1
322   rsyncd-hosts:
323     alias: hosts providing rsync services via xinetd
324     private: 1
325   postgres81-hosts:
326     alias: hosts running postgres81
327     private: 1
328
329   secondary-IPs:
330     alias: secondary IP addresses
331     private: 1
332
333 #############################
334 # services
335 #############################
336 services:
337   -
338     name: PING
339     check: "check_ping!300.0,20%!600.0,40%"
340     hostgroups: all
341
342  ############ Services ############
343  ###
344
345  ############ Disk Usage ############
346  ####
347   -
348     name: disk usage - all
349     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
350     hostgroups: computers
351   -
352     name: disk usage on /
353     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /"
354     hostgroups: computers
355   -
356     name: disk usage on /boot
357     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /boot"
358     hosts: sperger, rietz, steffani, penalosa, peri, albeniz, escher, goetz, mayer, mayr
359   -
360     name: disk usage on /var
361     nrpe: "/usr/lib/nagios/plugins/check_disk 50 75 /var"
362     hosts: bartok, samosa, raff, lobos, villa, gluck, saens, escher
363   -
364     name: disk usage on /org
365     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
366     hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, merkel, saens, pergolesi, verdi
367   -
368     name: disk usage on /srv
369     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
370     hosts: agricola, arcadelt, argento
371   -
372     name: disk usage on /org/scratch2
373     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
374     hosts: merkel
375   -
376     name: disk usage on /oldorg
377     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
378     hosts: merkel
379   -
380     name: disk usage on /tmp
381     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
382     hosts: samosa, raff, gluck, saens, escher
383   -
384     name: disk usage on /usr
385     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
386     hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi
387   -
388     name: disk usage on /home
389     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
390     hosts: gluck, raptor, escher
391   -
392     name: disk usage on /chroot
393     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot"
394     hosts: raptor
395
396  ############ All Computers ############
397  ####
398   #-
399   #  name: apt - security updates
400   #  nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
401   #  hostgroups: computers
402   #  normal_check_interval: 480
403   #  notification_interval: 480
404   #  max_check_attempts: 4
405   #  retry_check_interval: 12
406  ####
407   -
408     name: users
409     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
410     hostgroups: computers
411  ####
412   -
413     name: load
414     nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
415     hostgroups: computers
416  ####
417   -
418     name: processes - zombies
419     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
420     hostgroups: computers
421  ####
422   -
423     name: processes - total
424     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
425     hostgroups: computers
426  ####
427   -
428     name: swap usage - percent
429     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
430     hostgroups: computers
431  ####
432   -
433     name: swap usage - mb
434     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
435     hostgroups: computers
436  ####
437   -
438     name: process - getty
439     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
440     hostgroups: computers
441  ####
442   -
443     name: process - sshd
444     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
445     hostgroups: computers
446   -
447     name: "network service - sshd"
448     check: check_ssh
449     hostgroups: computers
450     depends: process - sshd
451     normal_check_interval:  60
452     notification_interval:  60
453  ####
454   -
455     name: network service - nrpe
456     check: check_tcp!5666
457     hostgroups: computers
458     max_check_attempts: -1
459   -
460     name: process - nrpe
461     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u nagios -C nrpe -a '/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d'"
462     hostgroups: computers
463     depends: network service - nrpe
464  ###
465   -
466     name: process - munin-node
467     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
468     hostgroups: computers
469   -
470     name: network service - munin-node
471     check: check_tcp!4949
472     hostgroups: computers
473     depends: process - munin-node
474  ###
475   -
476     name: process - ntpd
477     # sarge: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
478     # etch: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u ntp -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
479     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
480     hostgroups: computers
481     excludehosts: raptor
482   -
483     name: network service - ntp
484     check: check_ntp
485     hostgroups: computers
486     depends: process - ntpd
487     excludehosts: raptor
488   #
489   -
490     name: network service - time
491     check: check_time
492     hosts: raptor
493     depends: process - xinetd
494
495  ###
496   -
497     name: process - atd
498     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
499     hostgroups: computers
500  ###
501   -
502     name: process - cron
503     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
504     hostgroups: computers
505
506  ###
507   -
508     name: process - syslog-ng
509     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng  -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'"
510     hostgroups: syslog-ng-hosts
511  ###
512   -
513     name: process - syslogd
514     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
515     hostgroups: computers
516     excludehostgroups: syslog-ng-hosts
517   -
518     name: process - klogd
519     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
520     hostgroups: computers
521     excludehostgroups: syslog-ng-hosts
522
523  ### MAIL STUFF
524  ###
525   -
526     name: process - exim
527     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
528     hostgroups: computers
529     excludehostgroups: postfix-hosts
530     excludehosts: master, rietz, merkel
531   -
532     name: process - exim - total
533     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
534     hostgroups: computers
535     excludehostgroups: postfix-hosts
536     excludehosts: master, rietz, merkel
537   -
538     name: process - exim
539     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
540     hosts: master, rietz, merkel
541  ###
542   -
543     name: process - clamav - clamd
544     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
545     hostgroups: heavy-email
546   -
547     name: service - clamav
548     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
549     hostgroups: heavy-email
550     depends: process - clamav - clamd
551   -
552     name: process - clamav - freshclam
553     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
554     hostgroups: heavy-email
555   #
556   -
557     name: unwanted process - clamav
558     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
559     hostgroups: computers
560     excludehostgroups: heavy-email
561   -
562     name: unwanted process - freshclam
563     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
564     hostgroups: computers
565     excludehostgroups: heavy-email
566  ###
567   -
568     name: process - spamd - master
569     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'"
570     #hosts: samosa
571     hostgroups: heavy-email
572     excludehosts: rietz
573   -
574     name: process - spamd - child
575     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
576     hostgroups: heavy-email
577     depends: process - spamd - master
578     excludehosts: rietz
579   #
580   -
581     name: process - spamd - master
582     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
583     hosts: rietz
584   -
585     name: process - spamd - child
586     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
587     hosts: rietz
588   #
589   -
590     name: unwanted process - spamd
591     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
592     hostgroups: computers
593     excludehostgroups: heavy-email
594
595  ###
596   -
597     name: process - greylistd
598     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
599     hostgroups: heavy-email
600   #
601   -
602     name: unwanted process - greylistd
603     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
604     hostgroups: computers
605     excludehostgroups: heavy-email
606
607
608  ###
609   -
610     name: process - postfix - master
611     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
612     hostgroups: postfix-hosts
613   -
614     name: process - postfix - qmgr
615     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
616     hostgroups: postfix-hosts
617     depends: process - postfix - master
618   #-
619   #  name: process - postfix - tlsmgr
620   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
621   #  hostgroups: postfix-hosts
622   #  depends: process - postfix - master
623   -
624     name: process - postfix - pickup
625     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
626     hostgroups: postfix-hosts
627     depends: process - postfix - master
628   -
629     name: process - postfix - anvil
630     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
631     hostgroups: postfix-hosts
632     depends: process - postfix - master
633
634   -
635     name: process - postfix - trivial-rewrite
636     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C trivial-rewrite -a 'trivial-rewrite -n rewrite -t unix -u -c'"
637     hostgroups: postfix-hosts
638     depends: process - postfix - master
639   -
640     name: process - postfix - proxymap
641     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
642     hostgroups: postfix-hosts
643     depends: process - postfix - master
644   -
645     name: process - postfix - smtpd
646     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'"
647     hostgroups: postfix-hosts
648     depends: process - postfix - master
649   -
650     name: process - postfix - cleanup
651     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
652     hostgroups: postfix-hosts
653     depends: process - postfix - master
654   -
655     name: process - postfix - local
656     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
657     hostgroups: postfix-hosts
658     depends: process - postfix - master
659
660
661  ###
662   -
663     name: network service - smtp
664     check: check_smtp
665     hostgroups: postfix-hosts
666     depends: process - postfix - master
667   -
668     name: network service - smtp
669     check: check_smtp
670     hostgroups: computers
671     excludehostgroups: postfix-hosts
672     depends: process - exim
673
674
675  ###
676   -
677     name: process - uptimed
678     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
679     hostgroups: computers
680  ###
681   -
682     name: process - irqbalance
683     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
684     hostgroups: computers
685     excludehosts: arcadelt, agricola, argento, penalosa, peri, escher, bruckner
686
687
688  ####
689  ###
690   -
691     name: unwanted process - system-tools-backends
692     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
693     hostgroups: computers
694   -
695     name: unwanted process - dbus-daemon
696     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
697     hostgroups: computers
698   -
699     name: unwanted process - gkrellmd
700     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
701     hostgroups: computers
702   -
703     name: unwanted process - portmap
704     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
705     hostgroups: computers
706   -
707     name: unwanted process - rpc.statd
708     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
709     hostgroups: computers
710   -
711     name: unwanted process - inetd
712     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
713     hostgroups: computers
714
715
716  ############ Processes/Services that only run on some computers ############
717  ####
718  ###
719   -
720     name: process - rngd
721     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
722     hosts: bartok
723  ###
724   -
725     name: process - sensord
726     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
727     hosts: bartok
728
729  ###
730   -
731     name: process - mdadm monitor
732     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C mdadm -a '/sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan'"
733     hostgroups: sw-raid
734   -
735     name: RAID - sw raid
736     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
737     hostgroups: sw-raid
738
739  ###
740   -
741     name: process - cpqarrayd
742     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
743     hostgroups: dl385, dl380
744   -
745     name: RAID - arrayprobe
746     nrpe: "sudo /usr/bin/arrayprobe"
747     hostgroups: dl385, dl380
748
749  ###
750   -
751     name: process - slapd
752     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1:50 -u openldap -C slapd -a '/usr/sbin/slapd -g openldap -u openldap'"
753     hosts: samosa
754  ###
755   -
756     name: process - udevd
757     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
758     hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, escher, verdi
759  ###
760   -
761     name: process - acpid
762     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket'"
763     hosts: ries, steffani
764
765  ###
766   -
767     name: process - xinetd
768     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xinetd -a '/usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive'"
769     hosts: samosa, raptor
770     hostgroups: rsyncd-hosts
771   -
772     name: unwanted process - xinetd
773     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
774     hostgroups: computers
775     excludehosts: samosa, raptor
776     excludehostgroups: rsyncd-hosts
777  ###
778   -
779     name: network service - finger
780     check: check_tcp!79
781     hosts: samosa
782     depends: process - xinetd
783  ###
784   -
785     name: network service - rsync
786     check: check_tcp!873
787     hostgroups: rsyncd-hosts
788     depends: process - xinetd
789
790   -
791     name: network service - rsync
792     check: check_tcp!873
793     hosts: rietz2
794     depends: rietz:process - xinetd
795
796  ###
797   -
798     name: process - nagios1
799     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nagios -C nagios -a '/usr/sbin/nagios -d /etc/nagios/nagios.cfg'"
800     hosts: samosa
801   -
802     name: process - nagios3
803     # it forks one instance to check, so make it -w 1:2
804     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u nagios -C nagios3 -a '/usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg'"
805     hosts: samosa
806
807  ###
808   -
809     name: process - apache2 - master
810     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
811     hostgroups: apache2-hosts
812   -
813     name: process - apache2 - worker
814     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
815     hostgroups: apache2-hosts
816     depends: process - apache2 - master
817   -
818     name: network service - http
819     check: check_http
820     hostgroups: apache2-hosts
821     depends: process - apache2 - master
822
823
824
825   -
826     name: process - apache - master
827     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
828     hostgroups: apache1-hosts
829   -
830     name: process - apache - worker
831     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
832     hostgroups: apache1-hosts
833     depends: process - apache - master
834   -
835     name: network service - http
836     check: check_http
837     hostgroups: apache1-hosts
838     depends: process - apache - master
839
840   -
841     name: network service - http keyserver
842     check: dsa_check_http_port!11371
843     hosts: raff
844     depends: process - apache - master
845
846   -
847     name: network service - https
848     check: check_https
849     hosts: samosa
850     depends: "process - apache2 - master"
851     normal_check_interval: 120
852     notification_interval: 120
853   -
854     name: network service - https cert
855     check: dsa_check_cert!443
856     hosts: samosa
857     depends: network service - https
858     normal_check_interval: 240
859     notification_interval: 240
860  ####
861   -
862     name: process - named
863     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
864     hostgroups: bind9-hosts
865   -
866     name: network service - dns
867     check: check_dns
868     hostgroups: bind9-hosts
869     depends: process - named
870
871  ####
872   -
873     name: process - vsftp - listener
874     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
875     hostgroups: ftpd-hosts
876   -
877     name: process - vsftp - instance
878     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u ftp -C vsftpd -a 'vsftpd: '"
879     hostgroups: ftpd-hosts
880   -
881     name: network service - ftp
882     check: check_ftp
883     hostgroups: ftpd-hosts
884     depends: process - vsftp - listener
885
886  ####
887   -
888     name: process - debianqueued
889     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
890     hosts: ries
891
892  ###
893   -
894     name: process - postresql81 - master
895     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a '/usr/lib/postgresql/8.1/bin/postmaster -D /var/lib/postgresql/8.1/main -c config_file=/etc/postgresql/8.1/main/postgresql.conf'"
896     hostgroups: postgres81-hosts
897   -
898     name: process - postresql81 - writer
899     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
900     hostgroups: postgres81-hosts
901     depends: process - postresql81 - master
902   -
903     name: process - postresql81 - buffer
904     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
905     hostgroups: postgres81-hosts
906     depends: process - postresql81 - master
907   -
908     name: process - postresql81 - collector
909     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
910     hostgroups: postgres81-hosts
911     depends: process - postresql81 - master
912
913  ####
914   # XXX is this needed
915   -
916     name: process - snmpd
917     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u snmp -C snmpd -a '/usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'"
918     hosts: lobos, villa
919
920  ###
921   -
922     name: process - buildd
923     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
924     hostgroups: buildd
925
926  ###
927   -
928     name: process - iscsid
929     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
930     hosts: raptor
931
932  ###
933   -
934     name: process - tftpd
935     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C in.tftpd -a '/usr/sbin/in.tftpd -l -B 1450 -s /var/lib/tftpboot'"
936     hosts: malo