Page 1 of 2
Multi Tenant
Posted: Tue Jan 28, 2014 12:23 am
by deepavaidya
Hi,
I would want a member to view only few hosts that belong to a hostgroup, how do I link that particular contact with that hostgroup ?
Right now what I am doing is creating a contact group and adding that contact to it. Then going to each host from the console(service/ host details) clicking on the hostname and host status detail page appears. Click configure->Re-configure this host->notifications...send alert notification to...select the contact group that has been created check box for specific contact groups. If there are 25 hosts I need to do this for each host. And also each member of that contact group start getting emails.
In this way, when the contact login to nagios he can view only the specific hosts. But it there a better way to do this ? It would be much easier if I can directly link a hostgroup to a contact group.
Re: Multi Tenant
Posted: Tue Jan 28, 2014 8:39 am
by scottwilkerson
We have the Bulk modification tool which can save a ton of time adding contacts/contact groups to hosts
Configure -> Core Config Manager -> Tools -> Bulk Modifications
Re: Multi Tenant
Posted: Wed Jan 29, 2014 1:08 am
by deepavaidya
This bulk modification tool is really useful. If I add a contact and select 2 hosts for it by default all its corresponding services are included. Is it possible for a contact to view only specific servcies of a host. I tried this but it dint work.
Re: Multi Tenant
Posted: Wed Jan 29, 2014 9:23 am
by scottwilkerson
You can add to specific services by selecting the "Select Services" button instead of "Select Hosts"
Re: Multi Tenant
Posted: Tue Feb 11, 2014 5:56 am
by deepavaidya
Hi,
I have created a contact group and linked a user(read-only access) to it. From Bulk modification tool->Add contact group->Select host
I selected a host and did save and apply configuration. Now if I login with that user account, I should see only that one host selected but I don't see anything. But from bulk modification tool if I link a contact to a host it is working. Only contact group is not working.
Re: Multi Tenant
Posted: Tue Feb 11, 2014 5:08 pm
by scottwilkerson
I just tested adding a contact group via bulk modification wizard and it appears to be working as expected, are you sure you:
selected the contact group to add
selected host and then clocked Add Selected -> Close -> Save
Once you do this you should be able to see the contact group added to the host in
CCM -> Hosts -> Select Host -> Alert Settings Tab -> Manage Contactgroups
Re: Multi Tenant
Posted: Wed Feb 12, 2014 12:40 am
by deepavaidya
Yes all this is happening, I am able find the contact group in the CCM->Hosts->Alert setting->Manage contactgroups
But the problem is the contact which I have added to the contact group, is not able to see only the hosts added via bulk modification tool to contact group. Suppose I have added 2 hosts then the contact logged in should be able to see only those 2 hosts which are linked to the contact group. But the contact is not able to see anything (0 Hosts). If I remove the contact from the contact group and add few hosts via bulk modification for contact then its working fine.
Re: Multi Tenant
Posted: Wed Feb 12, 2014 7:13 am
by deepavaidya
Hi,
Did a lot of testing and found that when I add services to the contact group via bulk modification tool it is working (when I login with the contact which belong to the contact group I am able to see only the services added to that contact group) But when I add host to the contact group via bulk modification tool, it is not working (when I login with the contact which belong to the contact group I am not able to see the hosts added)
Re: Multi Tenant
Posted: Wed Feb 12, 2014 11:15 am
by slansing
What boxes did you check, and what drop down did you choose in the user settings found under Admin > Manage Users > User's Name "that is attached to the contact" > Security Settings section.
Re: Multi Tenant
Posted: Thu Feb 13, 2014 12:02 am
by deepavaidya
Authorization level : User
I have checked only one check box, Has read-only access: