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