From 017682f5d0c60d2f1d485a4819ba88bcac5a891f Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 9 Oct 2014 21:13:13 +0000 Subject: [PATCH] Clean up websites, put http/https in seperate sections. --- .../nagios-external/services/websites.cfg | 131 +++++++++--------- 1 file changed, 69 insertions(+), 62 deletions(-) diff --git a/roles/nagios_server/files/nagios-external/services/websites.cfg b/roles/nagios_server/files/nagios-external/services/websites.cfg index b453595310..38ed78bf33 100644 --- a/roles/nagios_server/files/nagios-external/services/websites.cfg +++ b/roles/nagios_server/files/nagios-external/services/websites.cfg @@ -1,6 +1,9 @@ +# +# These ip's are for https. Some sites have seperate ip's for http. +# define service { - host_name 209.132.181.16-phx2, 85.236.55.6-internetx, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + host_name 209.132.181.16-phx2, 85.236.55.6-internetx, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach service_description https max_check_attempts 2 normal_check_interval 2 @@ -46,60 +49,6 @@ define service { use websitetemplate } -define service { - host_name 209.132.181.16-phx2, 85.236.55.6-internetx, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach - service_description fedoraproject.org - check_command check_website!fedoraproject.org!/!People world-wide - use websitetemplate -} - -define service { - host_name 209.132.181.16-phx2, 85.236.55.6-internetx, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach - service_description fedoraproject.org - wiki - check_command check_website!fedoraproject.org!/wiki/Special:Version!MediaWiki is free software - use websitetemplate -} - -define service { - host_name 209.132.181.16-phx2, 85.236.55.6-internetx, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach - service_description docs.fedoraproject.org - check_command check_website!docs.fedoraproject.org!/en-US/index.html!Fedora Documentation - use websitetemplate -} - -define service { - host_name 209.132.181.16-phx2, 85.236.55.6-internetx, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach - service_description mirrors.fedoraproject.org - mirrorlist - check_command check_website!mirrors.fedoraproject.org!/mirrorlist?repo=rawhide&arch=x86_64&country=global!development - use websitetemplate -} - -define service { - host_name 209.132.181.16-phx2, 85.236.55.6-internetx, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach - service_description mirrors.fedoraproject.org - publiclist - check_command check_website!mirrors.fedoraproject.org!/publiclist/Fedora/!Fedora Public Active Mirrors - use websitetemplate -} - -define service { - host_name 209.132.181.16-phx2, 85.236.55.6-internetx, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach - service_description start.fedoraproject.org - check_command check_website!start.fedoraproject.org!/!The Fedora Project is maintained - use websitetemplate -} - -define service { - host_name 209.132.183.81-phx2 - service_description www.redhat.com - check_command check_website!www.redhat.com!/!Careers - use websitetemplate - max_check_attempts 3 - normal_check_interval 5 - retry_check_interval 1 - notification_options c - contact_groups null -} - define service { host_name 209.132.181.16-phx2, 85.236.55.6-internetx, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach service_description accounts @@ -114,13 +63,6 @@ define service { use websitetemplate } -define service { - host_name 152.19.134.191-people03 - service_description planet - check_command check_website!planet.fedoraproject.org!/!Sub-Project planets - use websitetemplate -} - define service { host_name 209.132.181.16-phx2, 85.236.55.6-internetx, 66.35.62.166-tummy, 152.19.134.146-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach service_description blockerbugs @@ -158,3 +100,68 @@ define service { check_command check_website_ssl!taskotron.fedoraproject.org!/resultsdb_api/ use websitetemplate } + +# +# These are http checks, using http hosts +# + +define service { + host_name 209.132.181.16-phx2, 85.236.55.5-internetx, 66.35.62.162-tummy, 152.19.134.142-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description fedoraproject.org + check_command check_website!fedoraproject.org!/!People world-wide + use websitetemplate +} + +define service { + host_name 209.132.181.16-phx2, 85.236.55.5-internetx, 66.35.62.162-tummy, 152.19.134.142-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description fedoraproject.org - wiki + check_command check_website!fedoraproject.org!/wiki/Special:Version!MediaWiki is free software + use websitetemplate +} + +define service { + host_name 209.132.181.16-phx2, 85.236.55.5-internetx, 66.35.62.162-tummy, 152.19.134.142-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description docs.fedoraproject.org + check_command check_website!docs.fedoraproject.org!/en-US/index.html!Fedora Documentation + use websitetemplate +} + +define service { + host_name 209.132.181.16-phx2, 85.236.55.5-internetx, 66.35.62.162-tummy, 152.19.134.142-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description mirrors.fedoraproject.org - mirrorlist + check_command check_website!mirrors.fedoraproject.org!/mirrorlist?repo=rawhide&arch=x86_64&country=global!development + use websitetemplate +} + +define service { + host_name 209.132.181.16-phx2, 85.236.55.5-internetx, 66.35.62.162-tummy, 152.19.134.142-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description mirrors.fedoraproject.org - publiclist + check_command check_website!mirrors.fedoraproject.org!/publiclist/Fedora/!Fedora Public Active Mirrors + use websitetemplate +} + +define service { + host_name 209.132.181.16-phx2, 85.236.55.5-internetx, 66.35.62.162-tummy, 152.19.134.142-ibiblio, 140.211.169.197-osuosl, 213.175.193.206-bodhost, 67.203.2.67-coloamerica, 66.135.62.201-serverbeach + service_description start.fedoraproject.org + check_command check_website!start.fedoraproject.org!/!The Fedora Project is maintained + use websitetemplate +} + +define service { + host_name 209.132.183.81-phx2 + service_description www.redhat.com + check_command check_website!www.redhat.com!/!Careers + use websitetemplate + max_check_attempts 3 + normal_check_interval 5 + retry_check_interval 1 + notification_options c + contact_groups null +} + +define service { + host_name 152.19.134.191-people03 + service_description planet + check_command check_website!planet.fedoraproject.org!/!Sub-Project planets + use websitetemplate +}