From db516e3b72ea52e639937fb185945e3df274e0f9 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 24 Apr 2023 16:27:21 +0200 Subject: [PATCH] New name --- templates/monitor/sunetdrive_sites.cfg.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/monitor/sunetdrive_sites.cfg.erb b/templates/monitor/sunetdrive_sites.cfg.erb index c23c4e3..71cae06 100644 --- a/templates/monitor/sunetdrive_sites.cfg.erb +++ b/templates/monitor/sunetdrive_sites.cfg.erb @@ -191,7 +191,7 @@ define service { <% version_variable = 'nextcloud_version_prod_' << cur_cust -%> <% end -%> <% version = scope.lookupvar(version_variable) -%> -<% version_truncated = version_temp.gsub(/-[0-9]+/,'') -%> +<% version_truncated = version.gsub(/-[0-9]+/,'') -%> check_command check_nextcloud_version!'<%= version_truncated %>' check_interval 5 check_period 24x7