From 71fd8a3287a3827e4c144f8188e827b138011b51 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 24 Apr 2023 15:34:02 +0200 Subject: [PATCH] Yet another try --- 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 28d0d0b..a79cfa1 100644 --- a/templates/monitor/sunetdrive_sites.cfg.erb +++ b/templates/monitor/sunetdrive_sites.cfg.erb @@ -190,7 +190,7 @@ define service { <% else -%> <% version_variable = 'nextcloud_version_prod_' << cur_cust -%> <% end -%> - check_command check_nextcloud_version!'<%= facts[version_variable] %>' + check_command check_nextcloud_version!'<%= @facts[#{version_variable}] %>' check_interval 5 check_period 24x7 contact_groups naemon-admins