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