#958 copr: add nagios check for copr backend
Merged 2 years ago by kevin. Opened 2 years ago by schlupov.
fedora-infra/ schlupov/ansible nagios_check  into  main

@@ -11,6 +11,18 @@ 

  }

  

  define host {

+   host_name                    copr-be

+   alias                        download.copr.fedorainfracloud.org

+   use                          mincheck

+   address                      d1nld9ovj32u75.cloudfront.net

+ {% if vars['nagios_location'] == 'iad2_internal' %}

+   parents                      iad2-gw

+ {% else %}

+   parents                      ibiblio-gw

+ {% endif %}

+ }

+ 

+ define host {

    host_name                    registry-cdn

    alias                        cdn.registry.fedoraproject.org

    use                          mincheck

@@ -336,10 +336,10 @@ 

  

  {% endif %}

  

- # define service {

- #  hostgroup_name        proxies

- #  service_description   http-download.copr.fedorainfracloud.org

- #  check_command         check_website_ssl!download.copr.fedorainfracloud.org!/!Index of /

- #  max_check_attempts    8

- #  use                   websitetemplate

- #}

+ define service {

+   host_name             download.copr.fedorainfracloud.org

+   service_description   http-download.copr.fedorainfracloud.org

+   check_command         check_website_ssl!download.copr.fedorainfracloud.org!/!Index of /

+   max_check_attempts    8

+   use                   websitetemplate

+ }

I'm not really sure about that parents.

Me neither, it would be nice if someone more experienced with the Nagios
layout could help us with the review.

This looks good to me. I can merge and push it later today, or you can now...

rebased onto dce5318

2 years ago

rebased onto dce5318

2 years ago

Pull-Request has been merged by kevin

2 years ago