From e7f4411e2144a8f0829d4f226af4d78ab663cf91 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Sun, 8 Mar 2026 15:03:06 +0100 Subject: [PATCH] OP#436 fix error 500 --- templates/nagios/cgi_cfg.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/nagios/cgi_cfg.erb b/templates/nagios/cgi_cfg.erb index 63a27e3..e4f2a7c 100644 --- a/templates/nagios/cgi_cfg.erb +++ b/templates/nagios/cgi_cfg.erb @@ -30,4 +30,9 @@ authorized_for_all_hosts=<%= @ng_main_user %>,<%= @ng_hostview_auth %> authorized_for_all_service_commands=<%= @ng_main_user %>,<%= @ng_svc_cmd_auth %> authorized_for_all_host_commands=<%= @ng_main_user %>,<%= @ng_host_cmd_auth %> - +<% unless @ng_readonly_auth.empty? -%> +authorized_for_read_only=<%= @ng_readonly_auth %> +<% end -%> +<% unless @ng_statusmap_img.empty? -%> +statusmap_background_image=<%= @ng_statusmap_img %> +<% end -%>