From f95675f6ee1c7a61dc043ffb51ee5d719fb2f002 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 24 Apr 2023 15:27:51 +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 5d075d5..28d0d0b 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