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