+ hostgroups: dl385, dl380
+
+ ###
+ -
+ name: process - slapd
+ 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'"
+ hosts: samosa
+ ###
+ -
+ name: process - spamd - master
+ 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'"
+ hosts: samosa
+ -
+ name: process - spamd - child
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
+ hosts: samosa
+ depends: process - spamd - master
+ ###
+ -
+ name: process - greylistd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
+ hosts: samosa
+ ###
+ -
+ name: process - xinetd
+ 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'"
+ hosts: samosa
+ ###
+ -
+ name: network service - finger
+ check: check_tcp!79
+ hosts: samosa
+ depends: process - xinetd
+ ###
+ -
+ name: process - nagios1
+ 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'"
+ hosts: samosa
+ -
+ name: process - nagios3
+ # it forks one instance to check, so make it -w 1:2
+ 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'"
+ hosts: samosa
+
+ ###
+ -
+ name: process - apache2 - master
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
+ hostgroups: apache2-hosts
+ -
+ name: process - apache2 - worker
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
+ hostgroups: apache2-hosts
+ depends: process - apache2 - master
+ -
+ name: network service - http
+ check: check_http
+ hostgroups: apache2-hosts
+ depends: process - apache2 - master
+ -
+ name: network service - https
+ check: check_https
+ hosts: samosa
+ depends: "process - apache2 - master"
+ normal_check_interval: 120
+ notification_interval: 120
+ -
+ name: network service - https cert
+ check: dsa_check_cert!443
+ hosts: samosa
+ depends: network service - https
+ normal_check_interval: 240
+ notification_interval: 240
+ ####
+ -
+ name: process - named
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
+ hostgroups: bind9-hosts
+ -
+ name: network service - dns
+ check: check_dns
+ hostgroups: bind9-hosts
+ depends: process - named