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