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