+ ### MAIL STUFF
+ ###
+ -
+ name: process - exim
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
+ hostgroups: computers
+ excludehostgroups: postfix-hosts
+ excludehosts: master, rietz, merkel
+ -
+ name: process - exim - total
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
+ hostgroups: computers
+ excludehostgroups: postfix-hosts
+ excludehosts: master, rietz, merkel
+ -
+ name: process - exim
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
+ hosts: master, rietz, merkel
+ ###
+ -
+ name: process - clamav - clamd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
+ hostgroups: heavy-exim, heavy-postfix
+ -
+ name: service - clamav
+ nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
+ hostgroups: heavy-exim, heavy-postfix
+ depends: process - clamav - clamd
+ -
+ name: process - clamav - freshclam
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
+ hostgroups: heavy-exim, heavy-postfix
+ #
+ -
+ name: unwanted process - clamav
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
+ hostgroups: computers
+ excludehostgroups: heavy-exim, heavy-postfix
+ -
+ name: unwanted process - freshclam
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
+ hostgroups: computers
+ excludehostgroups: heavy-exim, heavy-postfix
+ ###
+ -
+ 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'"
+ hostgroups: heavy-exim
+ excludehosts: rietz, merkel, raff
+ -
+ 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 10 --helper-home-dir -d --pidfile=/var/run/spamd.pid'"
+ hosts: liszt
+ -
+ name: process - spamd - child
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
+ hosts: liszt
+ hostgroups: heavy-exim
+ depends: process - spamd - master
+ excludehosts: rietz, merkel, raff
+ #
+ -
+ name: process - spamd - master
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
+ hosts: rietz
+ -
+ name: process - spamd - child
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
+ hosts: rietz
+ #
+ -
+ name: unwanted process - spamd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
+ hostgroups: computers
+ excludehostgroups: heavy-exim
+ excludehosts: liszt
+ -
+ name: unwanted process - spamd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
+ hosts: merkel, raff
+
+ ###
+ -
+ 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'"
+ hostgroups: heavy-exim
+ #
+ -
+ name: unwanted process - greylistd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
+ hostgroups: computers
+ excludehostgroups: heavy-exim
+
+ ###
+ -
+ name: process - postgrey
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -C postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --inet=127.0.0.1:60000'"
+ hostgroups: heavy-postfix
+ #
+ -
+ name: unwanted process - postgrey
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
+ hostgroups: computers
+ excludehostgroups: heavy-postfix
+ ###
+ -
+ name: process - amavis - master
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
+ hostgroups: amavis-hosts
+ -
+ name: process - amavis - all
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
+ hostgroups: amavis-hosts
+ depends: process - amavis - master
+ #
+ -
+ name: unwanted process - amavis
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
+ hostgroups: computers
+ excludehostgroups: amavis-hosts
+ ###
+ -
+ name: process - weightd - master
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
+ hostgroups: heavy-postfix
+ -
+ name: process - weightd - cache
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
+ hostgroups: heavy-postfix
+ depends: process - weightd - master
+ -
+ name: process - weightd - child
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
+ hostgroups: heavy-postfix
+ depends: process - weightd - master
+ #
+ -
+ name: unwanted process - policyd-weight
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
+ hostgroups: computers
+ excludehostgroups: heavy-postfix
+
+
+
+ ###
+ -
+ name: process - postfix - master
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
+ hostgroups: postfix-hosts
+ -
+ name: process - postfix - qmgr
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
+ hostgroups: postfix-hosts
+ depends: process - postfix - master
+ #-
+ # name: process - postfix - tlsmgr
+ # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
+ # hostgroups: postfix-hosts
+ # depends: process - postfix - master
+ -
+ name: process - postfix - pickup
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
+ hostgroups: postfix-hosts
+ depends: process - postfix - master
+ -
+ name: process - postfix - anvil
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
+ hostgroups: postfix-hosts
+ depends: process - postfix - master
+
+ -
+ name: process - postfix - trivial-rewrite
+ 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'"
+ hostgroups: postfix-hosts
+ depends: process - postfix - master
+ -
+ name: process - postfix - proxymap
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
+ hostgroups: postfix-hosts
+ depends: process - postfix - master
+ -
+ name: process - postfix - cleanup
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
+ hostgroups: postfix-hosts
+ depends: process - postfix - master
+ -
+ name: process - postfix - local
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
+ hostgroups: postfix-hosts
+ depends: process - postfix - master
+
+ -
+ name: process - postfix - smtpd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:40 -c 0:90 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'"
+ hostgroups: postfix-hosts
+ excludehosts: liszt
+ depends: process - postfix - master
+ -
+ name: process - postfix - smtp
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
+ hostgroups: postfix-hosts
+ excludehosts: liszt
+ depends: process - postfix - master
+
+ -
+ name: process - postfix - smtpd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:150 -c 0:200 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'"
+ hosts: liszt
+ depends: process - postfix - master
+ -
+ name: process - postfix - smtp
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
+ hosts: liszt
+ depends: process - postfix - master
+
+ ###
+ -
+ name: network service - smtp
+ check: dsa_check_smtp
+ hostgroups: computers
+ excludehostgroups: postfix-hosts
+ depends: process - exim
+
+ -
+ name: network service - smtp
+ check: dsa_check_smtp
+ hostgroups: postfix-hosts
+ excludehosts: verdi, kassia, allegri
+ depends: process - postfix - master
+ -
+ name: network service - smtp - port 2025
+ check: dsa_check_smtp_port!2025
+ hosts: verdi, kassia, murphy, allegri
+ depends: process - postfix - master
+
+ -
+ name: network service local - smtps cert
+ nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
+ hostgroups: postfix-hosts
+ depends: process - postfix - master
+ normal_check_interval: 120
+
+
+ -
+ name: setup - debian-admin in etc aliases
+ nrpe: "/usr/lib/nagios/plugins/dsa-check-da-in-aliases"
+ hostgroups: computers
+ normal_check_interval: 120
+ -
+ name: setup - ud-ldap freshness
+ nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
+ hostgroups: computers
+ ###
+ -
+ name: process - uptimed
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
+ hostgroups: computers
+ ###
+ -
+ name: process - irqbalance
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
+ hostgroups: computers
+ excludehostgroups: single-cpu
+ -
+ name: unwanted process - named
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
+ hostgroups: single-cpu
+
+ ####
+ ###
+ #-
+ # name: unwanted process - system-tools-backends
+ # nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
+ # hostgroups: computers
+ #-
+ # name: unwanted process - dbus-daemon
+ # nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
+ # hostgroups: computers
+ -
+ name: unwanted process - gkrellmd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
+ hostgroups: computers
+ -
+ name: unwanted process - portmap
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
+ hostgroups: computers
+ -
+ name: unwanted process - rpc.statd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
+ hostgroups: computers
+ -
+ name: unwanted process - inetd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
+ hostgroups: computers
+ -
+ name: unwanted process - snmpd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
+ hostgroups: computers
+ excludehosts: lobos, villa
+
+
+ ############ Processes/Services that only run on some computers ############
+ ####
+ ###
+ -
+ name: process - rngd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'"
+ hosts: bartok
+ ###
+ -
+ name: process - sensord
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord -a '/usr/sbin/sensord -f daemon'"
+ hosts: bartok
+
+ ###
+ -
+ name: process - mdadm monitor
+ servicegroups: raid
+ 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'"
+ hostgroups: sw-raid
+ -
+ name: RAID - sw raid
+ servicegroups: raid
+ nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
+ hostgroups: sw-raid
+
+ ###
+ -
+ name: process - cpqarrayd
+ servicegroups: raid
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
+ hostgroups: dl385, dl380, dl360
+ -
+ name: RAID - arrayprobe
+ servicegroups: raid
+ nrpe: "sudo /usr/bin/arrayprobe"
+ hostgroups: dl385, dl380, dl360
+ ###
+ -
+ name: RAID - DAC960
+ servicegroups: raid
+ nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960"
+ hosts: verdi
+ ###
+ -
+ name: RAID - 3ware
+ servicegroups: raid
+ nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
+ hosts: puccini
+
+ ###
+ -
+ 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 - udevd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
+ hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, escher, verdi, liszt, kassia, agricola, arcadelt, argento, allegri
+ ###
+ -
+ name: process - acpid
+ 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'"
+ hosts: ries, steffani, liszt, kassia
+
+ ###
+ -
+ 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, raptor, allegri
+ hostgroups: rsyncd-hosts
+ -
+ name: unwanted process - xinetd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
+ hostgroups: computers
+ excludehosts: samosa, raptor, allegri
+ excludehostgroups: rsyncd-hosts
+ ###
+ -
+ name: network service - finger
+ check: check_tcp!79
+ hosts: samosa
+ depends: process - xinetd
+ ###
+ -
+ name: network service - rsync
+ check: check_tcp!873
+ hostgroups: rsyncd-hosts
+ depends: process - xinetd
+
+ -
+ name: network service - rsync
+ check: check_tcp!873
+ hosts: rietz2
+ depends: rietz:process - xinetd
+
+ ###
+ -
+ name: process - nagios3
+ # there is always one extra process per check currently running..
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:30 -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 1: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: process - apache - master
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
+ hostgroups: apache1-hosts
+ -
+ name: process - apache - worker
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
+ hostgroups: apache1-hosts
+ depends: process - apache - master
+ -
+ name: network service - http
+ check: check_http
+ hostgroups: apache1-hosts
+ depends: process - apache - master
+
+ -
+ name: network service - http keyserver
+ check: dsa_check_http_port!11371
+ hosts: raff
+ depends: process - apache - master
+
+ -
+ name: network service - https
+ check: check_https
+ hosts: samosa
+ depends: "process - apache2 - master"
+ normal_check_interval: 120
+ -
+ name: network service - https cert
+ check: dsa_check_cert!443
+ hosts: samosa
+ depends: network service - https
+ normal_check_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
+ -
+ name: unwanted process - named
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
+ hostgroups: computers
+ excludehostgroups: bind9-hosts
+
+ ####
+ -
+ name: process - vsftp - listener
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
+ hostgroups: ftpd-hosts
+ -
+ name: process - vsftp - instance
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
+ hostgroups: ftpd-hosts
+ -
+ name: network service - ftp
+ check: check_ftp
+ hostgroups: ftpd-hosts
+ depends: process - vsftp - listener
+
+ ####
+ -
+ name: process - debianqueued
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
+ hosts: ries
+
+ ###
+ -
+ name: process - postresql81 - master
+ 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'"
+ hostgroups: postgres81-hosts
+ -
+ name: process - postresql81 - writer
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
+ hostgroups: postgres81-hosts
+ depends: process - postresql81 - master
+ -
+ name: process - postresql81 - buffer
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
+ hostgroups: postgres81-hosts
+ depends: process - postresql81 - master
+ -
+ name: process - postresql81 - collector
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
+ hostgroups: postgres81-hosts
+ depends: process - postresql81 - master
+
+ ####
+ # XXX is this needed
+ -
+ name: process - snmpd
+ 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'"
+ hosts: lobos, villa
+
+ ###
+ -
+ name: process - buildd
+ servicegroups: buildd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
+ hostgroups: buildd
+
+ ###
+ -
+ name: process - iscsid
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
+ hosts: raptor
+
+ ###
+ -
+ name: process - tftpd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C in.tftpd -a '/usr/sbin/in.tftpd -l -B 1450 -s /var/lib/tftpboot'"
+ hostgroups: tftpd-hosts
+ ###
+ -
+ name: process - dhcpd
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
+ hosts: paer
+ ###
+ -
+ name: process - monit
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C monit -a '/usr/sbin/monit -d 30 -c /etc/monit/monitrc -s /var/lib/monit/monit.state'"
+ hosts: villa, lobos, steffani, kassia, master