ansible/roles/nagios_server/files/nagios/services/copr.cfg
2022-01-20 16:35:33 +01:00

65 lines
2.4 KiB
INI

define service {
hostgroup_name copr_back_aws, copr_back_dev_aws
service_description Disk space on Copr Backend used for build results
check_command check_by_nrpe!check_disk_/var/lib/copr/public_html
use disktemplate
}
define service {
hostgroup_name copr_dist_git_aws, copr_dist_git_dev_aws
service_description Disk space on Copr DistGit used for imported packages
check_command check_by_nrpe!check_disk_/var/lib/dist-git
use disktemplate
}
define service {
hostgroup_name copr_front_aws, copr_front_dev_aws
service_description Disk space on Copr Frontend used for the database
check_command check_by_nrpe!check_disk_/srv/copr-fe
use disktemplate
}
define service {
hostgroup_name copr_keygen_aws, copr_keygen_dev_aws
service_description Disk space on Copr Keygen used for GPG keys
check_command check_by_nrpe!check_disk_/var/lib/copr-keygen
use disktemplate
}
define service {
hostgroup_name copr_back_aws, copr_back_dev_aws
service_description The copr-ping package builds
check_command check_by_nrpe!check_copr_ping
use defaulttemplate
}
define service {
hostgroup_name copr_front_aws, copr_front_dev_aws
service_description The copr cdn status
check_command check_by_nrpe!check_copr_cdn
use defaulttemplate
}
#define service {
# hostgroup_name copr_dist_git_aws
# 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 {
# hostgroup_name copr_front_aws
# 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 {
# hostgroup_name copr_back_aws
# service_description http-copr.fedorainfracloud.org
# check_command check_website_ssl!copr.fedorainfracloud.org!Copr hosts
# max_check_attempts 8
# use websitetemplate
#}