Page 1 of 1

User Permissions

Posted: Fri Jul 06, 2012 11:39 am
by spcmidrange
Morning

Can a user be an admin, but still only see the hosts he/she is a contact for? We have 2 support groups using XI, and the group i am in are the Administrators of Nagios. But if i set myself as an admin, i see ALL hosts. If i set myself as User, i cannot see the Event Log without coming in as nagiosadmin.

So i set myself as admin and went in to the Nagios Core CGI Config File in XI and removed my name from authorized_for_all_services and authorized_for_all_hosts, but that didnt help. Thats how im setup in our existing CORE setup. I have my name in authorized for* except for the 2 i just mentioned. In CORE i can only see my stuff, but have access to the event logs and restarting nagios

How can I be an admin, but only see my hosts im contacts for?

Cheers!
Ryan

Re: User Permissions

Posted: Fri Jul 06, 2012 1:25 pm
by scottwilkerson
There was a small bug in the eventlog report that did not allow anyone that wasn't an admin to view the page.

Attached is a modified version that can be unzipped and placed in /usr/local/nagiosxi/html/reports

This will allow Users to see the Event Log if they have the box checked "Can see/control monitoring engine:"

Re: User Permissions

Posted: Fri Jul 06, 2012 2:41 pm
by spcmidrange
Thanks that fixed it!