Files
confdroid_nagios/templates/nagios/cgi_cfg.erb
2026-03-08 15:00:21 +01:00

34 lines
1.3 KiB
Plaintext

###############################################################################
########## parameterized cgi.cfg created by Puppet ##########
########## manual changes will be overwritten !!! ##########
###############################################################################
main_config_file=<%= @ng_nagios_cfg_file %>
physical_html_path=<%= @ng_share_html %>
url_html_path=/nagios
show_context_help=<%= @ng_context_help %>
use_pending_states=<%= @ng_pending_states %>
use_authentication=<%= @ng_use_auth %>
use_ssl_authentication=<%= @ng_use_ssl_auth %>
<% 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 %>