copr: nagios check for copr frontend, backend and distgit
Fixes: https://pagure.io/copr/copr/issue/2002
This commit is contained in:
parent
8d9f6e0c4c
commit
87e510f378
4 changed files with 16 additions and 5 deletions
|
@ -31,6 +31,7 @@
|
|||
- php-cli
|
||||
- nfs-utils
|
||||
- golang-github-prometheus-node-exporter
|
||||
- nagios-plugins-http
|
||||
|
||||
#- name: patch for prunerepo, issue 1090
|
||||
# patch: src=patches/prunerepo-dataloss.patch
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
- rdiff-backup
|
||||
- scl-utils-build
|
||||
- tmpwatch
|
||||
- nagios-plugins-http
|
||||
|
||||
- name: install latest dist-git and copr-dist-git
|
||||
dnf:
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
- python3-alembic
|
||||
- mod_auth_gssapi
|
||||
- golang-github-prometheus-node-exporter
|
||||
- nagios-plugins-http
|
||||
tags:
|
||||
- packages
|
||||
|
||||
|
|
|
@ -354,23 +354,31 @@ define service {
|
|||
|
||||
define service {
|
||||
hostgroup_name proxies
|
||||
service_description download.copr.fedorainfracloud.org-https
|
||||
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 noc01.iad2.fedoraproject.org
|
||||
service_description copr-dist-git.fedorainfracloud.org-https
|
||||
host_name copr-dist-git.aws.fedoraproject.org
|
||||
service_description http-copr-be.aws.fedoraproject.org
|
||||
check_command check_https!copr-be.aws.fedoraproject.org
|
||||
max_check_attempts 8
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name copr-fe.aws.fedoraproject.org
|
||||
service_description http-copr-dist-git.fedorainfracloud.org
|
||||
check_command check_website_ssl!copr-dist-git.fedorainfracloud.org!/cgit/!Git repository browser
|
||||
max_check_attempts 8
|
||||
use websitetemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name noc01.iad2.fedoraproject.org
|
||||
service_description copr.fedorainfracloud.org-https
|
||||
host_name copr-be.aws.fedoraproject.org
|
||||
service_description http-copr.fedorainfracloud.org
|
||||
check_command check_website_ssl!copr.fedorainfracloud.org!Copr hosts
|
||||
max_check_attempts 8
|
||||
use websitetemplate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue