Nagios 5.5 hostgroup authentication

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
atsb
Posts: 75
Joined: Mon Feb 12, 2018 5:23 am

Nagios 5.5 hostgroup authentication

Post 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.
Last edited by atsb on Tue Jul 17, 2018 7:26 am, edited 1 time in total.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios 5.5 hostgroup authentication

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
atsb
Posts: 75
Joined: Mon Feb 12, 2018 5:23 am

Re: Nagios 5.5 hostgroup authentication

Post by atsb »

Thank you!

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

EDIT: Issue partially solved!
atsb
Posts: 75
Joined: Mon Feb 12, 2018 5:23 am

Re: Nagios 5.5 hostgroup authentication

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios 5.5 hostgroup authentication

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
atsb
Posts: 75
Joined: Mon Feb 12, 2018 5:23 am

Re: Nagios 5.5 hostgroup authentication

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios 5.5 hostgroup authentication

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked