add docker registry nagios check, fix osbs website check

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller 2016-07-15 13:27:52 +00:00
parent 9e62167807
commit 44ba0157e8
2 changed files with 11 additions and 3 deletions

View file

@ -1,7 +1,7 @@
define service { define service {
host_name osbs-master01 host_name osbs-master01
service_description Check OSBS API endpoint paths service_description Check OSBS API endpoint paths
check_command check_website!osbs-master01.phx2.fedoraproject.org!paths check_command check_website!osbs-master01.phx2.fedoraproject.org:8443!paths
max_check_attempts 5 max_check_attempts 5
use defaulttemplate use defaulttemplate
} }

View file

@ -206,14 +206,14 @@ define service {
#} #}
#define service { #define service {
# host_name autoqa01 # host_name autoqa01
# service_description autoqa01-autotest-frontend # service_description autoqa01-autotest-frontend
# check_command check_website!autoqa01.qa.fedoraproject.org!/afe/!Autotest Frontend # check_command check_website!autoqa01.qa.fedoraproject.org!/afe/!Autotest Frontend
# use autoqatemplate # use autoqatemplate
#} #}
#define service { #define service {
# host_name autoqa-stg01 # host_name autoqa-stg01
# service_description autoqa-stg01-autotest-frontend # service_description autoqa-stg01-autotest-frontend
# check_command check_website!autoqa-stg01.qa.fedoraproject.org!/afe/!Autotest Frontend # check_command check_website!autoqa-stg01.qa.fedoraproject.org!/afe/!Autotest Frontend
# use autoqatemplate # use autoqatemplate
@ -311,3 +311,11 @@ define service {
max_check_attempts 8 max_check_attempts 8
use internalwebsitetemplate use internalwebsitetemplate
} }
define service {
host_name docker-registry01
service_description docker-registry
check_command check_website!localhost:5000!/v2/!{}
max_check_attempts 8
use internalwebsitetemplate
}