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