[project @ peter@palfrader.org-20080409223707-vq0oti0cd1vmk2rn]
[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, highload
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     excludehostgroups: routing-infrastructure
425     normal_check_interval: 5
426     max_check_attempts: 4
427     retry_check_interval: 1
428   -
429     name: PING
430     check: "check_ping!900.0,60%!1500.0,80%"
431     hostgroups: routing-infrastructure
432     normal_check_interval: 5
433     max_check_attempts: 4
434     retry_check_interval: 1
435
436  ############ Services ############
437  ###
438
439  ############ Disk Usage ############
440  ####
441   -
442     name: disk usage - all
443     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
444     hostgroups: computers
445   -
446     name: disk usage on /
447     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /"
448     hostgroups: computers
449   -
450     name: disk usage on /boot
451     nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot"
452     hosts: sperger, rietz, steffani, penalosa, peri, albeniz, escher, goetz, mayer, mayr, paer
453   -
454     name: disk usage on /var
455     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var"
456     hosts: bartok, samosa, raff, lobos, villa, gluck, saens, escher, voltaire, puccini
457   -
458     name: disk usage on /org
459     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
460     hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, merkel, saens, pergolesi, verdi, puccini
461   -
462     name: disk usage on /srv
463     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
464     hosts: agricola, arcadelt, argento
465   -
466     name: disk usage on /org/scratch2
467     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
468     hosts: merkel
469   -
470     name: disk usage on /oldorg
471     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
472     hosts: merkel
473   -
474     name: disk usage on /tmp
475     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
476     hosts: samosa, raff, gluck, saens, escher, puccini
477   -
478     name: disk usage on /usr
479     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
480     hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi, puccini
481   -
482     name: disk usage on /home
483     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
484     hosts: gluck, raptor, escher, voltaire
485   -
486     name: disk usage on /chroot
487     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot"
488     hosts: raptor
489   -
490     name: disk usage on /mnt/hdc
491     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/hdc"
492     hosts: voltaire
493   -
494     name: disk usage on /x
495     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /x"
496     hosts: caballero
497
498  ############ All Computers ############
499  ####
500   #-
501   #  name: apt - security updates
502   #  nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
503   #  hostgroups: computers
504   #  normal_check_interval: 480
505   #  notification_interval: 480
506   #  max_check_attempts: 4
507   #  retry_check_interval: 12
508  ####
509   -
510     name: users
511     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
512     hostgroups: computers
513  ####
514   -
515     name: load
516     nrpe: "/usr/lib/nagios/plugins/check_load -w 30,28,26 -c 50,45,50"
517     hostgroups: computers
518     excludehostgroups: highload
519   -
520     name: load
521     nrpe: "/usr/lib/nagios/plugins/check_load -w 140,120,100 -c 240,220,200"
522     hostgroups: highload
523  ####
524   -
525     name: processes - zombies
526     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
527     hostgroups: computers
528  ####
529   -
530     name: processes - total
531     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
532     hostgroups: computers
533  ####
534   -
535     name: swap usage - percent
536     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
537     hostgroups: computers
538  ####
539   -
540     name: swap usage - mb
541     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
542     hostgroups: computers
543  ####
544   -
545     name: process - getty
546     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
547     hostgroups: computers
548  ####
549   -
550     name: process - sshd
551     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
552     hostgroups: computers
553   -
554     name: "network service - sshd"
555     check: check_ssh
556     hostgroups: computers
557     depends: process - sshd
558     normal_check_interval:  60
559     notification_interval:  60
560
561   -
562     name: "network service - sshd"
563     check: check_ssh
564     hostgroups: deadslow
565     normal_check_interval:  180
566     notification_interval:  180
567  ####
568   -
569     name: network service - nrpe
570     check: check_tcp!5666
571     hostgroups: computers
572     max_check_attempts: -1
573   -
574     name: process - nrpe
575     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'"
576     hostgroups: computers
577     depends: network service - nrpe
578  ###
579   -
580     name: process - munin-node
581     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
582     hostgroups: computers
583   -
584     name: network service - munin-node
585     check: check_tcp!4949
586     hostgroups: computers
587     depends: process - munin-node
588  ###
589   -
590     name: process - ntpd
591     # 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'"
592     # 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'"
593     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
594     hostgroups: computers
595     excludehosts: raptor
596   -
597     name: network service - ntp
598     check: check_ntp
599     hostgroups: computers
600     depends: process - ntpd
601     excludehosts: raptor
602   #
603   -
604     name: network service - time
605     check: check_time
606     hosts: raptor
607     depends: process - xinetd
608
609  ###
610   -
611     name: process - atd
612     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
613     hostgroups: computers
614  ###
615   -
616     name: process - cron
617     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
618     hostgroups: computers
619
620  ###
621   -
622     name: process - syslog-ng
623     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'"
624     hostgroups: syslog-ng-hosts
625  ###
626   -
627     name: process - syslogd
628     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
629     hostgroups: computers
630     excludehostgroups: syslog-ng-hosts
631   -
632     name: process - klogd
633     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
634     hostgroups: computers
635     excludehostgroups: syslog-ng-hosts
636
637  ### MAIL STUFF
638  ###
639   -
640     name: process - exim
641     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
642     hostgroups: computers
643     excludehostgroups: postfix-hosts
644     excludehosts: master, rietz, merkel
645   -
646     name: process - exim - total
647     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
648     hostgroups: computers
649     excludehostgroups: postfix-hosts
650     excludehosts: master, rietz, merkel
651   -
652     name: process - exim
653     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
654     hosts: master, rietz, merkel
655  ###
656   -
657     name: process - clamav - clamd
658     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
659     hostgroups: heavy-exim, heavy-postfix
660   -
661     name: service - clamav
662     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
663     hostgroups: heavy-exim, heavy-postfix
664     depends: process - clamav - clamd
665   -
666     name: process - clamav - freshclam
667     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
668     hostgroups: heavy-exim, heavy-postfix
669   #
670   -
671     name: unwanted process - clamav
672     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
673     hostgroups: computers
674     excludehostgroups: heavy-exim, heavy-postfix
675   -
676     name: unwanted process - freshclam
677     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
678     hostgroups: computers
679     excludehostgroups: heavy-exim, heavy-postfix
680  ###
681   -
682     name: process - spamd - master
683     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'"
684     hostgroups: heavy-exim
685     excludehosts: rietz, merkel, raff
686   -
687     name: process - spamd - master
688     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'"
689     hosts: liszt
690   -
691     name: process - spamd - child
692     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
693     hosts: liszt
694     hostgroups: heavy-exim
695     depends: process - spamd - master
696     excludehosts: rietz, merkel, raff
697   #
698   -
699     name: process - spamd - master
700     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
701     hosts: rietz
702   -
703     name: process - spamd - child
704     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
705     hosts: rietz
706   #
707   -
708     name: unwanted process - spamd
709     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
710     hostgroups: computers
711     excludehostgroups: heavy-exim
712     excludehosts: liszt
713   -
714     name: unwanted process - spamd
715     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
716     hosts: merkel, raff
717
718  ###
719   -
720     name: process - greylistd
721     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
722     hostgroups: heavy-exim
723   #
724   -
725     name: unwanted process - greylistd
726     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
727     hostgroups: computers
728     excludehostgroups: heavy-exim
729
730  ###
731   -
732     name: process - postgrey
733     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'"
734     hostgroups: heavy-postfix
735   #
736   -
737     name: unwanted process - postgrey
738     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
739     hostgroups: computers
740     excludehostgroups: heavy-postfix
741  ###
742   -
743     name: process - amavis - master
744     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
745     hostgroups: amavis-hosts
746   -
747     name: process - amavis - all
748     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
749     hostgroups: amavis-hosts
750     depends: process - amavis - master
751   #
752   -
753     name: unwanted process - amavis
754     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
755     hostgroups: computers
756     excludehostgroups: amavis-hosts
757  ###
758   -
759     name: process - weightd - master
760     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
761     hostgroups: heavy-postfix
762   -
763     name: process - weightd - cache
764     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
765     hostgroups: heavy-postfix
766     depends: process - weightd - master
767   -
768     name: process - weightd - child
769     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
770     hostgroups: heavy-postfix
771     depends: process - weightd - master
772   #
773   -
774     name: unwanted process - policyd-weight
775     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
776     hostgroups: computers
777     excludehostgroups: heavy-postfix
778
779
780
781  ###
782   -
783     name: process - postfix - master
784     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
785     hostgroups: postfix-hosts
786   -
787     name: process - postfix - qmgr
788     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
789     hostgroups: postfix-hosts
790     depends: process - postfix - master
791   #-
792   #  name: process - postfix - tlsmgr
793   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
794   #  hostgroups: postfix-hosts
795   #  depends: process - postfix - master
796   -
797     name: process - postfix - pickup
798     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
799     hostgroups: postfix-hosts
800     depends: process - postfix - master
801   -
802     name: process - postfix - anvil
803     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
804     hostgroups: postfix-hosts
805     depends: process - postfix - master
806
807   -
808     name: process - postfix - trivial-rewrite
809     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'"
810     hostgroups: postfix-hosts
811     depends: process - postfix - master
812   -
813     name: process - postfix - proxymap
814     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
815     hostgroups: postfix-hosts
816     depends: process - postfix - master
817   -
818     name: process - postfix - cleanup
819     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
820     hostgroups: postfix-hosts
821     depends: process - postfix - master
822   -
823     name: process - postfix - local
824     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
825     hostgroups: postfix-hosts
826     depends: process - postfix - master
827
828   -
829     name: process - postfix - smtpd
830     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:20 -c 0:50 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'"
831     hostgroups: postfix-hosts
832     excludehosts: liszt
833     depends: process - postfix - master
834   -
835     name: process - postfix - smtp
836     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
837     hostgroups: postfix-hosts
838     excludehosts: liszt
839     depends: process - postfix - master
840
841   -
842     name: process - postfix - smtpd
843     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:150 -c 0:200 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'"
844     hosts: liszt
845     depends: process - postfix - master
846   -
847     name: process - postfix - smtp
848     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
849     hosts: liszt
850     depends: process - postfix - master
851
852  ###
853   -
854     name: network service - smtp
855     check: dsa_check_smtp
856     hostgroups: postfix-hosts
857     depends: process - postfix - master
858   -
859     name: network service - smtp
860     check: dsa_check_smtp
861     hostgroups: computers
862     excludehostgroups: postfix-hosts
863     depends: process - exim
864
865
866  ###
867   -
868     name: process - uptimed
869     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
870     hostgroups: computers
871  ###
872   -
873     name: process - irqbalance
874     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
875     hostgroups: computers
876     excludehosts: arcadelt, agricola, argento, penalosa, peri, escher, bruckner
877
878
879  ####
880  ###
881   #-
882   #  name: unwanted process - system-tools-backends
883   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
884   #  hostgroups: computers
885   #-
886   #  name: unwanted process - dbus-daemon
887   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
888   #  hostgroups: computers
889   -
890     name: unwanted process - gkrellmd
891     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
892     hostgroups: computers
893   -
894     name: unwanted process - portmap
895     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
896     hostgroups: computers
897   -
898     name: unwanted process - rpc.statd
899     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
900     hostgroups: computers
901   -
902     name: unwanted process - inetd
903     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
904     hostgroups: computers
905   -
906     name: unwanted process - snmpd
907     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
908     hostgroups: computers
909     excludehosts: lobos, villa
910
911
912  ############ Processes/Services that only run on some computers ############
913  ####
914  ###
915   -
916     name: process - rngd
917     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
918     hosts: bartok
919  ###
920   -
921     name: process - sensord
922     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
923     hosts: bartok
924
925  ###
926   -
927     name: process - mdadm monitor
928     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'"
929     hostgroups: sw-raid
930   -
931     name: RAID - sw raid
932     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
933     hostgroups: sw-raid
934
935  ###
936   -
937     name: process - cpqarrayd
938     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
939     hostgroups: dl385, dl380, dl360
940   -
941     name: RAID - arrayprobe
942     nrpe: "sudo /usr/bin/arrayprobe"
943     hostgroups: dl385, dl380, dl360
944
945  ###
946   -
947     name: process - slapd
948     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'"
949     hosts: samosa
950  ###
951   -
952     name: process - udevd
953     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
954     hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, escher, verdi, liszt, kassia
955  ###
956   -
957     name: process - acpid
958     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'"
959     hosts: ries, steffani, liszt, kassia
960
961  ###
962   -
963     name: process - xinetd
964     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'"
965     hosts: samosa, raptor
966     hostgroups: rsyncd-hosts
967   -
968     name: unwanted process - xinetd
969     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
970     hostgroups: computers
971     excludehosts: samosa, raptor
972     excludehostgroups: rsyncd-hosts
973  ###
974   -
975     name: network service - finger
976     check: check_tcp!79
977     hosts: samosa
978     depends: process - xinetd
979  ###
980   -
981     name: network service - rsync
982     check: check_tcp!873
983     hostgroups: rsyncd-hosts
984     depends: process - xinetd
985
986   -
987     name: network service - rsync
988     check: check_tcp!873
989     hosts: rietz2
990     depends: rietz:process - xinetd
991
992  ###
993   -
994     name: process - nagios1
995     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'"
996     hosts: samosa
997   -
998     name: process - nagios3
999     # there is always one extra process per check currently running..
1000     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'"
1001     hosts: samosa
1002
1003  ###
1004   -
1005     name: process - apache2 - master
1006     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1007     hostgroups: apache2-hosts
1008   -
1009     name: process - apache2 - worker
1010     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1011     hostgroups: apache2-hosts
1012     depends: process - apache2 - master
1013   -
1014     name: network service - http
1015     check: check_http
1016     hostgroups: apache2-hosts
1017     depends: process - apache2 - master
1018
1019
1020
1021   -
1022     name: process - apache - master
1023     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1024     hostgroups: apache1-hosts
1025   -
1026     name: process - apache - worker
1027     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1028     hostgroups: apache1-hosts
1029     depends: process - apache - master
1030   -
1031     name: network service - http
1032     check: check_http
1033     hostgroups: apache1-hosts
1034     depends: process - apache - master
1035
1036   -
1037     name: network service - http keyserver
1038     check: dsa_check_http_port!11371
1039     hosts: raff
1040     depends: process - apache - master
1041
1042   -
1043     name: network service - https
1044     check: check_https
1045     hosts: samosa
1046     depends: "process - apache2 - master"
1047     normal_check_interval: 120
1048     notification_interval: 120
1049   -
1050     name: network service - https cert
1051     check: dsa_check_cert!443
1052     hosts: samosa
1053     depends: network service - https
1054     normal_check_interval: 240
1055     notification_interval: 240
1056  ####
1057   -
1058     name: process - named
1059     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1060     hostgroups: bind9-hosts
1061   -
1062     name: network service - dns
1063     check: check_dns
1064     hostgroups: bind9-hosts
1065     depends: process - named
1066   -
1067     name: unwanted process - named
1068     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1069     hostgroups: computers
1070     excludehostgroups: bind9-hosts
1071
1072  ####
1073   -
1074     name: process - vsftp - listener
1075     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1076     hostgroups: ftpd-hosts
1077   -
1078     name: process - vsftp - instance
1079     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1080     hostgroups: ftpd-hosts
1081   -
1082     name: network service - ftp
1083     check: check_ftp
1084     hostgroups: ftpd-hosts
1085     depends: process - vsftp - listener
1086
1087  ####
1088   -
1089     name: process - debianqueued
1090     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
1091     hosts: ries
1092
1093  ###
1094   -
1095     name: process - postresql81 - master
1096     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'"
1097     hostgroups: postgres81-hosts
1098   -
1099     name: process - postresql81 - writer
1100     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1101     hostgroups: postgres81-hosts
1102     depends: process - postresql81 - master
1103   -
1104     name: process - postresql81 - buffer
1105     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1106     hostgroups: postgres81-hosts
1107     depends: process - postresql81 - master
1108   -
1109     name: process - postresql81 - collector
1110     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1111     hostgroups: postgres81-hosts
1112     depends: process - postresql81 - master
1113
1114  ####
1115   # XXX is this needed
1116   -
1117     name: process - snmpd
1118     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'"
1119     hosts: lobos, villa
1120
1121  ###
1122   -
1123     name: process - buildd
1124     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1125     hostgroups: buildd
1126
1127  ###
1128   -
1129     name: process - iscsid
1130     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1131     hosts: raptor
1132
1133  ###
1134   -
1135     name: process - tftpd
1136     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'"
1137     hostgroups: tftpd-hosts
1138  ###
1139   -
1140     name: process - dhcpd
1141     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1142     hosts: paer
1143  ###
1144   -
1145     name: process - monit
1146     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'"
1147     hosts: villa, lobos, steffani, kassia, master