Page 1 of 1
User access only to some services
Posted: Fri Nov 04, 2016 4:24 am
by jose_a_guardia
Hello.
I know authorized_for_all_services option, but I want to grant read-only access to a user but only to some services or hosts.
Is this possible?
Thanks!
Re: User access only to some services
Posted: Fri Nov 04, 2016 4:45 am
by jose_a_guardia
Solved:
add user to contacts.cfg and to htpasswd.users with the same name
Add "contacts userName" to the host definition
Add the username to cgi.cfg authorized_for_read_only option
Restart nagios
That's all!
Re: User access only to some services
Posted: Fri Nov 04, 2016 10:05 am
by tmcdonald
Sorry we didn't catch this, offices weren't yet open.
Glad you resolved it though. I'll be closing this thread now, but feel free to open another if you need anything in the future!