mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-16 13:56:03 +08:00
Switch over to have nagios monitor production copr-be instead of the dev one.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
define host {
|
||||
host_name copr-be-dev
|
||||
alias copr-be-dev.cloud.fedoraproject.org
|
||||
use defaulttemplate
|
||||
address copr-be-dev.cloud.fedoraproject.org
|
||||
}
|
||||
#define host {
|
||||
# host_name copr-be-dev
|
||||
# alias copr-be-dev.cloud.fedoraproject.org
|
||||
# use defaulttemplate
|
||||
# address copr-be-dev.cloud.fedoraproject.org
|
||||
#}
|
||||
|
||||
6
roles/nagios_server/files/nagios/hosts/copr-be.cfg
Normal file
6
roles/nagios_server/files/nagios/hosts/copr-be.cfg
Normal file
@@ -0,0 +1,6 @@
|
||||
define host {
|
||||
host_name copr-be
|
||||
alias copr-be.cloud.fedoraproject.org
|
||||
use defaulttemplate
|
||||
address copr-be.cloud.fedoraproject.org
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
define service {
|
||||
host_name copr-be-dev
|
||||
host_name copr-be
|
||||
service_description Check Copr backend consecutive build failures
|
||||
check_command check_by_nrpe!check_copr_backend_failed
|
||||
use defaulttemplate
|
||||
|
||||
Reference in New Issue
Block a user