-
- -
- name: remote logging on lotti
- remotecheck: "/usr/lib/nagios/plugins/dsa-check-log-age-loghost $HOSTNAME$"
- runfrom: lotti
- hostgroups: computers
- excludehostgroups: alioth
- -
- name: remote logging on lully
- remotecheck: "/usr/lib/nagios/plugins/dsa-check-log-age-loghost $HOSTNAME$"
- runfrom: lully
- hostgroups: computers
- excludehostgroups: alioth
- -
- name: MQ connection on rainier
- remotecheck: "/usr/lib/nagios/plugins/dsa-check-mq-connection $HOSTNAME$ ud dsa"
- runfrom: rainier
- hostgroups: computers
- normal_check_interval: 60
- retry_check_interval: 15
- excludehostgroups: alioth
- -
- name: MQ connection on rapoport
- remotecheck: "/usr/lib/nagios/plugins/dsa-check-mq-connection $HOSTNAME$ ud dsa"
- runfrom: rapoport
- hostgroups: computers
- normal_check_interval: 60
- retry_check_interval: 15
- excludehostgroups: alioth
- ### 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, mail-relay
- excludehosts: master, busoni, quantz, buxtehude
- -
- name: process - exim
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
- hostgroups: mail-relay
- -
- 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, busoni, quantz, buxtehude
- -
- name: process - exim
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
- hosts: master, busoni, quantz, buxtehude
- -
- name: mail queue
- nrpe: "/usr/lib/nagios/plugins/check_mailq -M exim -w 1000 -c 2000"
- hostgroups: heavy-exim
- ###
- -
- 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, deadslow
- -
- name: unwanted process - freshclam
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
- hostgroups: computers
- excludehostgroups: heavy-exim, heavy-postfix, deadslow
- ###
- -
- 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: spamd
- excludehosts: picconi
- excludehostgroups: deadslow
- -
- 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 20 --min-spare=5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'"
- hosts: picconi
- -
- 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: bendel
- -
- name: process - spamd - child
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
- hosts: bendel
- hostgroups: spamd
- depends: process - spamd - master
- #
- -
- 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: buxtehude
- -
- name: process - spamd - child
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
- hosts: buxtehude
- #
- -
- name: unwanted process - spamd
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
- hostgroups: computers
- excludehostgroups: spamd, deadslow
- excludehosts: bendel, busoni, buxtehude
-
- ###
- #-
- # 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: deadslow
-
- ###
- -
- name: process - postgrey
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --unix=/var/run/postgrey/socket --retry-window=4 --auto-whitelist-clients=10 --exim'"
- hostgroups: heavy-exim
- -
- name: process - postgrey
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u 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, heavy-exim, deadslow
- ###
- -
- name: process - amavis - master
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -a 'amavisd-new (master)'"
- hostgroups: amavis-hosts
- -
- name: process - amavis - all
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -a 'amavisd-new '"
- 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, deadslow
- ###
- -
- name: process - weightd - master
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -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 -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 -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, deadslow
-
-
- ###
- -
- 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