## There are lots of different sections in this now-enormous file
## Each one starts with a 'BEGIN' comment.


# BEGIN, check for the existance of processes
define service {
  host_name             value01.iad2.fedoraproject.org
  service_description   Check for fedmsg-irc proc
  check_command         check_by_nrpe!check_fedmsg_irc_proc
  use                   defaulttemplate
}

define service {
  hostgroup_name        proxies
  service_description   Check fedmsg-gateway consumers backlog
  check_command         check_by_nrpe!check_fedmsg_cbacklog_busgateway_gateway
  use                   defaulttemplate
}

define service {
  hostgroup_name        proxies
  service_description   Check for existence fedmsg-gateway proc
  check_command         check_by_nrpe!check_fedmsg_gateway_proc
  use                   defaulttemplate
}

define service {
  hostgroup_name        proxies
  service_description   Check fedmsg consumers and producers gateway
  check_command         check_by_nrpe!check_fedmsg_cp_busgateway_gateway
  use                   defaulttemplate
}

define service {
  hostgroup_name        proxies
  service_description   Check fedmsg-gateway consumers exceptions
  check_command         check_by_nrpe!check_fedmsg_cexceptions_busgateway_gateway
  use                   defaulttemplate
}

define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check for fedmsg-hub proc
  check_command         check_by_nrpe!check_fedmsg_hub_proc
  use                   defaulttemplate
}

define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check for fedmsg-gateway proc
  check_command         check_by_nrpe!check_fedmsg_gateway_proc
  use                   defaulttemplate
}

define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check for fedmsg-relay proc
  check_command         check_by_nrpe!check_fedmsg_relay_proc
  use                   defaulttemplate
}

define service {
  host_name             badges-backend01.iad2.fedoraproject.org
  service_description   Check for fedmsg-hub proc
  check_command         check_by_nrpe!check_fedmsg_hub_proc
  use                   defaulttemplate
}

define service {
  host_name             fedimg01.iad2.fedoraproject.org
  service_description   Check for fedmsg-hub proc
  check_command         check_by_nrpe!check_fedmsg_hub_proc
  use                   defaulttemplate
}

# TODO: Uncomment this if it comes back in iad
#define service {
#  host_name             packages03.iad2.fedoraproject.org
#  service_description   Check for fedmsg-hub proc
#  check_command         check_by_nrpe!check_fedmsg_hub_proc
#  use                   defaulttemplate
#}


# BEGIN, check datanommer history
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent buildsys/koji messages
  check_command         check_by_nrpe!check_datanommer_buildsys
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent git messages
  check_command         check_by_nrpe!check_datanommer_git
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent bodhi compose messages
  check_command         check_by_nrpe!check_datanommer_bodhi_composes
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent bodhi messages
  check_command         check_by_nrpe!check_datanommer_bodhi
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent wiki messages
  check_command         check_by_nrpe!check_datanommer_wiki
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent compose messages
  check_command         check_by_nrpe!check_datanommer_compose
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent meetbot messages
  check_command         check_by_nrpe!check_datanommer_meetbot
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent fedoraplanet messages
  check_command         check_by_nrpe!check_datanommer_planet
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent copr finished build messages
  check_command         check_by_nrpe!check_datanommer_copr
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent fedbadges messages
  check_command         check_by_nrpe!check_datanommer_fedbadges
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent fedocal messages
  check_command         check_by_nrpe!check_datanommer_fedocal
  use                   defaulttemplate
}
#define service {
#  host_name             busgateway01.iad2.fedoraproject.org
#  service_description   Check datanommer for recent ansible messages
#  check_command         check_by_nrpe!check_datanommer_ansible
#  use                   defaulttemplate
#}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent fedimg messages
  check_command         check_by_nrpe!check_datanommer_fedimg
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent hotness messages
  check_command         check_by_nrpe!check_datanommer_hotness
  use                   defaulttemplate
}

define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent mailman messages
  check_command         check_by_nrpe!check_datanommer_mailman
  use                   defaulttemplate
}

define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent bugzilla messages
  check_command         check_by_nrpe!check_datanommer_bugzilla
  use                   defaulttemplate
}

define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent github messages
  check_command         check_by_nrpe!check_datanommer_github
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent kerneltest messages
  check_command         check_by_nrpe!check_datanommer_kerneltest
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent fmn messages
  check_command         check_by_nrpe!check_datanommer_fmn
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent rpm sign messages
  check_command         check_by_nrpe!check_datanommer_rpmsign
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent mdapi messages
  check_command         check_by_nrpe!check_datanommer_mdapi
  use                   defaulttemplate
}
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check datanommer for recent resultsdb messages
  check_command         check_by_nrpe!check_datanommer_resultsdb
  use                   defaulttemplate
}


# BEGIN, check consumers and producers
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check fedmsg consumers and producers relay
  check_command         check_by_nrpe!check_fedmsg_cp_busgateway_relay
  use                   defaulttemplate
}

define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check fedmsg consumers and producers gateway
  check_command         check_by_nrpe!check_fedmsg_cp_busgateway_gateway
  use                   defaulttemplate
}

define service {
  host_name             value01.iad2.fedoraproject.org
  service_description   Check fedmsg consumers and producers irc
  check_command         check_by_nrpe!check_fedmsg_cp_value
  use                   defaulttemplate
}

define service {
  host_name             badges-backend01.iad2.fedoraproject.org
  service_description   Check fedmsg consumers and producers hub
  check_command         check_by_nrpe!check_fedmsg_cp_badges_backend
  use                   defaulttemplate
}

