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