[project @ peter@palfrader.org-20080407182931-4d65vwiiac12fzlv]
[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: network: auth, discard, daytime, time (on some), cvs-pserver, rsync (on some), ftp (on some), http (on some)
14 #  - goetz: gmond/gmetad
15 #  - verdi: pg upgrade, openvpn
16 #  - mundy: salinfo_decode
17 #  - puccini: mailgraph
18 #  -
19 #  - agnesi
20 #  - kassia
21 #  - lebrun
22 #  - murphy
23 #  - piatti
24 #  - tartini
25 #sarge:
26 #  - spontini
27
28 # down:
29 #  - ravel
30 #  - sarti
31 #  - goedel
32 #  - leisner
33 #  - schulz
34
35 ---
36 #############################
37 # hosts
38 #############################
39 servers:
40   gw-man-da:
41     address: 82.195.75.126
42     parents: gw-HP-ftc
43     hostgroups: routing-infrastructure
44   gw-HP-ftc:
45     address: 192.25.206.1
46     parents: samosa
47     hostgroups: routing-infrastructure
48   gw-brainfood:
49     address: 70.103.162.1
50     parents: gw-HP-ftc
51     hostgroups: routing-infrastructure
52   gw-brown.edu:
53     address: 128.148.34.1
54     parents: gw-HP-ftc
55     hostgroups: routing-infrastructure
56   gw-osuosl:
57     address: 140.211.166.1
58     parents: gw-HP-ftc
59     hostgroups: routing-infrastructure
60   gw-scanplus-villa:
61     address: 212.211.132.1
62     parents: gw-HP-ftc
63     hostgroups: routing-infrastructure
64   gw-scanplus-lobos:
65     address: 212.211.132.249
66     parents: gw-HP-ftc
67     hostgroups: routing-infrastructure
68   gw-mit-csail:
69     address: 128.30.0.254
70     parents: gw-HP-ftc
71     hostgroups: routing-infrastructure
72   gw-xs4all:
73     address: 194.109.137.217
74     parents: gw-HP-ftc
75     hostgroups: routing-infrastructure
76   gw-umn.edu:
77     address: 128.101.240.222
78     parents: gw-HP-ftc
79     hostgroups: routing-infrastructure
80   gw-dg-i.net:
81     address: 195.49.152.190
82     parents: gw-HP-ftc
83     hostgroups: routing-infrastructure
84   gw-freenet:
85     address: 62.104.23.249
86     parents: gw-HP-ftc
87     hostgroups: routing-infrastructure
88   gw-topalis:
89     address: 195.243.109.254
90     parents: gw-HP-ftc
91     hostgroups: routing-infrastructure
92   gw-sanger:
93     address: 193.62.202.18
94     parents: gw-HP-ftc
95     hostgroups: routing-infrastructure
96   gw-cst:
97     address: 213.188.99.215
98     parents: gw-HP-ftc
99     hostgroups: routing-infrastructure
100   gw-lrz:
101     address: 129.187.0.150
102     parents: gw-HP-ftc
103     hostgroups: routing-infrastructure
104   gw-frost:
105     address: 130.81.242.195
106     parents: gw-HP-ftc
107     hostgroups: routing-infrastructure
108   gw-1und1:
109     address: 195.20.247.53
110     parents: gw-HP-ftc
111     hostgroups: routing-infrastructure
112   gw-blackcat:
113     address: 193.201.200.129
114     parents: gw-HP-ftc
115     hostgroups: routing-infrastructure
116   gw-xandros:
117     address: 142.46.212.33
118     parents: gw-HP-ftc
119     hostgroups: routing-infrastructure
120   gw-nmmn:
121     address: 217.114.76.81
122     parents: gw-HP-ftc
123     hostgroups: routing-infrastructure
124   gw-utwente:
125     address: 130.89.160.1
126     parents: gw-HP-ftc
127     hostgroups: routing-infrastructure
128
129   samosa:
130     address: 192.25.206.57
131     hostgroups: computers, service, dl380, apache2-hosts, bind9-hosts, heavy-exim
132   raff:
133     address: 192.25.206.59
134     parents: samosa
135     hostgroups: computers, service, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts, heavy-exim
136   gluck:
137     address: 192.25.206.10
138     parents: samosa
139     hostgroups: computers, general, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, highload
140   merkel:
141     address: 192.25.206.16
142     parents: samosa
143     hostgroups: computers, general, apache1-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts, heavy-exim
144   spohr:
145     address: 192.25.206.33
146     parents: samosa
147     hostgroups: computers, service, dl380, apache2-hosts, postgres81-hosts
148   peri:
149     address: 192.25.206.15
150     parents: samosa
151     hostgroups: computers, buildd, sw-raid
152   penalosa:
153     address: 192.25.206.68
154     parents: samosa
155     hostgroups: computers, buildd, sw-raid
156   mundy:
157     address: 192.25.206.62
158     parents: samosa
159     hostgroups: computers, buildd
160   paer:
161     address: 192.25.206.11
162     parents: samosa
163     hostgroups: computers, porterbox, bind9-hosts
164
165   bartok:
166     address: 82.195.75.91
167     parents: gw-man-da
168     hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385
169   sperger:
170     address: 82.195.75.98
171     parents: gw-man-da
172     hostgroups: computers, porterbox, sw-raid
173   agricola:
174     address: 82.195.75.86
175     parents: gw-man-da
176     hostgroups: computers, porterbox, sw-raid
177   arcadelt:
178     address: 82.195.75.87
179     parents: gw-man-da
180     hostgroups: computers, buildd, sw-raid
181   liszt:
182     address: 82.195.75.100
183     parents: gw-man-da
184     hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, dl385
185
186   master:
187     address: 70.103.162.29
188     parents: gw-brainfood
189     hostgroups: computers, general, apache2-hosts, bind9-hosts, heavy-exim
190
191   ries:
192     address: 128.148.34.103
193     parents: gw-brown.edu
194     hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts, heavy-exim
195
196   mayer:
197     address: 140.211.166.78
198     parents: gw-osuosl
199     hostgroups: computers, buildd
200   mayr:
201     address: 140.211.166.58
202     parents: gw-osuosl
203     hostgroups: computers, buildd
204   malo:
205     address: 140.211.166.27
206     parents: gw-osuosl
207     hostgroups: computers, buildd, tftpd-hosts
208   rietz:
209     address: 140.211.166.43
210     parents: gw-osuosl
211     hostgroups: computers, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385, heavy-exim, highload
212   rietz2:
213     address: 140.211.166.44
214     parents: rietz
215     hostgroups: secondary-IPs
216
217   villa:
218     address: 212.211.132.32
219     parents: gw-scanplus-villa
220     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
221   lobos:
222     address: 212.211.132.250
223     parents: gw-scanplus-lobos
224     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
225
226   steffani:
227     address: 128.31.0.36
228     parents: gw-mit-csail
229     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
230   casals:
231     address: 128.31.0.16
232     parents: gw-mit-csail
233     hostgroups: deadslow
234
235   klecker:
236     address: 194.109.137.218
237     parents: gw-xs4all
238     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts, heavy-exim
239
240   saens:
241     address: 128.101.240.212
242     parents: gw-umn.edu
243     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, heavy-exim
244
245   argento:
246     address: 195.49.152.174
247     parents: gw-dg-i.net
248     hostgroups: computers, buildd, sw-raid
249
250   pergolesi:
251     address: 62.104.23.252
252     parents: gw-freenet
253     hostgroups: computers, porterbox, sw-raid
254   bruckner:
255     address: 62.104.23.253
256     parents: gw-freenet
257     hostgroups: computers, porterbox
258
259   raptor:
260     address: 195.243.109.162
261     parents: gw-topalis
262     hostgroups: computers, porterbox
263
264   albeniz:
265     address: 193.62.202.27
266     parents: gw-sanger
267     hostgroups: computers, porterbox, sw-raid
268   goetz:
269     address: 193.62.202.26
270     parents: gw-sanger
271     hostgroups: computers, buildd, sw-raid
272
273   escher:
274     address: 213.188.99.215
275     parents: gw-cst
276     hostgroups: computers, porterbox
277
278   verdi:
279     address: 192.54.42.193
280     parents: gw-lrz
281     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, postgres81-hosts, postfix-hosts
282
283   voltaire:
284     address: 72.66.115.54
285     parents: gw-frost
286     hostgroups: computers, buildd
287
288   puccini:
289     address: 87.106.4.56
290     parents: gw-frost
291     hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, amavis-hosts
292
293   caballero:
294     address: 193.201.200.200
295     parents: gw-blackcat
296     hostgroups: computers, buildd, sw-raid
297
298   elara:
299     address: 142.46.212.46
300     parents: gw-xandros
301     hostgroups: deadslow
302   europa:
303     address: 142.46.212.46
304     parents: gw-xandros
305     hostgroups: deadslow
306
307   kullervo:
308     address: 217.114.76.82
309     parents: gw-nmmn
310     hostgroups: deadslow
311   crest:
312     address: 217.114.76.83
313     parents: gw-nmmn
314     hostgroups: deadslow
315
316   kassia:
317     address: 130.89.175.54
318     parents: gw-utwente
319     hostgroups: computers, service, apache2-hosts, ftpd-hosts, dl360
320
321 #############################
322 # host groups
323 #
324 # hostgroups ircd and all are automatically defined
325 #
326 #############################
327 hostgroups:
328   computers:
329     alias: computers
330     private: 1
331   routing-infrastructure:
332     alias: Internet routers and friends
333     extinfo-icon_image: base/switch40.png
334     extinfo-icon_image_alt: router
335   deadslow:
336     alias: Systems too slow to run any real checks
337
338   porterbox:
339     alias: developer accessible porter machines
340     extinfo-icon_image: base/debian.png
341     extinfo-icon_image_alt: Debian GNU/Linux
342     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
343   service:
344     alias: machines running services
345     extinfo-icon_image: base/debian.png
346     extinfo-icon_image_alt: Debian GNU/Linux
347     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
348   buildd:
349     alias: buildd systems
350     extinfo-icon_image: base/debian.png
351     extinfo-icon_image_alt: Debian GNU/Linux
352     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
353   general:
354     alias: general purpose developer accessible machines
355     extinfo-icon_image: base/debian.png
356     extinfo-icon_image_alt: Debian GNU/Linux
357     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
358
359   dl380:
360     alias: HP DL380 hosts
361     private: 1
362   dl385:
363     alias: HP DL385 hosts
364     private: 1
365   dl360:
366     alias: HP DL360 hosts
367     private: 1
368   sw-raid:
369     alias: Hosts with Linux software raid
370     private: 1
371
372   syslog-ng-hosts:
373     alias: hosts running syslog-ng instead of sysklogd
374     private: 1
375   postfix-hosts:
376     alias: hosts running postfix instead of exim
377     private: 1
378   heavy-exim:
379     alias: "hosts running the full mail stuff, including clamav, SA, and greylistd"
380     private: 1
381   heavy-postfix:
382     alias: "postfix hosts running the full mail stuff, including clamav, SA, postgrey, amavis, policyd-weight"
383     private: 1
384   apache2-hosts:
385     alias: hosts running apache2
386     private: 1
387   apache1-hosts:
388     alias: hosts running apache1
389     private: 1
390   bind9-hosts:
391     alias: hosts running bind9
392     private: 1
393   amavis-hosts:
394     alias: hosts running amavis
395     private: 1
396   ftpd-hosts:
397     alias: hosts running vsftpd
398     private: 1
399   tftpd-hosts:
400     alias: hosts running a tftpd (tftpd-hpa as a daemon)
401     private: 1
402   rsyncd-hosts:
403     alias: hosts providing rsync services via xinetd
404     private: 1
405   postgres81-hosts:
406     alias: hosts running postgres81
407     private: 1
408
409   highload:
410     alias: "hosts on which high load is normal"
411     private: 1
412
413   secondary-IPs:
414     alias: secondary IP addresses
415     private: 1
416
417 #############################
418 # services
419 #############################
420 services:
421   -
422     name: PING
423     check: "check_ping!300.0,20%!600.0,40%"
424     hostgroups: all
425
426  ############ Services ############
427  ###
428
429  ############ Disk Usage ############
430  ####
431   -
432     name: disk usage - all
433     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
434     hostgroups: computers
435   -
436     name: disk usage on /
437     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /"
438     hostgroups: computers
439   -
440     name: disk usage on /boot
441     nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot"
442     hosts: sperger, rietz, steffani, penalosa, peri, albeniz, escher, goetz, mayer, mayr, paer
443   -
444     name: disk usage on /var
445     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var"
446     hosts: bartok, samosa, raff, lobos, villa, gluck, saens, escher, voltaire, puccini
447   -
448     name: disk usage on /org
449     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
450     hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, merkel, saens, pergolesi, verdi, puccini
451   -
452     name: disk usage on /srv
453     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
454     hosts: agricola, arcadelt, argento
455   -
456     name: disk usage on /org/scratch2
457     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
458     hosts: merkel
459   -
460     name: disk usage on /oldorg
461     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
462     hosts: merkel
463   -
464     name: disk usage on /tmp
465     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
466     hosts: samosa, raff, gluck, saens, escher, puccini
467   -
468     name: disk usage on /usr
469     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
470     hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi, puccini
471   -
472     name: disk usage on /home
473     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
474     hosts: gluck, raptor, escher, voltaire
475   -
476     name: disk usage on /chroot
477     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot"
478     hosts: raptor
479   -
480     name: disk usage on /mnt/hdc
481     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/hdc"
482     hosts: voltaire
483   -
484     name: disk usage on /x
485     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /x"
486     hosts: caballero
487
488  ############ All Computers ############
489  ####
490   #-
491   #  name: apt - security updates
492   #  nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
493   #  hostgroups: computers
494   #  normal_check_interval: 480
495   #  notification_interval: 480
496   #  max_check_attempts: 4
497   #  retry_check_interval: 12
498  ####
499   -
500     name: users
501     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
502     hostgroups: computers
503  ####
504   -
505     name: load
506     nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
507     hostgroups: computers
508     excludehostgroups: highload
509   -
510     name: load
511     nrpe: "/usr/lib/nagios/plugins/check_load -w 100,80,60 -c 200,160,140"
512     hostgroups: highload
513  ####
514   -
515     name: processes - zombies
516     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
517     hostgroups: computers
518  ####
519   -
520     name: processes - total
521     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
522     hostgroups: computers
523  ####
524   -
525     name: swap usage - percent
526     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
527     hostgroups: computers
528  ####
529   -
530     name: swap usage - mb
531     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
532     hostgroups: computers
533  ####
534   -
535     name: process - getty
536     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
537     hostgroups: computers
538  ####
539   -
540     name: process - sshd
541     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
542     hostgroups: computers
543   -
544     name: "network service - sshd"
545     check: check_ssh
546     hostgroups: computers
547     depends: process - sshd
548     normal_check_interval:  60
549     notification_interval:  60
550
551   -
552     name: "network service - sshd"
553     check: check_ssh
554     hostgroups: deadslow
555     normal_check_interval:  180
556     notification_interval:  180
557  ####
558   -
559     name: network service - nrpe
560     check: check_tcp!5666
561     hostgroups: computers
562     max_check_attempts: -1
563   -
564     name: process - nrpe
565     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'"
566     hostgroups: computers
567     depends: network service - nrpe
568  ###
569   -
570     name: process - munin-node
571     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
572     hostgroups: computers
573   -
574     name: network service - munin-node
575     check: check_tcp!4949
576     hostgroups: computers
577     depends: process - munin-node
578  ###
579   -
580     name: process - ntpd
581     # 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'"
582     # 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'"
583     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
584     hostgroups: computers
585     excludehosts: raptor
586   -
587     name: network service - ntp
588     check: check_ntp
589     hostgroups: computers
590     depends: process - ntpd
591     excludehosts: raptor
592   #
593   -
594     name: network service - time
595     check: check_time
596     hosts: raptor
597     depends: process - xinetd
598
599  ###
600   -
601     name: process - atd
602     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
603     hostgroups: computers
604  ###
605   -
606     name: process - cron
607     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
608     hostgroups: computers
609
610  ###
611   -
612     name: process - syslog-ng
613     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'"
614     hostgroups: syslog-ng-hosts
615  ###
616   -
617     name: process - syslogd
618     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
619     hostgroups: computers
620     excludehostgroups: syslog-ng-hosts
621   -
622     name: process - klogd
623     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
624     hostgroups: computers
625     excludehostgroups: syslog-ng-hosts
626
627  ### MAIL STUFF
628  ###
629   -
630     name: process - exim
631     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
632     hostgroups: computers
633     excludehostgroups: postfix-hosts
634     excludehosts: master, rietz, merkel
635   -
636     name: process - exim - total
637     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
638     hostgroups: computers
639     excludehostgroups: postfix-hosts
640     excludehosts: master, rietz, merkel
641   -
642     name: process - exim
643     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
644     hosts: master, rietz, merkel
645  ###
646   -
647     name: process - clamav - clamd
648     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
649     hostgroups: heavy-exim, heavy-postfix
650   -
651     name: service - clamav
652     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
653     hostgroups: heavy-exim, heavy-postfix
654     depends: process - clamav - clamd
655   -
656     name: process - clamav - freshclam
657     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
658     hostgroups: heavy-exim, heavy-postfix
659   #
660   -
661     name: unwanted process - clamav
662     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
663     hostgroups: computers
664     excludehostgroups: heavy-exim, heavy-postfix
665   -
666     name: unwanted process - freshclam
667     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
668     hostgroups: computers
669     excludehostgroups: heavy-exim, heavy-postfix
670  ###
671   -
672     name: process - spamd - master
673     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'"
674     hostgroups: heavy-exim
675     excludehosts: rietz, merkel, raff
676   -
677     name: process - spamd - master
678     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 10 --helper-home-dir -d --pidfile=/var/run/spamd.pid'"
679     hosts: liszt
680   -
681     name: process - spamd - child
682     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
683     hosts: liszt
684     hostgroups: heavy-exim
685     depends: process - spamd - master
686     excludehosts: rietz, merkel, raff
687   #
688   -
689     name: process - spamd - master
690     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
691     hosts: rietz
692   -
693     name: process - spamd - child
694     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
695     hosts: rietz
696   #
697   -
698     name: unwanted process - spamd
699     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
700     hostgroups: computers
701     excludehostgroups: heavy-exim
702     excludehosts: liszt
703   -
704     name: unwanted process - spamd
705     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
706     hosts: merkel, raff
707
708  ###
709   -
710     name: process - greylistd
711     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
712     hostgroups: heavy-exim
713   #
714   -
715     name: unwanted process - greylistd
716     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
717     hostgroups: computers
718     excludehostgroups: heavy-exim
719
720  ###
721   -
722     name: process - postgrey
723     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -C postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --inet=127.0.0.1:60000'"
724     hostgroups: heavy-postfix
725   #
726   -
727     name: unwanted process - postgrey
728     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
729     hostgroups: computers
730     excludehostgroups: heavy-postfix
731  ###
732   -
733     name: process - amavis - master
734     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
735     hostgroups: amavis-hosts
736   -
737     name: process - amavis - all
738     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
739     hostgroups: amavis-hosts
740     depends: process - amavis - master
741   #
742   -
743     name: unwanted process - amavis
744     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
745     hostgroups: computers
746     excludehostgroups: amavis-hosts
747  ###
748   -
749     name: process - weightd - master
750     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
751     hostgroups: heavy-postfix
752   -
753     name: process - weightd - cache
754     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
755     hostgroups: heavy-postfix
756     depends: process - weightd - master
757   -
758     name: process - weightd - child
759     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:10 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
760     hostgroups: heavy-postfix
761     excludehosts: liszt
762     depends: process - weightd - master
763   -
764     name: process - weightd - child
765     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:40 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
766     hosts: liszt
767     depends: process - weightd - master
768   #
769   -
770     name: unwanted process - policyd-weight
771     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
772     hostgroups: computers
773     excludehostgroups: heavy-postfix
774
775
776
777  ###
778   -
779     name: process - postfix - master
780     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
781     hostgroups: postfix-hosts
782   -
783     name: process - postfix - qmgr
784     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
785     hostgroups: postfix-hosts
786     depends: process - postfix - master
787   #-
788   #  name: process - postfix - tlsmgr
789   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
790   #  hostgroups: postfix-hosts
791   #  depends: process - postfix - master
792   -
793     name: process - postfix - pickup
794     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
795     hostgroups: postfix-hosts
796     depends: process - postfix - master
797   -
798     name: process - postfix - anvil
799     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
800     hostgroups: postfix-hosts
801     depends: process - postfix - master
802
803   -
804     name: process - postfix - trivial-rewrite
805     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'"
806     hostgroups: postfix-hosts
807     depends: process - postfix - master
808   -
809     name: process - postfix - proxymap
810     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
811     hostgroups: postfix-hosts
812     depends: process - postfix - master
813   -
814     name: process - postfix - cleanup
815     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
816     hostgroups: postfix-hosts
817     depends: process - postfix - master
818   -
819     name: process - postfix - local
820     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
821     hostgroups: postfix-hosts
822     depends: process - postfix - master
823
824   -
825     name: process - postfix - smtpd
826     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'"
827     hostgroups: postfix-hosts
828     excludehosts: liszt
829     depends: process - postfix - master
830   -
831     name: process - postfix - smtp
832     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
833     hostgroups: postfix-hosts
834     excludehosts: liszt
835     depends: process - postfix - master
836
837   -
838     name: process - postfix - smtpd
839     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:100 -c 0:150 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'"
840     hosts: liszt
841     depends: process - postfix - master
842   -
843     name: process - postfix - smtp
844     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
845     hosts: liszt
846     depends: process - postfix - master
847
848  ###
849   -
850     name: network service - smtp
851     check: dsa_check_smtp
852     hostgroups: postfix-hosts
853     depends: process - postfix - master
854   -
855     name: network service - smtp
856     check: dsa_check_smtp
857     hostgroups: computers
858     excludehostgroups: postfix-hosts
859     depends: process - exim
860
861
862  ###
863   -
864     name: process - uptimed
865     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
866     hostgroups: computers
867  ###
868   -
869     name: process - irqbalance
870     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
871     hostgroups: computers
872     excludehosts: arcadelt, agricola, argento, penalosa, peri, escher, bruckner
873
874
875  ####
876  ###
877   -
878     name: unwanted process - system-tools-backends
879     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
880     hostgroups: computers
881   -
882     name: unwanted process - dbus-daemon
883     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
884     hostgroups: computers
885   -
886     name: unwanted process - gkrellmd
887     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
888     hostgroups: computers
889   -
890     name: unwanted process - portmap
891     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
892     hostgroups: computers
893   -
894     name: unwanted process - rpc.statd
895     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
896     hostgroups: computers
897   -
898     name: unwanted process - inetd
899     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
900     hostgroups: computers
901   -
902     name: unwanted process - snmpd
903     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
904     hostgroups: computers
905     excludehosts: lobos, villa
906
907
908  ############ Processes/Services that only run on some computers ############
909  ####
910  ###
911   -
912     name: process - rngd
913     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
914     hosts: bartok
915  ###
916   -
917     name: process - sensord
918     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
919     hosts: bartok
920
921  ###
922   -
923     name: process - mdadm monitor
924     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'"
925     hostgroups: sw-raid
926   -
927     name: RAID - sw raid
928     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
929     hostgroups: sw-raid
930
931  ###
932   -
933     name: process - cpqarrayd
934     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
935     hostgroups: dl385, dl380, dl360
936   -
937     name: RAID - arrayprobe
938     nrpe: "sudo /usr/bin/arrayprobe"
939     hostgroups: dl385, dl380, dl360
940
941  ###
942   -
943     name: process - slapd
944     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'"
945     hosts: samosa
946  ###
947   -
948     name: process - udevd
949     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
950     hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, escher, verdi, liszt, kassia
951  ###
952   -
953     name: process - acpid
954     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'"
955     hosts: ries, steffani, liszt, kassia
956
957  ###
958   -
959     name: process - xinetd
960     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'"
961     hosts: samosa, raptor
962     hostgroups: rsyncd-hosts
963   -
964     name: unwanted process - xinetd
965     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
966     hostgroups: computers
967     excludehosts: samosa, raptor
968     excludehostgroups: rsyncd-hosts
969  ###
970   -
971     name: network service - finger
972     check: check_tcp!79
973     hosts: samosa
974     depends: process - xinetd
975  ###
976   -
977     name: network service - rsync
978     check: check_tcp!873
979     hostgroups: rsyncd-hosts
980     depends: process - xinetd
981
982   -
983     name: network service - rsync
984     check: check_tcp!873
985     hosts: rietz2
986     depends: rietz:process - xinetd
987
988  ###
989   -
990     name: process - nagios1
991     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'"
992     hosts: samosa
993   -
994     name: process - nagios3
995     # there is always one extra process per check currently running..
996     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:30 -c 1: -u nagios -C nagios3 -a '/usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg'"
997     hosts: samosa
998
999  ###
1000   -
1001     name: process - apache2 - master
1002     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1003     hostgroups: apache2-hosts
1004   -
1005     name: process - apache2 - worker
1006     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1007     hostgroups: apache2-hosts
1008     depends: process - apache2 - master
1009   -
1010     name: network service - http
1011     check: check_http
1012     hostgroups: apache2-hosts
1013     depends: process - apache2 - master
1014
1015
1016
1017   -
1018     name: process - apache - master
1019     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1020     hostgroups: apache1-hosts
1021   -
1022     name: process - apache - worker
1023     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1024     hostgroups: apache1-hosts
1025     depends: process - apache - master
1026   -
1027     name: network service - http
1028     check: check_http
1029     hostgroups: apache1-hosts
1030     depends: process - apache - master
1031
1032   -
1033     name: network service - http keyserver
1034     check: dsa_check_http_port!11371
1035     hosts: raff
1036     depends: process - apache - master
1037
1038   -
1039     name: network service - https
1040     check: check_https
1041     hosts: samosa
1042     depends: "process - apache2 - master"
1043     normal_check_interval: 120
1044     notification_interval: 120
1045   -
1046     name: network service - https cert
1047     check: dsa_check_cert!443
1048     hosts: samosa
1049     depends: network service - https
1050     normal_check_interval: 240
1051     notification_interval: 240
1052  ####
1053   -
1054     name: process - named
1055     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1056     hostgroups: bind9-hosts
1057   -
1058     name: network service - dns
1059     check: check_dns
1060     hostgroups: bind9-hosts
1061     depends: process - named
1062   -
1063     name: unwanted process - named
1064     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1065     hostgroups: computers
1066     excludehostgroups: bind9-hosts
1067
1068  ####
1069   -
1070     name: process - vsftp - listener
1071     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1072     hostgroups: ftpd-hosts
1073   -
1074     name: process - vsftp - instance
1075     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u ftp -C vsftpd -a 'vsftpd: '"
1076     hostgroups: ftpd-hosts
1077   -
1078     name: network service - ftp
1079     check: check_ftp
1080     hostgroups: ftpd-hosts
1081     depends: process - vsftp - listener
1082
1083  ####
1084   -
1085     name: process - debianqueued
1086     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
1087     hosts: ries
1088
1089  ###
1090   -
1091     name: process - postresql81 - master
1092     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'"
1093     hostgroups: postgres81-hosts
1094   -
1095     name: process - postresql81 - writer
1096     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1097     hostgroups: postgres81-hosts
1098     depends: process - postresql81 - master
1099   -
1100     name: process - postresql81 - buffer
1101     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1102     hostgroups: postgres81-hosts
1103     depends: process - postresql81 - master
1104   -
1105     name: process - postresql81 - collector
1106     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1107     hostgroups: postgres81-hosts
1108     depends: process - postresql81 - master
1109
1110  ####
1111   # XXX is this needed
1112   -
1113     name: process - snmpd
1114     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'"
1115     hosts: lobos, villa
1116
1117  ###
1118   -
1119     name: process - buildd
1120     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1121     hostgroups: buildd
1122
1123  ###
1124   -
1125     name: process - iscsid
1126     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1127     hosts: raptor
1128
1129  ###
1130   -
1131     name: process - tftpd
1132     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'"
1133     hostgroups: tftpd-hosts
1134  ###
1135   -
1136     name: process - dhcpd
1137     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1138     hosts: paer