Page 1 of 1

Nagios 5.5 hostgroup authentication

Posted: Thu Jul 05, 2018 1:50 am
by atsb
Hello!

About nagios XI environment
1) Linux Distribution and version? Centos7
2) 32 or 64bit? 64bit
3) VMware Image or Manual Install of XI? Manual install
4) Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? SSL

About the problem:
After upgrading to version 5.5 Nagios is asking to authenticate when i navigate to Hostgroup Summary (I already am authenticated). User is also admin so there should be no problems with permissions. When i Click 2 times to Cancel the page gets loaded.
nagios-x.problem.png
/var/log/httpd/ssl_error_log

Code: Select all

[Thu Jul 05 09:30:20.682122 2018] [:error] [pid 160839] [client x.x.x.x:51785] PHP Warning:  pg_set_client_encoding() expects parameter 1 to be resource, boolean given in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres7.inc.php on line 255, referer: https://nagios.x.x/nagiosxi/
Please let me know if there is anywhere else i can look for logs that can help.

Re: Nagios 5.5 hostgroup authentication

Posted: Thu Jul 05, 2018 10:05 am
by scottwilkerson
I believe you may have found a bug where some javascript is not being pulled out that should be because you are using the unified hostgoups from
Admin -> Performance Settings

If you uncheck the "Use Unified Hostgroup Screens " on that page and Save does the issue go away?

Re: Nagios 5.5 hostgroup authentication

Posted: Fri Jul 06, 2018 1:22 am
by atsb
Thank you!

Thats correct, when i unchecked these boxes everything started to work correctly.

EDIT: Issue partially solved!

Re: Nagios 5.5 hostgroup authentication

Posted: Fri Jul 06, 2018 8:13 am
by atsb
It indeed does not ask authorization when i view hostgroup Summary but when i navigate to Hostgroup Summary -> Selecting random Host Group(View Hostgroup Commands) -> View Status Grid for this Hostgroup
nagios-x-2.png
It still prompts authorization window
nagios-x-3.png
I disabled all "Unified" options
nagios-x-4.png

Re: Nagios 5.5 hostgroup authentication

Posted: Fri Jul 06, 2018 9:09 am
by scottwilkerson
If you click cancel twice it should work.

This would be the same bug that produces the first problem, I have reported it.

Re: Nagios 5.5 hostgroup authentication

Posted: Mon Jul 09, 2018 12:55 am
by atsb
We are using it in "Views" that automatically changes to different kind of reports/views/statuses and in that case it is a problem. But if there is nothing to do about this then i guess we will wait for new version where this probably will be fixed.

Re: Nagios 5.5 hostgroup authentication

Posted: Mon Jul 09, 2018 9:41 am
by scottwilkerson
atsb wrote:We are using it in "Views" that automatically changes to different kind of reports/views/statuses and in that case it is a problem. But if there is nothing to do about this then i guess we will wait for new version where this probably will be fixed.
It will be fixed in 5.5.1 when it is release. Sorry for the inconvenience.