morales:
address: 82.195.75.97
parents: gw-man-da
- hostgroups: computers, porterbox, single-cpu, no-samhain, hasbootfs, hassrvfs
+ hostgroups: computers, porterbox, single-cpu, no-samhain, hasbootfs, hassrvfs, lenny, puppet
contacts: bzed
sperger:
address: 82.195.75.98
ancina:
address: 157.193.39.13
parents: gw-ghent
- hostgroups: computers, buildd, single-cpu, lenny, puppet, hassrvfs, hasbootfs
+ hostgroups: computers, buildd, single-cpu, lenny, puppet, hassrvfs, hasbootfs, incomingmailrelayed2025
contacts: luk
agnesi:
lafayette:
address: 147.215.7.160
parents: gw-esiee
- hostgroups: computers, buildd, lenny, puppet, sw-raid, hassrvfs, hasbootfs
+ hostgroups: computers, buildd, lenny, puppet, sw-raid, hassrvfs, hasbootfs, incomingmailrelayed
#############################
# host groups
alias: hosts with a /srv
private: 1
+ incomingmailrelayed:
+ alias: incoming mail needs to go through a mail relay
+ # i.e. no port 25
+ private: 1
+ incomingmailrelayed2025:
+ alias: incoming mail needs to go through a mail relay
+ # i.e. no port 25
+ private: 1
#############################
# servicegroups
check: dsa_check_ntp
hostgroups: computers
depends: process - ntpd
- excludehosts: allegri, zelenka
+ excludehosts: allegri, zelenka, ancina
#
-
name: network service - time
check: dsa_check_time
- hosts: allegri, zelenka
+ hosts: allegri, zelenka, ancina
depends: process - xinetd
###
name: network service - smtp
check: dsa_check_smtp
hostgroups: computers
- excludehostgroups: postfix-hosts
- excludehosts: lafayette
+ excludehostgroups: postfix-hosts, incomingmailrelayed, incomingmailrelayed2025
depends: process - exim
-
-
name: network service - submission
check: dsa_check_smtp_port!587
- hosts: lafayette
+ hostgroups: incomingmailrelayed
+ depends: process - exim
+ -
+ name: network service - smtp 2025
+ check: dsa_check_smtp_port!2025
+ hostgroups: incomingmailrelayed2025
depends: process - exim
-
name: network service - smtp - port 2025
-
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, allegri, gluck, zelenka
+ hosts: samosa, allegri, gluck, zelenka, ancina
hostgroups: rsyncd-hosts
-
name: unwanted process - xinetd
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
hostgroups: computers
- excludehosts: samosa, allegri, gluck, zelenka
+ excludehosts: samosa, allegri, gluck, zelenka, ancina
excludehostgroups: rsyncd-hosts
###
-