Page 2 of 2

Re: Restricting user for accessing details of remote hosts

Posted: Fri Apr 04, 2014 11:05 am
by slansing
I am not quite sure what you are asking here, we have shown you how to configure this via assigning a user's contact to an object, or objects. At this time, that is really the only way to do this. Please show the output of what abrist asked so that we can verify if your user will have rights to see only what their contact is assigned to.

Re: Restricting user for accessing details of remote hosts

Posted: Thu Apr 10, 2014 7:21 am
by john.akash
[root@nagios ~]# grep "authorized_for" /usr/local/nagios/etc/cgi.cfg
authorized_for_system_information=*
authorized_for_configuration_information=*
authorized_for_system_commands=*
authorized_for_all_services=*
authorized_for_all_hosts=*
authorized_for_all_service_commands=*
authorized_for_all_host_commands=*
#authorized_for_read_only=user1,user2

This the out put.

Re: Restricting user for accessing details of remote hosts

Posted: Thu Apr 10, 2014 10:57 am
by slansing
You will want to place their username/contact under:

Code: Select all

authorized_for_read_only=
And make sure that it is assigned to the objects you want them to view. Also, make sure that that line is uncommented, as it appears it is in your post.