Not Authorized to view the requested object

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Envera IT
Posts: 159
Joined: Wed Jun 19, 2013 10:21 am

Not Authorized to view the requested object

Post by Envera IT »

Not Authorized

You are not authorized to view the requested object, or the object does not exist.
Setup Multi-Tenancy on my Nagios XI server and some of my users are getting this error when accessing certain hosts. I've looked over my configurations and realized that they can access other hosts that are configured identically. Checked file permissions and they came back ok. Did some research on these forums but the threads I've read haven't led me to a solution yet :(

Any help would be much appreciated.
I like graphs...
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Not Authorized to view the requested object

Post by slansing »

Are you absolutely sure that those user contact's are assigned to the hosts in question? Read-Only users must have their contact's assigned to a host to view that host and it's associated services.
Envera IT
Posts: 159
Joined: Wed Jun 19, 2013 10:21 am

Re: Not Authorized to view the requested object

Post by Envera IT »

Yes.

Host Template specifies a contact group for the host which users are contacts of. The Host Template is assigned to about 150 hosts, they can access most of these but not all. I've added the contact group directly to one of the host configs; still cant access. I've added a specific contact directly to the host config; still can't access. They can access the service associated with the host, but they can't access the host itself. If I give a user "Can see all hosts and services" permission they can access the host just fine. If I copy the host the user can access the duplicated host...
I like graphs...
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Not Authorized to view the requested object

Post by abrist »

There were some case issues with previous XI versions. What version are you currently on? If you are on 2014, did you update from 2012?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Envera IT
Posts: 159
Joined: Wed Jun 19, 2013 10:21 am

Re: Not Authorized to view the requested object

Post by Envera IT »

I'm on 2012, planning on upgrading to 2014 in the next week or so.
I like graphs...
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Not Authorized to view the requested object

Post by tmcdonald »

What version of 2012 specifically? It will say in the lower-left corner of the web interface.
Former Nagios employee
Envera IT
Posts: 159
Joined: Wed Jun 19, 2013 10:21 am

Re: Not Authorized to view the requested object

Post by Envera IT »

Nagios XI 2012R2.7

I've had to roll all the users back to being able to view all hosts at this point. Worried that even in upgrading the problem will follow with the upgrade.
I like graphs...
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Not Authorized to view the requested object

Post by slansing »

Actually, in 2012 r2.8 there were a number of bug fixes pertaining to exactly this, I suggest you create a snapshot/backup and try updating to see if that resolves this problem.
Envera IT
Posts: 159
Joined: Wed Jun 19, 2013 10:21 am

Re: Not Authorized to view the requested object

Post by Envera IT »

Well been looking forward to this upgrade for awhile so I guess I may as well get it done :D

Will probably do it this weekend or early next week I'll report back. As always thanks for the assistance.
I like graphs...
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Not Authorized to view the requested object

Post by slansing »

Great! Looking forward to hearing how it goes, we're glad to help.
Locked