Page 1 of 2
nagios core login prompt
Posted: Wed Jul 18, 2012 12:58 pm
by benhank
after upgrading to 3.2 we get prompted to login to nagios core at random times. clicking cancel makes the prompt go away, but it's annoying.
Re: nagios core login prompt
Posted: Wed Jul 18, 2012 2:28 pm
by scottwilkerson
can you post your /usr/local/nagios/etc/cgi.cfg
I have a feeling this may be related to adding audio to the cgi.cfg
Re: nagios core login prompt
Posted: Fri Jul 20, 2012 4:04 pm
by Mitchell
We are facing similar problems as well.. it would be intresting to see the resolution for benhank.
Re: nagios core login prompt
Posted: Fri Jul 20, 2012 4:18 pm
by scottwilkerson
Mitchell,
can you post your /usr/local/nagios/etc/cgi.cfg
I have a feeling this may be related to adding audio to the cgi.cfg
Thanks
Re: nagios core login prompt
Posted: Mon Jul 23, 2012 11:22 am
by benhank
sorry! sorry! sorry! for the delayed reply, i went on vacation. here you go:
vi /usr/local/nagios/etc/cgi.cfg
# MODIFIED
default_statusmap_layout=6
# UNMODIFIED
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
escape_html_tags=1
lock_author_names=1
main_config_file=/usr/local/nagios/etc/nagios.cfg
notes_url_target=_blank
physical_html_path=/usr/local/nagios/share
ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
refresh_rate=90
show_context_help=0
url_html_path=/nagios
"/usr/local/nagios/etc/cgi.cfg" [noeol] 26L, 744C
nagios>CFG (just in case you need to see it too:
]# vi /usr/local/nagios/etc/nagios.cfg
# MODIFIED
admin_email=root@localhost
admin_pager=root@localhost
translate_passive_host_checks=1
log_event_handlers=0
use_large_installation_tweaks=1
enable_environment_macros=0
# NDOUtils module
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
broker_module=/usr/lib64/mod_gearman/mod_gearman.o config=/etc/mod_gearman/mod_gearman_neb.conf
# PNP settings - bulk mode with NCPD
process_performance_data=1
# service performance data
service_perfdata_file=/usr/local/nagios/var/service-perfdata
@ @ @ @
"/usr/local/nagios/etc/nagios.cfg" [dos] 167L, 6102C
Re: nagios core login prompt
Posted: Mon Jul 23, 2012 11:42 am
by scottwilkerson
Actually, this is only a portion of the .cfg
Can you either download it, or gran the whole thing from
Config -> Core Config Manager -> Advanced -> Nagios Core CGI Config
Thanks.
Re: nagios core login prompt
Posted: Mon Jul 23, 2012 11:52 am
by benhank
# MODIFIED
default_statusmap_layout=6
# UNMODIFIED
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
escape_html_tags=1
lock_author_names=1
main_config_file=/usr/local/nagios/etc/nagios.cfg
notes_url_target=_blank
physical_html_path=/usr/local/nagios/share
ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
refresh_rate=90
show_context_help=0
url_html_path=/nagios
use_authentication=1
use_pending_states=1
use_ssl_authentication=0
Re: nagios core login prompt
Posted: Mon Jul 23, 2012 12:35 pm
by scottwilkerson
This looks normal. Can you share what pages you are on when getting the login prompt
Re: nagios core login prompt
Posted: Mon Jul 23, 2012 1:22 pm
by benhank
after I login and then click on say tactical overview , I just cancel the prompt, and then I can browse.
Re: nagios core login prompt
Posted: Mon Jul 23, 2012 2:50 pm
by lmiltchev
Could you, please, open a support ticket by sending us an e-mail at
[email protected]. We believe we can resolve the issue faster this way. Thank you!
One more thing before you open a support ticket... Go to: Admin->Performance Settings->Pages tab and clear the "Use Unified Tactical Overview" check_mark box if it is selected.
Do you get a log in prompt now, when you click on "Tactical Overview"?