X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=b46e373b2514cf21be04716ecc7201dc3eb122c1;hb=3fb46cb3b3d5cd35201b383606a2a199b17d6213;hp=05c021dbf29f37ef638f26027dd257b30005f5ee;hpb=3519d7e8ebd0fd473bce576d9c5d4d8889f2ba2d;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 05c021d..b46e373 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -454,7 +454,7 @@ servers: 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: @@ -541,7 +541,7 @@ servers: 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 @@ -698,6 +698,14 @@ hostgroups: 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 @@ -1301,8 +1309,7 @@ services: name: network service - smtp check: dsa_check_smtp hostgroups: computers - excludehostgroups: postfix-hosts - excludehosts: lafayette + excludehostgroups: postfix-hosts, incomingmailrelayed, incomingmailrelayed2025 depends: process - exim - @@ -1314,7 +1321,12 @@ services: - 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