From 70b213920b2dd0ddcbca19a4e98ede31c1876e1c Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Sun, 8 Mar 2026 14:39:45 +0100 Subject: [PATCH] OP#436 done cgi.cfg - CMT section to be outsourced into define --- templates/nagios/cgi_cfg.erb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/templates/nagios/cgi_cfg.erb b/templates/nagios/cgi_cfg.erb index dde1083..c29b3a8 100644 --- a/templates/nagios/cgi_cfg.erb +++ b/templates/nagios/cgi_cfg.erb @@ -29,12 +29,13 @@ authorized_for_all_services=<%= @ng_main_user %>,<%= @ng_serviceview_auth %> 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 -%> + +#<% 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 -%> <% if @ng_use_colormap == true -%> color_transparency_index_r=<%= @ng_colormap_red %>