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