Multi-tenant

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
igae1
Posts: 57
Joined: Thu May 25, 2017 6:35 am

Multi-tenant

Post by igae1 »

I intend to create a user who only can access a subset of hosts and their associated services.
According to the multi-tenant documentation, all I have to do is adding this user's contact to each one of the hosts I want as the subset.
Questions:
- Is there some way to accomplish this using hostgroups ( although hostgroups do not have (afaik) a contact field )?
- I dont want this user to receive alerts or mails; should I create a dummy contact template, that does nothing?
- Is there any better/quicker/smarter way to do this?
thanks in advance.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Multi-tenant

Post by avandemore »

- Is there some way to accomplish this using hostgroups ( although hostgroups do not have (afaik) a contact field )?
No, in fact the documentation explicitly says that. However you could do something like creating a host template with the correct hostgroup and contact.
I dont want this user to receive alerts or mails; should I create a dummy contact template, that does nothing?
I don't entirely understand this question but I'd guess you would simply want to configure your contact with host_notifications_enabled and service_notifications_enabled set to 0.

https://assets.nagios.com/downloads/nag ... ml#contact
Previous Nagios employee
igae1
Posts: 57
Joined: Thu May 25, 2017 6:35 am

Re: Multi-tenant

Post by igae1 »

I had a try, and it works well.
Thanks!
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Multi-tenant

Post by avandemore »

Thanks for using the Nagios forums. Please open a new thread for any further issues.
Previous Nagios employee
Locked