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