Page 1 of 1

Blocking view access to all hosts and limit to specfic hosts

Posted: Wed Mar 26, 2014 5:47 am
by fm2ahmed
Hi,

I have setup a nagios user who as has got access to 22 hosts and that's fine it works and Nagios shows it up as well.

[img]
Nagios_hosts.jpg
[/img]


But when I go into hostgroups summary, it shows all hosts (48). Why??? I want it to show me same 22 instead of 48.

[img]
Nagios_hostsgroups.jpg
[/img]

Can you please help ASAP??

Regards,
Farooq Ahmed

Re: Blocking view access to all hosts and limit to specfic h

Posted: Wed Mar 26, 2014 9:18 am
by tmcdonald
What sort of access rights did you give this user? It doesn't seem odd at all that s/he could see how many hosts are in a hostgroup, but depending on the rights may or may not be able to view them specifically.

Re: Blocking view access to all hosts and limit to specfic h

Posted: Wed Mar 26, 2014 9:28 am
by fm2ahmed
Hi,

When you say access right, what do u want me to check? and where?? in cgi.cfg??

Regards,
Farooq Ahmed

Re: Blocking view access to all hosts and limit to specfic h

Posted: Wed Mar 26, 2014 1:09 pm
by abrist
This actually a bug that has been around quite a while. The user can see all members of a hostgroup from the hostgroup summary page, even if they only have rights to a select few. The user should still be restricted from drilling down into the details of objects they are not authorized for.

Re: Blocking view access to all hosts and limit to specfic h

Posted: Mon Mar 31, 2014 11:45 am
by fm2ahmed
Hi,

Ok thanks for clarification.

Regards,
Farooq Ahmed

Re: Blocking view access to all hosts and limit to specfic h

Posted: Mon Mar 31, 2014 11:54 am
by slansing
Before we close this up I wanted to let you know that this is recorded for the developers to take a look at.