#define service {
#  host_name             bugzilla2fedmsg01.iad2.fedoraproject.org
#  service_description   Check fedmsg consumers and producers hub
#  check_command         check_by_nrpe!check_fedmsg_cp_bugzilla2fedmsg
#  use                   defaulttemplate
#}

define service {
  host_name             fedimg01.iad2.fedoraproject.org
  service_description   Check fedmsg consumers and producers hub
  check_command         check_by_nrpe!check_fedmsg_cp_fedimg_backend
  use                   defaulttemplate
}

# TODO: Uncomment this if it comes back in iad
#define service {
#  host_name             packages03.iad2.fedoraproject.org
#  service_description   Check fedmsg consumers and producers hub
#  check_command         check_by_nrpe!check_fedmsg_cp_packages_backend
#  use                   defaulttemplate
#}

define service {
  host_name             mbs-backend01.iad2.fedoraproject.org
  service_description   Check fedmsg consumers and producers hub
  check_command         check_by_nrpe!check_fedmsg_cp_mbs_backend
  use                   defaulttemplate
}


# BEGIN exceptions counter
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check fedmsg-relay consumers exceptions
  check_command         check_by_nrpe!check_fedmsg_cexceptions_busgateway_relay
  use                   defaulttemplate
}

define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check fedmsg-gateway consumers exceptions
  check_command         check_by_nrpe!check_fedmsg_cexceptions_busgateway_gateway
  use                   defaulttemplate
}

define service {
  host_name             value01.iad2.fedoraproject.org
  service_description   Check fedmsg-irc consumers exceptions
  check_command         check_by_nrpe!check_fedmsg_cexceptions_value
  use                   defaulttemplate
}

define service {
  host_name             badges-backend01.iad2.fedoraproject.org
  service_description   Check fedmsg-hub consumers exceptions
  check_command         check_by_nrpe!check_fedmsg_cexceptions_badges_backend
  use                   defaulttemplate
}

define service {
  host_name             notifs-backend01.iad2.fedoraproject.org
  service_description   Check fedmsg-hub consumers exceptions
  check_command         check_by_nrpe!check_fedmsg_cexceptions_notifs_backend
  use                   defaulttemplate
}

#define service {
#  host_name             bugzilla2fedmsg01.iad2.fedoraproject.org
#  service_description   Check fedmsg-hub consumers exceptions
#  check_command         check_by_nrpe!check_fedmsg_cexceptions_bugzilla2fedmsg
#  use                   defaulttemplate
#}

define service {
  host_name             fedimg01.iad2.fedoraproject.org
  service_description   Check fedmsg-hub consumers exceptions
  check_command         check_by_nrpe!check_fedmsg_cexceptions_fedimg_backend
  use                   defaulttemplate
}

# TODO: Uncomment this if it comes back in iad
#define service {
#  host_name             packages03.iad2.fedoraproject.org
#  service_description   Check fedmsg-hub consumers exceptions
#  check_command         check_by_nrpe!check_fedmsg_cexceptions_packages_backend
#  use                   defaulttemplate
#}

define service {
  host_name             mbs-backend01.iad2.fedoraproject.org
  service_description   Check fedmsg-hub consumers exceptions
  check_command         check_by_nrpe!check_fedmsg_cexceptions_mbs_backend
  use                   defaulttemplate
}



# BEGIN backlog checking
define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check fedmsg-relay consumers backlog
  check_command         check_by_nrpe!check_fedmsg_cbacklog_busgateway_relay
  use                   defaulttemplate
}

define service {
  host_name             busgateway01.iad2.fedoraproject.org
  service_description   Check fedmsg-gateway consumers backlog
  check_command         check_by_nrpe!check_fedmsg_cbacklog_busgateway_gateway
  use                   defaulttemplate
}

define service {
  host_name             value01.iad2.fedoraproject.org
  service_description   Check fedmsg-irc consumers backlog
  check_command         check_by_nrpe!check_fedmsg_cbacklog_value
  use                   defaulttemplate
}

define service {
  host_name             badges-backend01.iad2.fedoraproject.org
  service_description   Check fedmsg-hub consumers backlog
  check_command         check_by_nrpe!check_fedmsg_cbacklog_badges_backend
  use                   defaulttemplate
}

define service {
  host_name             notifs-backend01.iad2.fedoraproject.org
  service_description   Check fedmsg-hub consumers backlog
  check_command         check_by_nrpe!check_fedmsg_cbacklog_notifs_backend
  use                   defaulttemplate
}

#define service {
#  host_name             bugzilla2fedmsg01.iad2.fedoraproject.org
#  service_description   Check fedmsg-hub consumers backlog
#  check_command         check_by_nrpe!check_fedmsg_cbacklog_bugzilla2fedmsg
#  use                   defaulttemplate
#}

define service {
  host_name             fedimg01.iad2.fedoraproject.org
  service_description   Check fedmsg-hub consumers backlog
  check_command         check_by_nrpe!check_fedmsg_cbacklog_fedimg_backend
  use                   defaulttemplate
}

# TODO: Uncomment this if it comes back in iad
#define service {
#  host_name             packages03.iad2.fedoraproject.org
#  service_description   Check fedmsg-hub consumers backlog
#  check_command         check_by_nrpe!check_fedmsg_cbacklog_packages_backend
#  use                   defaulttemplate
#}

define service {
  host_name             mbs-backend01.iad2.fedoraproject.org
  service_description   Check fedmsg-hub consumers backlog
  check_command         check_by_nrpe!check_fedmsg_cbacklog_mbs_backend
  use                   defaulttemplate
}
