Multi Tenant
-
deepavaidya
- Posts: 80
- Joined: Sun Oct 06, 2013 8:23 am
Multi Tenant
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.
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Multi Tenant
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
Configure -> Core Config Manager -> Tools -> Bulk Modifications
-
deepavaidya
- Posts: 80
- Joined: Sun Oct 06, 2013 8:23 am
Re: Multi Tenant
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Multi Tenant
You can add to specific services by selecting the "Select Services" button instead of "Select Hosts"
-
deepavaidya
- Posts: 80
- Joined: Sun Oct 06, 2013 8:23 am
Re: Multi Tenant
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.
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Multi Tenant
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
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
-
deepavaidya
- Posts: 80
- Joined: Sun Oct 06, 2013 8:23 am
Re: Multi Tenant
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.
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.
-
deepavaidya
- Posts: 80
- Joined: Sun Oct 06, 2013 8:23 am
Re: Multi Tenant
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)
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)
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Multi Tenant
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.
-
deepavaidya
- Posts: 80
- Joined: Sun Oct 06, 2013 8:23 am
Re: Multi Tenant
Authorization level : User
I have checked only one check box, Has read-only access:
I have checked only one check box, Has read-only access: