Page 1 of 1

Nagios contacts cannot see hosts after upgrade to 5.7

Posted: Wed Jun 10, 2020 4:25 am
by DennisPR
Hi,

We have certain users/contacts that are only allowed to view the hosts.
They are linked to these hosts through the host template eg:
  • User Dan is linked to the contact group SQL-admins
    Contact group SQL-admins is link to the hosttemplate SQL-servers
    Host SQL01 is linked to hosttemplate SQL-servers
    Dan will see SQL01 in the UI
Users that don't have the option "Can see all hosts and services" checked cannot see any host anymore since the upgrade to 5.7 (on 2 servers)
user.PNG
Is this a bug or has something changed in this version ?

Re: Nagios contacts cannot see hosts after upgrade to 5.7

Posted: Wed Jun 10, 2020 3:03 pm
by benjaminsmith
Hi Dennis,

That is correct, this is a confirmed issue 5.7, and we have patched this and will be shipping out a release very soon. In the meantime, to correct the issue, please copy the attached file to:

Code: Select all

/usr/local/nagiosxi/html/db/queries.inc.php
Let me know if you need any assistance.

Benjamin

Re: Nagios contacts cannot see hosts after upgrade to 5.7

Posted: Thu Jun 11, 2020 8:42 am
by DennisPR
Thank you for the quick fix !
This solved our issue.
Ticket can be closed.

Re: Nagios contacts cannot see hosts after upgrade to 5.7

Posted: Thu Jun 11, 2020 8:47 am
by scottwilkerson
DennisPR wrote:Thank you for the quick fix !
This solved our issue.
Ticket can be closed.
Great!

Locking thread