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