[project @ peter@palfrader.org-20080404192524-c7n718gdy7365j42]
[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 #  -
14 #  - agnesi
15 #  - bruckner
16 #  - caballero
17 #  - casals
18 #  - crest
19 #  - elara
20 #  - europa
21 #  - goedel
22 #  - goetz
23 #  - kassia
24 #  - kullervo
25 #  - lebrun
26 #  - leisner
27 #  - liszt
28 #  - malo
29 #  - mayer
30 #  - mayr
31 #  - mundy
32 #  - murphy
33 #  - paer
34 #  - piatti
35 #  - puccini
36 #  - ravel
37 #  - sarti
38 #  - schulz
39 #  - spontini
40 #  - tartini
41 #  - verdi
42 #  - voltaire
43
44 ---
45 #############################
46 # hosts
47 #############################
48 servers:
49   gw-MAN-DA-debian:
50     address: 82.195.75.126
51     parents: gw-HP-ftc
52     hostgroups: routing-infrastructure
53   gw-HP-ftc:
54     address: 192.25.206.1
55     parents: samosa
56     hostgroups: routing-infrastructure
57   gw-brainfood:
58     address: 70.103.162.1
59     parents: gw-HP-ftc
60     hostgroups: routing-infrastructure
61   gw-brown.edu:
62     address: 128.148.34.1
63     parents: gw-HP-ftc
64     hostgroups: routing-infrastructure
65   gw-osuosl:
66     address: 140.211.166.1
67     parents: gw-HP-ftc
68     hostgroups: routing-infrastructure
69   gw-scanplus-villa:
70     address: 212.211.132.1
71     parents: gw-HP-ftc
72     hostgroups: routing-infrastructure
73   gw-scanplus-lobos:
74     address: 212.211.132.249
75     parents: gw-HP-ftc
76     hostgroups: routing-infrastructure
77   gw-mit-csail:
78     address: 128.30.0.254
79     parents: gw-HP-ftc
80     hostgroups: routing-infrastructure
81   gw-xs4all:
82     address: 194.109.137.217
83     parents: gw-HP-ftc
84     hostgroups: routing-infrastructure
85   gw-umn.edu:
86     address: 128.101.240.222
87     parents: gw-HP-ftc
88     hostgroups: routing-infrastructure
89   gw-dg-i.net:
90     address: 195.49.152.190
91     parents: gw-HP-ftc
92     hostgroups: routing-infrastructure
93   gw-freenet:
94     address: 62.104.23.249
95     parents: gw-HP-ftc
96     hostgroups: routing-infrastructure
97   gw-topalis:
98     address: 195.243.109.254
99     parents: gw-HP-ftc
100     hostgroups: routing-infrastructure
101   gw-sanger:
102     address: 193.62.202.18
103     parents: gw-HP-ftc
104     hostgroups: routing-infrastructure
105   gw-cst:
106     address: 213.188.99.215
107     parents: gw-HP-ftc
108     hostgroups: routing-infrastructure
109
110   samosa:
111     address: 192.25.206.57
112     hostgroups: computers, service, dl380, apache2-hosts, bind9-hosts, heavy-email
113   raff:
114     address: 192.25.206.59
115     parents: samosa
116     hostgroups: computers, service, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts, heavy-email
117   gluck:
118     address: 192.25.206.10
119     parents: samosa
120     hostgroups: computers, general, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts, heavy-email
121   merkel:
122     address: 192.25.206.16
123     parents: samosa
124     hostgroups: computers, general, apache1-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts, heavy-email
125   spohr:
126     address: 192.25.206.33
127     parents: samosa
128     hostgroups: computers, service, dl380, apache2-hosts, postgres81-hosts
129   peri:
130     address: 192.25.206.15
131     parents: samosa
132     hostgroups: computers, buildd, sw-raid
133   penalosa:
134     address: 192.25.206.68
135     parents: samosa
136     hostgroups: computers, buildd, sw-raid
137
138   bartok:
139     address: 82.195.75.91
140     parents: gw-MAN-DA-debian
141     hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385
142   sperger:
143     address: 82.195.75.98
144     parents: gw-MAN-DA-debian
145     hostgroups: computers, porterbox, sw-raid
146   agricola:
147     address: 82.195.75.86
148     parents: gw-MAN-DA-debian
149     hostgroups: computers, porterbox, sw-raid
150   arcadelt:
151     address: 82.195.75.87
152     parents: gw-MAN-DA-debian
153     hostgroups: computers, buildd, sw-raid
154
155   master:
156     address: 70.103.162.29
157     parents: gw-brainfood
158     hostgroups: computers, general, apache2-hosts, bind9-hosts, heavy-email
159
160   ries:
161     address: 128.148.34.103
162     parents: gw-osuosl
163     hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts, heavy-email
164
165   rietz:
166     address: 140.211.166.43
167     parents: gw-brown.edu
168     hostgroups: computers, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385, heavy-email
169   rietz2:
170     address: 140.211.166.44
171     parents: rietz
172     hostgroups: secondary-IPs
173
174   villa:
175     address: 212.211.132.32
176     parents: gw-scanplus-villa
177     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
178   lobos:
179     address: 212.211.132.250
180     parents: gw-scanplus-lobos
181     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
182
183   steffani:
184     address: 128.31.0.36
185     parents: gw-mit-csail
186     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
187
188   klecker:
189     address: 194.109.137.218
190     parents: gw-xs4all
191     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts, heavy-email
192
193   saens:
194     address: 128.101.240.212
195     parents: gw-umn.edu
196     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, heavy-email
197
198   argento:
199     address: 195.49.152.174
200     parents: gw-dg-i.net
201     hostgroups: computers, buildd, sw-raid
202
203   pergolesi:
204     address: 62.104.23.252
205     parents: gw-freenet
206     hostgroups: computers, porterbox, sw-raid
207
208   raptor:
209     address: 195.243.109.162
210     parents: gw-topalis
211     hostgroups: computers, porterbox
212
213   albeniz:
214     address: 193.62.202.27
215     parents: gw-sanger
216     hostgroups: computers, porterbox, sw-raid
217
218   escher:
219     address: 213.188.99.215
220     parents: gw-cst
221     hostgroups: computers, porterbox
222
223 #############################
224 # host groups
225 #
226 # hostgroups ircd and all are automatically defined
227 #
228 #############################
229 hostgroups:
230   computers:
231     alias: computers
232     private: 1
233   routing-infrastructure:
234     alias: Internet routers and friends
235     extinfo-icon_image: base/switch40.png
236     extinfo-icon_image_alt: router
237
238   porterbox:
239     alias: developer accessible porter machines
240     extinfo-icon_image: base/debian.png
241     extinfo-icon_image_alt: Debian GNU/Linux
242     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
243   service:
244     alias: machines running services
245     extinfo-icon_image: base/debian.png
246     extinfo-icon_image_alt: Debian GNU/Linux
247     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
248   buildd:
249     alias: buildd systems
250     extinfo-icon_image: base/debian.png
251     extinfo-icon_image_alt: Debian GNU/Linux
252     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
253   general:
254     alias: general purpose developer accessible machines
255     extinfo-icon_image: base/debian.png
256     extinfo-icon_image_alt: Debian GNU/Linux
257     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
258
259   dl380:
260     alias: HP DL380 hosts
261     private: 1
262   dl385:
263     alias: HP DL385 hosts
264     private: 1
265   sw-raid:
266     alias: Hosts with Linux software raid
267     private: 1
268
269   syslog-ng-hosts:
270     alias: hosts running syslog-ng instead of sysklogd
271     private: 1
272   postfix-hosts:
273     alias: hosts running postfix instead of exim
274     private: 1
275   heavy-email:
276     alias: "hosts running the full mail stuff, including clamav, SA, and greylistd"
277     private: 1
278   apache2-hosts:
279     alias: hosts running apache2
280     private: 1
281   apache1-hosts:
282     alias: hosts running apache1
283     private: 1
284   bind9-hosts:
285     alias: hosts running bind9
286     private: 1
287   ftpd-hosts:
288     alias: hosts running vsftpd
289     private: 1
290   rsyncd-hosts:
291     alias: hosts providing rsync services via xinetd
292     private: 1
293   postgres81-hosts:
294     alias: hosts running postgres81
295     private: 1
296
297   secondary-IPs:
298     alias: secondary IP addresses
299     private: 1
300
301 #############################
302 # services
303 #############################
304 services:
305   -
306     name: PING
307     check: "check_ping!300.0,20%!600.0,40%"
308     hostgroups: all
309
310  ############ Services ############
311  ###
312
313  ############ Disk Usage ############
314  ####
315   -
316     name: disk usage - all
317     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
318     hostgroups: computers
319   -
320     name: disk usage on /
321     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /"
322     hostgroups: computers
323   -
324     name: disk usage on /boot
325     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /boot"
326     hosts: sperger, rietz, steffani, penalosa, peri, albeniz, escher
327   -
328     name: disk usage on /var
329     nrpe: "/usr/lib/nagios/plugins/check_disk 50 75 /var"
330     hosts: bartok, samosa, raff, lobos, villa, gluck, saens, escher
331   -
332     name: disk usage on /org
333     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
334     hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, merkel, saens, pergolesi
335   -
336     name: disk usage on /srv
337     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
338     hosts: agricola, arcadelt, argento
339   -
340     name: disk usage on /org/scratch2
341     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
342     hosts: merkel
343   -
344     name: disk usage on /oldorg
345     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
346     hosts: merkel
347   -
348     name: disk usage on /tmp
349     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
350     hosts: samosa, raff, gluck, saens, escher
351   -
352     name: disk usage on /usr
353     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
354     hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi
355   -
356     name: disk usage on /home
357     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
358     hosts: gluck, raptor, escher
359   -
360     name: disk usage on /chroot
361     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot"
362     hosts: raptor
363
364  ############ All Computers ############
365  ####
366   #-
367   #  name: apt - security updates
368   #  nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
369   #  hostgroups: computers
370   #  normal_check_interval: 480
371   #  notification_interval: 480
372   #  max_check_attempts: 4
373   #  retry_check_interval: 12
374  ####
375   -
376     name: users
377     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
378     hostgroups: computers
379  ####
380   -
381     name: load
382     nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
383     hostgroups: computers
384  ####
385   -
386     name: processes - zombies
387     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
388     hostgroups: computers
389  ####
390   -
391     name: processes - total
392     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
393     hostgroups: computers
394  ####
395   -
396     name: swap usage - percent
397     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
398     hostgroups: computers
399  ####
400   -
401     name: swap usage - mb
402     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
403     hostgroups: computers
404  ####
405   -
406     name: process - getty
407     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
408     hostgroups: computers
409  ####
410   -
411     name: process - sshd
412     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
413     hostgroups: computers
414   -
415     name: "network service - sshd"
416     check: check_ssh
417     hostgroups: computers
418     depends: process - sshd
419     normal_check_interval:  60
420     notification_interval:  60
421  ####
422   -
423     name: network service - nrpe
424     check: check_tcp!5666
425     hostgroups: computers
426     max_check_attempts: -1
427   -
428     name: process - nrpe
429     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'"
430     hostgroups: computers
431     depends: network service - nrpe
432  ###
433   -
434     name: process - munin-node
435     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
436     hostgroups: computers
437   -
438     name: network service - munin-node
439     check: check_tcp!4949
440     hostgroups: computers
441     depends: process - munin-node
442  ###
443   -
444     name: process - ntpd
445     # 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'"
446     # 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'"
447     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
448     hostgroups: computers
449     excludehosts: raptor
450   -
451     name: network service - ntp
452     check: check_ntp
453     hostgroups: computers
454     depends: process - ntpd
455     excludehosts: raptor
456   #
457   -
458     name: network service - time
459     check: check_time
460     hosts: raptor
461     depends: process - xinetd
462
463  ###
464   -
465     name: process - atd
466     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
467     hostgroups: computers
468  ###
469   -
470     name: process - cron
471     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
472     hostgroups: computers
473
474  ###
475   -
476     name: process - syslog-ng
477     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'"
478     hostgroups: syslog-ng-hosts
479  ###
480   -
481     name: process - syslogd
482     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
483     hostgroups: computers
484     excludehostgroups: syslog-ng-hosts
485   -
486     name: process - klogd
487     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
488     hostgroups: computers
489     excludehostgroups: syslog-ng-hosts
490
491  ### MAIL STUFF
492  ###
493   -
494     name: process - exim
495     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
496     hostgroups: computers
497     excludehostgroups: postfix-hosts
498     excludehosts: master, rietz, merkel
499   -
500     name: process - exim - total
501     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
502     hostgroups: computers
503     excludehostgroups: postfix-hosts
504     excludehosts: master, rietz, merkel
505   -
506     name: process - exim
507     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
508     hosts: master, rietz, merkel
509  ###
510   -
511     name: process - clamav - clamd
512     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
513     hostgroups: heavy-email
514   -
515     name: service - clamav
516     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
517     hostgroups: heavy-email
518     depends: process - clamav - clamd
519   -
520     name: process - clamav - freshclam
521     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
522     hostgroups: heavy-email
523   #
524   -
525     name: unwanted process - clamav
526     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
527     hostgroups: computers
528     excludehostgroups: heavy-email
529   -
530     name: unwanted process - freshclam
531     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
532     hostgroups: computers
533     excludehostgroups: heavy-email
534  ###
535   -
536     name: process - spamd - master
537     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'"
538     #hosts: samosa
539     hostgroups: heavy-email
540     excludehosts: rietz
541   -
542     name: process - spamd - child
543     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
544     hostgroups: heavy-email
545     depends: process - spamd - master
546     excludehosts: rietz
547   #
548   -
549     name: process - spamd - master
550     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
551     hosts: rietz
552   -
553     name: process - spamd - child
554     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
555     hosts: rietz
556   #
557   -
558     name: unwanted process - spamd
559     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
560     hostgroups: computers
561     excludehostgroups: heavy-email
562
563  ###
564   -
565     name: process - greylistd
566     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
567     hostgroups: heavy-email
568   #
569   -
570     name: unwanted process - greylistd
571     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
572     hostgroups: computers
573     excludehostgroups: heavy-email
574
575
576  ###
577   -
578     name: process - postfix - master
579     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
580     hostgroups: postfix-hosts
581   -
582     name: process - postfix - qmgr
583     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
584     hostgroups: postfix-hosts
585     depends: process - postfix - master
586   #-
587   #  name: process - postfix - tlsmgr
588   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
589   #  hostgroups: postfix-hosts
590   #  depends: process - postfix - master
591   -
592     name: process - postfix - pickup
593     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
594     hostgroups: postfix-hosts
595     depends: process - postfix - master
596   -
597     name: process - postfix - anvil
598     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
599     hostgroups: postfix-hosts
600     depends: process - postfix - master
601
602   -
603     name: process - postfix - trivial-rewrite
604     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'"
605     hostgroups: postfix-hosts
606     depends: process - postfix - master
607   -
608     name: process - postfix - proxymap
609     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
610     hostgroups: postfix-hosts
611     depends: process - postfix - master
612   -
613     name: process - postfix - smtpd
614     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'"
615     hostgroups: postfix-hosts
616     depends: process - postfix - master
617   -
618     name: process - postfix - cleanup
619     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
620     hostgroups: postfix-hosts
621     depends: process - postfix - master
622   -
623     name: process - postfix - local
624     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
625     hostgroups: postfix-hosts
626     depends: process - postfix - master
627
628
629  ###
630   -
631     name: network service - smtp
632     check: check_smtp
633     hostgroups: postfix-hosts
634     depends: process - postfix - master
635   -
636     name: network service - smtp
637     check: check_smtp
638     hostgroups: computers
639     excludehostgroups: postfix-hosts
640     depends: process - exim
641
642
643  ###
644   -
645     name: process - uptimed
646     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
647     hostgroups: computers
648  ###
649   -
650     name: process - irqbalance
651     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
652     hostgroups: computers
653     excludehosts: arcadelt, agricola, argento, penalosa, peri, escher
654
655
656
657  ############ Processes/Services that only run on some computers ############
658  ####
659  ###
660   -
661     name: process - rngd
662     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
663     hosts: bartok
664  ###
665   -
666     name: process - sensord
667     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
668     hosts: bartok
669
670  ###
671   -
672     name: process - mdadm monitor
673     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'"
674     hostgroups: sw-raid
675   -
676     name: RAID - sw raid
677     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
678     hostgroups: sw-raid
679
680  ###
681   -
682     name: process - cpqarrayd
683     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
684     hostgroups: dl385, dl380
685   -
686     name: RAID - arrayprobe
687     nrpe: "sudo /usr/bin/arrayprobe"
688     hostgroups: dl385, dl380
689
690  ###
691   -
692     name: process - slapd
693     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'"
694     hosts: samosa
695  ###
696   -
697     name: process - udevd
698     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
699     hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, escher
700  ###
701   -
702     name: process - acpid
703     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'"
704     hosts: ries, steffani
705
706  ###
707   -
708     name: process - xinetd
709     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'"
710     hosts: samosa, raptor
711     hostgroups: rsyncd-hosts
712  ###
713   -
714     name: network service - finger
715     check: check_tcp!79
716     hosts: samosa
717     depends: process - xinetd
718  ###
719   -
720     name: network service - rsync
721     check: check_tcp!873
722     hostgroups: rsyncd-hosts
723     depends: process - xinetd
724
725   -
726     name: network service - rsync
727     check: check_tcp!873
728     hosts: rietz2
729     depends: rietz:process - xinetd
730
731  ###
732   -
733     name: process - nagios1
734     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'"
735     hosts: samosa
736   -
737     name: process - nagios3
738     # it forks one instance to check, so make it -w 1:2
739     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u nagios -C nagios3 -a '/usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg'"
740     hosts: samosa
741
742  ###
743   -
744     name: process - apache2 - master
745     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
746     hostgroups: apache2-hosts
747   -
748     name: process - apache2 - worker
749     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
750     hostgroups: apache2-hosts
751     depends: process - apache2 - master
752   -
753     name: network service - http
754     check: check_http
755     hostgroups: apache2-hosts
756     depends: process - apache2 - master
757
758
759
760   -
761     name: process - apache - master
762     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
763     hostgroups: apache1-hosts
764   -
765     name: process - apache - worker
766     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
767     hostgroups: apache1-hosts
768     depends: process - apache - master
769   -
770     name: network service - http
771     check: check_http
772     hostgroups: apache1-hosts
773     depends: process - apache - master
774
775   -
776     name: network service - http keyserver
777     check: dsa_check_http_port!11371
778     hosts: raff
779     depends: process - apache - master
780
781   -
782     name: network service - https
783     check: check_https
784     hosts: samosa
785     depends: "process - apache2 - master"
786     normal_check_interval: 120
787     notification_interval: 120
788   -
789     name: network service - https cert
790     check: dsa_check_cert!443
791     hosts: samosa
792     depends: network service - https
793     normal_check_interval: 240
794     notification_interval: 240
795  ####
796   -
797     name: process - named
798     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
799     hostgroups: bind9-hosts
800   -
801     name: network service - dns
802     check: check_dns
803     hostgroups: bind9-hosts
804     depends: process - named
805
806  ####
807   -
808     name: process - vsftp - listener
809     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
810     hostgroups: ftpd-hosts
811   -
812     name: process - vsftp - instance
813     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:30 -u ftp -C vsftpd -a 'vsftpd: '"
814     hostgroups: ftpd-hosts
815   -
816     name: network service - ftp
817     check: check_ftp
818     hostgroups: ftpd-hosts
819     depends: process - vsftp - listener
820
821  ####
822   -
823     name: process - debianqueued
824     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
825     hosts: ries
826
827  ###
828   -
829     name: process - postresql81 - master
830     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'"
831     hostgroups: postgres81-hosts
832   -
833     name: process - postresql81 - writer
834     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
835     hostgroups: postgres81-hosts
836     depends: process - postresql81 - master
837   -
838     name: process - postresql81 - buffer
839     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
840     hostgroups: postgres81-hosts
841     depends: process - postresql81 - master
842   -
843     name: process - postresql81 - collector
844     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
845     hostgroups: postgres81-hosts
846     depends: process - postresql81 - master
847
848  ####
849   # XXX is this needed
850   -
851     name: process - snmpd
852     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'"
853     hosts: lobos, villa
854
855  ###
856   -
857     name: process - buildd
858     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
859     hostgroups: buildd
860
861  ###
862   -
863     name: process - iscsid
864     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
865     hosts: raptor