User is denied access to a service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

User is denied access to a service

Post by uidaho »

Good afternoon.

A group of my users are unable to access properties of a service that I meant for them to (in XI). When they click on the name of the service the get "Not Authorized \ You are not authorized to view the requested object, or the object does not exist." instead of getting to the page where they can do things like disable notifications or view the graphs. As an admin, I have trouble getting to the properties page. They can SEE the service, such as in a search or dashboard.

There are other services configured the same way that they do have access to. Both have the same relationships and contact settings in Core Config.

What can I look at to troubleshoot this?

Thank you!

David
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: User is denied access to a service

Post by uidaho »

Here are the entries in Core for a service that does not work and one that does:

itsbill01p MIS Oracle DBCheck pinnpp 3 0h 3m 0s 0h 1m 0s check_xi_oracle_DB!pinnpp!!!!!!! xi_timeperiod_24x7 Yes No Yes Yes Yes No Auto-determined value DbaPager_CG Yes 0h 10m 0s 0h 0m 0s Unknown, Warning, Critical, Recovery, Flapping, Downtime ui_timeperiod_8x5 Yes None No Program-wide value Program-wide value Ok, Warning, Unknown, Critical Yes Yes Status Information, Non-Status Information



BannerDBS1 MIS Oracle DBCheck seed 3 0h 3m 0s 0h 1m 0s check_xi_oracle_DB!seed!!!!!!! xi_timeperiod_24x7 Yes No Yes Yes Yes No Auto-determined value DbaPager_CG Yes 0h 10m 0s 0h 0m 0s Unknown, Warning, Critical, Recovery, Flapping, Downtime ui_timeperiod_8x5 Yes None No Program-wide value Program-wide value Ok, Warning, Unknown, Critical Yes Yes
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: User is denied access to a service

Post by slansing »

Have you tried assigning their contact's to those objects? What authorization do they have in the cgi.cfg file?

Code: Select all

/usr/local/nagios/etc/cgi.cfg
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: User is denied access to a service

Post by uidaho »

They have "authorized_for_all_host_commands" and "authorized_for_all_service_commands".

I will assign the contact objects directly to test, but I will need to go through a contact group in the end. And this should work, since it is working for some services (such as "MIS Oracle DBCheck seed").
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: User is denied access to a service

Post by uidaho »

Adding the user's contact object directly to the service's alert settings did not fix the problem.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: User is denied access to a service

Post by BanditBBS »

Capture.JPG
You have standard selected right? I had this issue once before when somehow a couple services had NULL selected.
You do not have the required permissions to view the files attached to this post.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: User is denied access to a service

Post by slansing »

Let us know what turns up uidaho.
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: User is denied access to a service

Post by uidaho »

Yes - "standard" is selected under contact groups for services that are working as expected and for those that are not.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: User is denied access to a service

Post by abrist »

What version of XI are you running?
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.
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: User is denied access to a service

Post by uidaho »

2012r2.2

We will be upgrading to 2012r2.5 later this week.

Thank you

David
Locked