[copr] nagios check try 1, step 3
This commit is contained in:
parent
72a73892ca
commit
1890e7d816
3 changed files with 13 additions and 13 deletions
|
@ -142,7 +142,7 @@
|
||||||
- cron: name="kill VMs in error state" minute="*/15" job="/root/instant-instance-killer.sh"
|
- cron: name="kill VMs in error state" minute="*/15" job="/root/instant-instance-killer.sh"
|
||||||
when: not devel
|
when: not devel
|
||||||
|
|
||||||
- name: install nrpe checks for proxies
|
- name: install nrpe checks
|
||||||
template: src=copr_backend_nrpe.cfg dest=/etc/nrpe.d/copr_backend_nrpe.cfg
|
template: src=copr_backend_nrpe.cfg dest=/etc/nrpe.d/copr_backend_nrpe.cfg
|
||||||
notify:
|
notify:
|
||||||
- restart nrpe
|
- restart nrpe
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#define host {
|
define host {
|
||||||
# host_name copr-be-dev
|
host_name copr-be-dev
|
||||||
# alias copr-be-dev.cloud.fedoraproject.org
|
alias copr-be-dev.cloud.fedoraproject.org
|
||||||
# use defaulttemplate
|
use defaulttemplate
|
||||||
# address copr-be-dev.cloud.fedoraproject.org
|
address copr-be-dev.cloud.fedoraproject.org
|
||||||
#}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#define service {
|
define service {
|
||||||
# host_name copr-be-dev.cloud.fedoraproject.org
|
host_name copr-be-dev.cloud.fedoraproject.org
|
||||||
# service_description Check Copr backend consecutive build failures
|
service_description Check Copr backend consecutive build failures
|
||||||
# check_command check_by_nrpe!check_copr_backend_failed
|
check_command check_by_nrpe!check_copr_backend_failed
|
||||||
# use defaulttemplate
|
use defaulttemplate
|
||||||
#}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue