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