bind9-hosts:
alias: hosts running bind9
private: 1
+ amavis-hosts:
+ alias: hosts running amavis
+ private: 1
ftpd-hosts:
alias: hosts running vsftpd
private: 1
-
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
+ hosts: liszt
hostgroups: heavy-exim
excludehosts: rietz
-
name: process - spamd - child
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
+ hosts: liszt
hostgroups: heavy-exim
depends: process - spamd - master
excludehosts: rietz
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
hostgroups: computers
excludehostgroups: heavy-exim
+ excludehosts: listz
###
-
-
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: heavy-postfix
+ hostgroups: amavis-hosts
+ excludehosts: liszt
-
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: heavy-postfix
+ hostgroups: amavis-hosts
+ excludehosts: liszt
depends: process - amavis - master
#
-
name: unwanted process - amavis
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
hostgroups: computers
- excludehostgroups: heavy-postfix
+ excludehostgroups: amavis-hosts
###
-
name: process - weightd - master
depends: process - weightd - master
#
-
- name: unwanted process - amavis
+ name: unwanted process - policyd-weight
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
hostgroups: computers
excludehostgroups: heavy-postfix