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