Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
HOSTS_GROUP_A --> CONTACT_GROUP_A
host1
host2
host3
host4
HOSTS_GROUP_C --> CONTACT_GROUP_A
host5
host6
HOSTS_GROUP_B --> CONTACT_GROUP_B
host1
host2
The users in CONTACT_GROUP_B, could view ALL the hosts in HOSTS_GROUP_A, because the host1 and host2 are in both. I want that the CONTACT_GROUP_B only view HOSTS_GROUP_B.
@ iam33 , You need to make sure that none of the hosts: host1, host2,host3,host4 have the HOSTS_GROUP_A under "contact_groups". Let me know it works for you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
and now the users in contact group CONTACT_GROUP_B only can view their hosts (HOSTS_GROUP_B) and they can view HOSTS_GROUP_A with only hosts host1 and host2.
So I want that they only can view HOSTS_GROUP_B not HOSTS_GROUP_A although these hosts are in HOSTS_GROUP_B and HOSTS_GROUP_A.
Basically what I need is to put contact_group in the host_group not in the host, so that a person can only see the host_group that corresponds not the rest. I think this time it was in implementation in old versions.
In the following image attached you can see what a user can see now from the hosts_groups, and he should not be able to see the hosts_group "Servidores Gerencia Seguridad Social (SERVIDORES-GSS)", but since the host" apliexpwl1.jcyl.es "is in both groups, you can see these groups.
@iam33, I see what you mean. Unfortunately, you can't assign a contact group to a host group. I suggest creating a separate host group for that host check.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
npolovenko wrote:@iam33, I see what you mean. Unfortunately, you can't assign a contact group to a host group. I suggest creating a separate host group for that host check.
you could, however, assign a contact group and host group to a template, and assign that same template to a host.
@iam33, I don't think this is on a roadmap... When you grand a user acess to a host he will automatically be able to see all the hostgroups that the host belongs to. You could submit a feature request here if you'd like: https://github.com/NagiosEnterprises/na ... issues/new
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.