Hi Team ,
Nope , Not only itadmin user is our problem .
We have few more user wwmon,monitor, etc. all are having this kind issue . This users are not even in any contactgroups ,Still they are getting only hostmon user like servers, that is main problem now.
Our requirement is, User should have only limited servers access and this user should get only concern servers email notification.
We have only four hostgroups in our nagios server. each have only one contact, that are as below:
Hostmon - hostmon , ITMON -IT-MON , itadmin - itadmin , monitor - wwmon
https://support.nagios.com/forum/downlo ... w&id=25894
Also new users have the same amount of hosts as same as hostmon user hosts. we recently created the user wwmon and monitor , we didn't even configure the hosts in the hostgroup level or hosts level .
Still this two user are having the same amount of hosts, please find the attachment .
https://support.nagios.com/forum/downlo ... w&id=25895
https://support.nagios.com/forum/downlo ... w&id=25896
Is there any possibility to have skype / webex call with nagios support team ? if its possible we can easily explain and fix the issue quickly
Regards
CentricIT
Unable to set Multi-Tenancy-Within-Nagios
Re: Unable to set Multi-Tenancy-Within-Nagios
You do not have the required permissions to view the files attached to this post.
Re: Unable to set Multi-Tenancy-Within-Nagios
If the profile that you posted, I can see the contactgroup called HostMon and it has the following members in it.
How that is getting set is in the Contact Template called xi_contact_generic, the contact group called HostMon is added to it. See below.
When you create a new user, they get the xi_contact_generic template set to them and the contact is set to the contact group from the template through inheritance.
To fix this, edit the contact template called xi_contact_generic and remove the contact group from it.
Then, you will have to re-edit all of the contacts to make sure they are set in the correct contact groups or hosts so they can see the hosts that you want them to.
Code: Select all
hostmon,tdoan,shanthan,satish,praveenkumar,prabhu,plandry,pduraiswamy,nagiosadmin,monitor,kamal,jcervantes,itadmin,IT-MON,haziz,dharaniCode: Select all
define contact {
name xi_contact_generic
contactgroups HostMon
host_notification_period xi_timeperiod_24x7
service_notification_period xi_timeperiod_24x7
host_notification_options d,u,r,f,s,
service_notification_options w,u,c,r,f,s,
host_notification_commands xi_host_notification_handler
service_notification_commands xi_service_notification_handler
register 0
}To fix this, edit the contact template called xi_contact_generic and remove the contact group from it.
Then, you will have to re-edit all of the contacts to make sure they are set in the correct contact groups or hosts so they can see the hosts that you want them to.
Be sure to check out our Knowledgebase for helpful articles and solutions!