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