mirror of https://github.com/zulip/zulip.git
puppet: Check health of APT repository.
This commit is contained in:
parent
c01345d20c
commit
6ee74b3433
|
@ -200,3 +200,8 @@ define command{
|
|||
command_name check_proxy_status
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H 'www.google.com' -u 'https://www.google.com/' -j CONNECT -I '$HOSTADDRESS$' -p 4750 --expect=200,302,401 -s Search
|
||||
}
|
||||
|
||||
define command{
|
||||
command_name check_apt_repo_status
|
||||
command_line /usr/lib/nagios/plugins/check_http --sni --ssl -H '$ARG1$' -u 'https://$ARG1$$ARG2$/dists/stable/Release' --expect=200 -s Contents-amd64
|
||||
}
|
||||
|
|
|
@ -488,6 +488,15 @@ define service {
|
|||
hostgroup_name smokescreen
|
||||
contact_groups page_admins
|
||||
}
|
||||
|
||||
define service {
|
||||
use generic-service
|
||||
service_description Check desktop APT repository
|
||||
host_name nagios
|
||||
check_command check_apt_repo_status!download.zulip.com!/desktop/apt
|
||||
contact_groups admins
|
||||
}
|
||||
|
||||
define service {
|
||||
use generic-service
|
||||
service_description Check chat.fhir.org cert
|
||||
|
|
Loading…
Reference in New Issue