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