Files
confdroid_nagios/templates/nagios/cgi_cfg.erb

39 lines
1.5 KiB
Plaintext
Raw Normal View History

2026-02-14 15:41:26 +01:00
###############################################################################
########## parameterized cgi.cfg created by Puppet ##########
########## manual changes will be overwritten !!! ##########
###############################################################################
2026-03-07 15:39:36 +01:00
main_config_file=<%= @ng_nagios_cfg_file %>
2026-02-14 15:41:26 +01:00
physical_html_path=<%= @ng_share_html %>
url_html_path=/nagios
show_context_help=<%= @ng_context_help %>
2026-03-07 15:39:36 +01:00
use_pending_states=<%= @ng_pending_states %>
2026-02-14 15:41:26 +01:00
use_authentication=<%= @ng_use_auth %>
use_ssl_authentication=<%= @ng_use_ssl_auth %>
2026-03-08 15:00:21 +01:00
<% if @ng_enable_def_user == true -%>
default_user_name=<%= @ng_def_user_name %>
<% else -%>
#default_user_name=guest
<% end -%>
authorized_for_system_information=<%= @ng_main_user %>,<%= @ng_sysinfo_auth %>
authorized_for_configuration_information=<%= @ng_main_user %>,<%= @ng_confinfo_auth %>
authorized_for_system_commands=<%= @ng_main_user %>,<%= @ng_command_auth %>
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 %>
2026-03-07 15:39:36 +01:00
2026-03-08 15:05:56 +01:00
<% unless @ng_readonly_auth.undef? -%>
2026-03-08 15:03:06 +01:00
authorized_for_read_only=<%= @ng_readonly_auth %>
<% end -%>
2026-03-08 15:05:56 +01:00
<% unless @ng_statusmap_img.undef? -%>
2026-03-08 15:03:06 +01:00
statusmap_background_image=<%= @ng_statusmap_img %>
<% end -%>