This commit is contained in:
Micke Nordin 2023-04-24 16:13:11 +02:00
parent 37e419cf75
commit 709d2165ac
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -163,7 +163,7 @@ define service {
check_command check_nextcloud
check_interval 5
check_period 24x7
<% cur_cust = regsubst("#{site}", '\.drive.*','') %>
<% cur_cust = site.gsub(/\.drive.*/,'') %>
# 'check_nextcloud' command definition
<% if @environment == 'prod' and not site.match('test') and @fullnodes.include?(cur_cust) %>
contacts slack