diff --git a/modules/monitoring/templates/ssl.conf.erb b/modules/monitoring/templates/ssl.conf.erb index 3e0c1725b7..45feef04e9 100755 --- a/modules/monitoring/templates/ssl.conf.erb +++ b/modules/monitoring/templates/ssl.conf.erb @@ -1,3 +1,33 @@ +apply Service "wc.miraheze.org" { + import "generic-service" + check_command = "check_ssl_expire" + notes_url = "https://meta.miraheze.org/wiki/Tech:Icinga/MediaWiki_Monitoring#SSL_Validity_Checks" + vars.host = "miraheze.org" + vars.time = "30" + + assign where "sslchecks" in host.groups +} + +apply Service "wc.orain.org" { + import "generic-service" + check_command = "check_ssl_expire" + notes_url = "https://meta.miraheze.org/wiki/Tech:Icinga/MediaWiki_Monitoring#SSL_Validity_Checks" + vars.host = "orain.org" + vars.time = "30" + + assign where "sslchecks" in host.groups +} + +apply Service "wc.wiki.surf" { + import "generic-service" + check_command = "check_ssl_expire" + notes_url = "https://meta.miraheze.org/wiki/Tech:Icinga/MediaWiki_Monitoring#SSL_Validity_Checks" + vars.host = "wiki.surf" + vars.time = "30" + + assign where "sslchecks" in host.groups +} + apply Service "wc.wikitide.net" { import "generic-service" check_command = "check_ssl_expire" @@ -8,6 +38,16 @@ apply Service "wc.wikitide.net" { assign where "sslchecks" in host.groups } +apply Service "wc.wikitide.org" { + import "generic-service" + check_command = "check_ssl_expire" + notes_url = "https://meta.miraheze.org/wiki/Tech:Icinga/MediaWiki_Monitoring#SSL_Validity_Checks" + vars.host = "wikitide.org" + vars.time = "30" + + assign where "sslchecks" in host.groups +} + apply Service "m.miraheze.org - LetsEncrypt" { import "generic-service" check_command = "check_ssl_expire"