Page 1 of 2
Not Authorized to view the requested object
Posted: Thu Aug 14, 2014 7:41 pm
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.
Re: Not Authorized to view the requested object
Posted: Fri Aug 15, 2014 9:20 am
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.
Re: Not Authorized to view the requested object
Posted: Fri Aug 15, 2014 10:26 am
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...
Re: Not Authorized to view the requested object
Posted: Fri Aug 15, 2014 3:19 pm
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?
Re: Not Authorized to view the requested object
Posted: Sun Aug 17, 2014 11:15 am
by Envera IT
I'm on 2012, planning on upgrading to 2014 in the next week or so.
Re: Not Authorized to view the requested object
Posted: Mon Aug 18, 2014 9:03 am
by tmcdonald
What version of 2012 specifically? It will say in the lower-left corner of the web interface.
Re: Not Authorized to view the requested object
Posted: Tue Aug 19, 2014 7:59 am
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.
Re: Not Authorized to view the requested object
Posted: Tue Aug 19, 2014 4:50 pm
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.
Re: Not Authorized to view the requested object
Posted: Thu Aug 21, 2014 8:47 am
by Envera IT
Well been looking forward to this upgrade for awhile so I guess I may as well get it done
Will probably do it this weekend or early next week I'll report back. As always thanks for the assistance.
Re: Not Authorized to view the requested object
Posted: Thu Aug 21, 2014 9:42 am
by slansing
Great! Looking forward to hearing how it goes, we're glad to help.