"Sorry Dave" error
Posted: Tue Feb 18, 2025 11:42 am
I'm moving an existing Nagios installation to a new server, with a new OS etc.
The previous configuration has been working for years, but I can't find where to change the setting to avoid the "Sorry Dave, I can't let you do that... / It seems that you have chosen to not use the authentication functionality of the CGIs." error.
The documentation: https://assets.nagios.com/downloads/nag ... iauth.html# says to set use_authentication=0 and default_user_name=nagiosadmin (for example), but I still get this error.
There is no logging regarding authentication in Apache's error log, in Nagios' log in /var/log/nagios, or in the system journal.
cgi.cfg:
What have I missed, please?
The previous configuration has been working for years, but I can't find where to change the setting to avoid the "Sorry Dave, I can't let you do that... / It seems that you have chosen to not use the authentication functionality of the CGIs." error.
The documentation: https://assets.nagios.com/downloads/nag ... iauth.html# says to set use_authentication=0 and default_user_name=nagiosadmin (for example), but I still get this error.
There is no logging regarding authentication in Apache's error log, in Nagios' log in /var/log/nagios, or in the system journal.
cgi.cfg:
Code: Select all
action_url_target=_blank
authorized_for_all_host_commands=nagiosadmin
authorized_for_all_hosts=nagiosadmin
authorized_for_all_service_commands=nagiosadmin
authorized_for_all_services=nagiosadmin
authorized_for_configuration_information=nagiosadmin
authorized_for_system_commands=nagiosadmin
authorized_for_system_information=nagiosadmin
default_statuswrl_layout=4
default_user_name=nagiosadmin
escape_html_tags=1
lock_author_names=1
main_config_file=/etc/nagios4/nagios.cfg
navbar_search_for_addresses=1
navbar_search_for_aliases=1
notes_url_target=_blank
physical_html_path=/usr/share/nagios4/htdocs
ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
refresh_rate=30
result_limit=100
show_context_help=0
url_html_path=/nagios4
use_authentication=0
use_pending_states=1
use_ssl_authentication=0