[project @ peter@palfrader.org-20080404151515-7d2s6wnlb8pfnjen]
[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, 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
118   bartok:
119     address: 82.195.75.91
120     parents: gw-MAN-DA-debian
121     hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385, heavy-email
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, heavy-email
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, heavy-email
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, heavy-email
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, heavy-email
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, heavy-email
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   heavy-email:
236     alias: "hosts running the full mail stuff, including clamav, SA, and greylistd"
237     private: 1
238   apache2-hosts:
239     alias: hosts running apache2
240     private: 1
241   apache1-hosts:
242     alias: hosts running apache1
243     private: 1
244   bind9-hosts:
245     alias: hosts running bind9
246     private: 1
247   ftpd-hosts:
248     alias: hosts running vsftpd
249     private: 1
250   rsyncd-hosts:
251     alias: hosts providing rsync services via xinetd
252     private: 1
253   postgres81-hosts:
254     alias: hosts running postgres81
255     private: 1
256
257   secondary-IPs:
258     alias: secondary IP addresses
259     private: 1
260
261 #############################
262 # services
263 #############################
264 services:
265   -
266     name: PING
267     check: "check_ping!300.0,20%!600.0,40%"
268     hostgroups: all
269
270  ############ Services ############
271  ###
272
273  ############ Disk Usage ############
274  ####
275   -
276     name: disk usage - all
277     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
278     hostgroups: computers
279   -
280     name: disk usage on /
281     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /"
282     hostgroups: computers
283   -
284     name: disk usage on /boot
285     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /boot"
286     hosts: sperger, rietz, steffani
287   -
288     name: disk usage on /var
289     nrpe: "/usr/lib/nagios/plugins/check_disk 50 75 /var"
290     hosts: bartok, samosa, raff, lobos, villa, gluck, saens
291   -
292     name: disk usage on /org
293     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
294     hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, merkel, saens
295   -
296     name: disk usage on /srv
297     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
298     hosts: agricola, arcadelt, argento
299   -
300     name: disk usage on /org/scratch2
301     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
302     hosts: merkel
303   -
304     name: disk usage on /oldorg
305     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
306     hosts: merkel
307   -
308     name: disk usage on /tmp
309     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
310     hosts: samosa, raff, gluck, saens
311   -
312     name: disk usage on /usr
313     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
314     hosts: samosa, raff, lobos, villa, gluck, saens
315   -
316     name: disk usage on /home
317     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
318     hosts: gluck
319
320  ############ All Computers ############
321  ####
322   #-
323   #  name: apt - security updates
324   #  nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
325   #  hostgroups: computers
326   #  normal_check_interval: 480
327   #  notification_interval: 480
328   #  max_check_attempts: 4
329   #  retry_check_interval: 12
330  ####
331   -
332     name: users
333     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
334     hostgroups: computers
335  ####
336   -
337     name: load
338     nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
339     hostgroups: computers
340  ####
341   -
342     name: processes - zombies
343     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
344     hostgroups: computers
345  ####
346   -
347     name: processes - total
348     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
349     hostgroups: computers
350  ####
351   -
352     name: swap usage - percent
353     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
354     hostgroups: computers
355  ####
356   -
357     name: swap usage - mb
358     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
359     hostgroups: computers
360  ####
361   -
362     name: process - getty
363     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
364     hostgroups: computers
365  ####
366   -
367     name: process - sshd
368     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
369     hostgroups: computers
370   -
371     name: "network service - sshd"
372     check: check_ssh
373     hostgroups: computers
374     depends: process - sshd
375     normal_check_interval:  60
376     notification_interval:  60
377  ####
378   -
379     name: network service - nrpe
380     check: check_tcp!5666
381     hostgroups: computers
382     max_check_attempts: -1
383   -
384     name: process - nrpe
385     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'"
386     hostgroups: computers
387     depends: network service - nrpe
388  ###
389   -
390     name: process - munin-node
391     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
392     hostgroups: computers
393   -
394     name: network service - munin-node
395     check: check_tcp!4949
396     hostgroups: computers
397     depends: process - munin-node
398  ###
399   -
400     name: process - ntpd
401     # 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'"
402     # 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'"
403     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
404     hostgroups: computers
405   -
406     name: network service - ntp
407     check: check_ntp
408     hostgroups: computers
409     depends: process - ntpd
410  ###
411   -
412     name: process - atd
413     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
414     hostgroups: computers
415  ###
416   -
417     name: process - cron
418     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
419     hostgroups: computers
420
421  ###
422   -
423     name: process - syslog-ng
424     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'"
425     hostgroups: syslog-ng-hosts
426  ###
427   -
428     name: process - syslogd
429     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
430     hostgroups: computers
431     excludehostgroups: syslog-ng-hosts
432   -
433     name: process - klogd
434     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
435     hostgroups: computers
436     excludehostgroups: syslog-ng-hosts
437
438  ### MAIL STUFF
439  ###
440   -
441     name: process - exim
442     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
443     hostgroups: computers
444     excludehostgroups: postfix-hosts
445     excludehosts: master, rietz, merkel
446   -
447     name: process - exim - total
448     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
449     hostgroups: computers
450     excludehostgroups: postfix-hosts
451     excludehosts: master, rietz, merkel
452   -
453     name: process - exim
454     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
455     hosts: master, rietz, merkel
456  ###
457   -
458     name: process - clamav - clamd
459     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
460     hostgroups: heavy-email
461   -
462     name: service - clamav
463     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
464     hostgroups: heavy-email
465     depends: process - clamav - clamd
466   -
467     name: process - clamav - freshclam
468     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
469     hostgroups: heavy-email
470   #
471   -
472     name: unwanted process - clamav
473     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
474     hostgroups: computers
475     excludehostgroups: heavy-email
476   -
477     name: unwanted process - freshclam
478     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
479     hostgroups: computers
480     excludehostgroups: heavy-email
481  ###
482   -
483     name: process - spamd - master
484     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'"
485     #hosts: samosa
486     hostgroups: heavy-email
487     excludehosts: rietz
488   -
489     name: process - spamd - child
490     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
491     hostgroups: heavy-email
492     depends: process - spamd - master
493     excludehosts: rietz
494   #
495   -
496     name: process - spamd - master
497     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
498     hosts: rietz
499   -
500     name: process - spamd - child
501     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
502     hosts: rietz
503   #
504   -
505     name: unwanted process - spamd
506     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
507     hostgroups: computers
508     excludehostgroups: heavy-email
509
510  ###
511   -
512     name: process - greylistd
513     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
514     hostgroups: heavy-email
515   #
516   -
517     name: unwanted process - greylistd
518     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
519     hostgroups: computers
520     excludehostgroups: heavy-email
521
522
523  ###
524   -
525     name: process - postfix - master
526     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
527     hostgroups: postfix-hosts
528   -
529     name: process - postfix - qmgr
530     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
531     hostgroups: postfix-hosts
532     depends: process - postfix - master
533   #-
534   #  name: process - postfix - tlsmgr
535   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
536   #  hostgroups: postfix-hosts
537   #  depends: process - postfix - master
538   -
539     name: process - postfix - pickup
540     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
541     hostgroups: postfix-hosts
542     depends: process - postfix - master
543   -
544     name: process - postfix - anvil
545     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
546     hostgroups: postfix-hosts
547     depends: process - postfix - master
548
549   -
550     name: process - postfix - trivial-rewrite
551     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'"
552     hostgroups: postfix-hosts
553     depends: process - postfix - master
554   -
555     name: process - postfix - proxymap
556     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
557     hostgroups: postfix-hosts
558     depends: process - postfix - master
559   -
560     name: process - postfix - smtpd
561     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'"
562     hostgroups: postfix-hosts
563     depends: process - postfix - master
564   -
565     name: process - postfix - cleanup
566     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
567     hostgroups: postfix-hosts
568     depends: process - postfix - master
569   -
570     name: process - postfix - local
571     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
572     hostgroups: postfix-hosts
573     depends: process - postfix - master
574
575
576  ###
577   -
578     name: network service - smtp
579     check: check_smtp
580     hostgroups: postfix-hosts
581     depends: process - postfix - master
582   -
583     name: network service - smtp
584     check: check_smtp
585     hostgroups: computers
586     excludehostgroups: postfix-hosts
587     depends: process - exim
588
589
590  ###
591   -
592     name: process - uptimed
593     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
594     hostgroups: computers
595  ###
596   -
597     name: process - irqbalance
598     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
599     hostgroups: computers
600     excludehosts: arcadelt, agricola, argento
601
602
603
604  ############ Processes/Services that only run on some computers ############
605  ####
606  ###
607   -
608     name: process - rngd
609     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
610     hosts: bartok
611  ###
612   -
613     name: process - sensord
614     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
615     hosts: bartok
616
617  ###
618   -
619     name: process - mdadm monitor
620     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'"
621     hostgroups: sw-raid
622   -
623     name: RAID - sw raid
624     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
625     hostgroups: sw-raid
626
627  ###
628   -
629     name: process - cpqarrayd
630     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
631     hostgroups: dl385, dl380
632   -
633     name: RAID - arrayprobe
634     nrpe: "sudo /usr/bin/arrayprobe"
635     hostgroups: dl385, dl380
636
637  ###
638   -
639     name: process - slapd
640     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'"
641     hosts: samosa
642  ###
643   -
644     name: process - udevd
645     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
646     hosts: sperger, ries, steffani, merkel, spohr
647  ###
648   -
649     name: process - acpid
650     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'"
651     hosts: ries, steffani
652
653  ###
654   -
655     name: process - xinetd
656     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'"
657     hosts: samosa
658     hostgroups: rsyncd-hosts
659  ###
660   -
661     name: network service - finger
662     check: check_tcp!79
663     hosts: samosa
664     depends: process - xinetd
665  ###
666   -
667     name: network service - rsync
668     check: check_tcp!873
669     hostgroups: rsyncd-hosts
670     depends: process - xinetd
671
672   -
673     name: network service - rsync
674     check: check_tcp!873
675     hosts: rietz2
676     depends: rietz:process - xinetd
677
678  ###
679   -
680     name: process - nagios1
681     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'"
682     hosts: samosa
683   -
684     name: process - nagios3
685     # it forks one instance to check, so make it -w 1:2
686     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'"
687     hosts: samosa
688
689  ###
690   -
691     name: process - apache2 - master
692     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
693     hostgroups: apache2-hosts
694   -
695     name: process - apache2 - worker
696     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
697     hostgroups: apache2-hosts
698     depends: process - apache2 - master
699   -
700     name: network service - http
701     check: check_http
702     hostgroups: apache2-hosts
703     depends: process - apache2 - master
704
705
706
707   -
708     name: process - apache - master
709     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
710     hostgroups: apache1-hosts
711   -
712     name: process - apache - worker
713     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
714     hostgroups: apache1-hosts
715     depends: process - apache - master
716   -
717     name: network service - http
718     check: check_http
719     hostgroups: apache1-hosts
720     depends: process - apache - master
721
722   -
723     name: network service - http keyserver
724     check: dsa_check_http_port!11371
725     hosts: raff
726     depends: process - apache - master
727
728   -
729     name: network service - https
730     check: check_https
731     hosts: samosa
732     depends: "process - apache2 - master"
733     normal_check_interval: 120
734     notification_interval: 120
735   -
736     name: network service - https cert
737     check: dsa_check_cert!443
738     hosts: samosa
739     depends: network service - https
740     normal_check_interval: 240
741     notification_interval: 240
742  ####
743   -
744     name: process - named
745     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
746     hostgroups: bind9-hosts
747   -
748     name: network service - dns
749     check: check_dns
750     hostgroups: bind9-hosts
751     depends: process - named
752
753  ####
754   -
755     name: process - vsftp - listener
756     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
757     hostgroups: ftpd-hosts
758   -
759     name: process - vsftp - instance
760     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:30 -u ftp -C vsftpd -a 'vsftpd: '"
761     hostgroups: ftpd-hosts
762   -
763     name: network service - ftp
764     check: check_ftp
765     hostgroups: ftpd-hosts
766     depends: process - vsftp - listener
767
768  ####
769   -
770     name: process - debianqueued
771     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
772     hosts: ries
773
774  ###
775   -
776     name: process - postresql81 - master
777     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'"
778     hostgroups: postgres81-hosts
779   -
780     name: process - postresql81 - writer
781     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
782     hostgroups: postgres81-hosts
783     depends: process - postresql81 - master
784   -
785     name: process - postresql81 - buffer
786     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
787     hostgroups: postgres81-hosts
788     depends: process - postresql81 - master
789   -
790     name: process - postresql81 - collector
791     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
792     hostgroups: postgres81-hosts
793     depends: process - postresql81 - master
794
795  ####
796   # XXX is this needed
797   -
798     name: process - snmpd
799     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'"
800     hosts: lobos, villa
801
802  ###
803   -
804     name: process - buildd
805     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
806     hostgroups: buildd