From 9165e3d2a1a44a4935e5a4a94f8eaea857d72884 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 4 May 2015 18:04:52 +0000 Subject: [PATCH] Monitor torrent01 in nagios, stop monitoring torrent02 --- .../files/nagios/hostgroups/vpnclients.cfg | 2 +- .../nagios_server/files/nagios/hosts/torrent01.cfg | 7 +++++++ .../nagios_server/files/nagios/hosts/torrent02.cfg | 14 +++++++------- 3 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 roles/nagios_server/files/nagios/hosts/torrent01.cfg diff --git a/roles/nagios_server/files/nagios/hostgroups/vpnclients.cfg b/roles/nagios_server/files/nagios/hostgroups/vpnclients.cfg index af5227c131..381c84b904 100644 --- a/roles/nagios_server/files/nagios/hostgroups/vpnclients.cfg +++ b/roles/nagios_server/files/nagios/hostgroups/vpnclients.cfg @@ -5,5 +5,5 @@ define hostgroup { hostgroup_name vpnclients alias vpnclients - members tummy01,unbound-tummy01,smtp-mm-tummy01,proxy03,unbound-osuosl01,bodhost01,proxy07,coloamer01,proxy08,ibiblio01,download-ib02,noc02,unbound-ib01,ibiblio02,ns02,proxy04,smtp-mm-ib01,torrent02,ibiblio03,ibiblio04,people03,internetx01,hosted-lists01,ns05,proxy02,osuosl01,proxy06,osuosl02,osuosl03,hosted03,ibiblio02,hosted04,serverbeach08,serverbeach09,ns-sb01,serverbeach10,collab03,collab04,proxy09,smtp-mm-coloamer01,host1plus01,dedicatedsolutions01,proxy05,proxy11 + members tummy01,unbound-tummy01,smtp-mm-tummy01,proxy03,unbound-osuosl01,bodhost01,proxy07,coloamer01,proxy08,ibiblio01,download-ib02,noc02,unbound-ib01,ibiblio02,ns02,proxy04,smtp-mm-ib01,torrent01,ibiblio03,ibiblio04,people03,internetx01,hosted-lists01,ns05,proxy02,osuosl01,proxy06,osuosl02,osuosl03,hosted03,ibiblio02,hosted04,serverbeach08,serverbeach09,ns-sb01,serverbeach10,collab03,collab04,proxy09,smtp-mm-coloamer01,host1plus01,dedicatedsolutions01,proxy05,proxy11 } diff --git a/roles/nagios_server/files/nagios/hosts/torrent01.cfg b/roles/nagios_server/files/nagios/hosts/torrent01.cfg new file mode 100644 index 0000000000..33517b77e0 --- /dev/null +++ b/roles/nagios_server/files/nagios/hosts/torrent01.cfg @@ -0,0 +1,7 @@ +define host { + host_name torrent01 + alias torrent01.fedoraproject.org + use defaulttemplate + address torrent01.fedoraproject.org + parents ibiblio03 +} diff --git a/roles/nagios_server/files/nagios/hosts/torrent02.cfg b/roles/nagios_server/files/nagios/hosts/torrent02.cfg index 4bcac52317..9e58477503 100644 --- a/roles/nagios_server/files/nagios/hosts/torrent02.cfg +++ b/roles/nagios_server/files/nagios/hosts/torrent02.cfg @@ -1,7 +1,7 @@ -define host { - host_name torrent02 - alias torrent02.fedoraproject.org - use defaulttemplate - address torrent02.fedoraproject.org - parents ibiblio02 -} +#define host { +# host_name torrent02 +# alias torrent02.fedoraproject.org +# use defaulttemplate +# address torrent02.fedoraproject.org +# parents ibiblio02 +#}