diff --git a/facts.d/nc_versions.sh b/facts.d/nc_versions.sh index 38ce14f..2beb9c8 100755 --- a/facts.d/nc_versions.sh +++ b/facts.d/nc_versions.sh @@ -21,7 +21,7 @@ for environment in test prod; do version=$(yq -r ".${key}" "${group}") print_fact "${customer}" "${environment}" "${version}" done - for customer in $(yq -r '.fullnodes[]' "${common}"); do + for customer in $(yq -r '.fullnodes[]' "${common}") gss; do group="${repo}/${customer}-common/overlay/etc/hiera/data/group.yaml" version=$(yq -r ".${key}" "${group}") print_fact "${customer}" "${environment}" "${version}" diff --git a/templates/monitor/sunetdrive_sites.cfg.erb b/templates/monitor/sunetdrive_sites.cfg.erb index 50b20ec..7991da6 100644 --- a/templates/monitor/sunetdrive_sites.cfg.erb +++ b/templates/monitor/sunetdrive_sites.cfg.erb @@ -164,6 +164,7 @@ define service { check_interval 5 check_period 24x7 <% cur_cust = site.gsub(/\.drive.*/,'') %> +<% cur_cust = cur_cust.gsub(/drive.*/,'gss') %> # 'check_nextcloud' command definition <% if @environment == 'prod' and not site.match('test') and @fullnodes.include?(cur_cust) %> contacts slack