Page 1 of 1

Multi-tenancy with nagios core

Posted: Thu May 18, 2017 11:15 am
by Issac08
Whether nagios core supports multi-tenancy ...I have 6 geographical locations with 800 servers and 200 NW devices each ..It is possible to make remote nagios server in each location and only alarms and metrics can be forwarded to central site where team can manage.

Re: Multi-tenancy with nagios core

Posted: Thu May 18, 2017 3:18 pm
by blackrino9
Yes, you should be able to isolate what individual users can see and do by using contact groups. The contact and contact group object can do more than just define who gets notified when an alarm is tripped. They can be used to control access to the objects defined in Nagios as well. The trick is to create the account without defining it in the cgi.cfg file. That tells Nagios to use the contact/contact group to authorize access to objects and actions in the GUI.

If you're using Nagios authentication, add a new user to the htpasswd file but don't add them to the cgi.cfg. Then, create a new user contact of the same username that is in the htpasswd file (enable the can submit commands flag for users who should be able to run macros), add them to contact groups, then apply the contact groups to the resources each should have access to and you should be good to go.

It will take some planning to get everything running the way you want it but once you're done, adding a new organizational user should be as simple as creating their contact and adding them to an existing group.

Re: Multi-tenancy with nagios core

Posted: Thu May 18, 2017 3:31 pm
by dwhitfield
@Issac08, while what @blackrino9 is correct, I'm not sure it answers your question completely. It's great information in general though. Thanks @blackrino9!

You could use SNMP Traps to do what you are talking about, or you could use Fusion: https://www.nagios.com/downloads/nagios-fusion/

Re: Multi-tenancy with nagios core

Posted: Sat May 20, 2017 9:56 am
by Issac08
Thanks

Re: Multi-tenancy with nagios core

Posted: Mon May 22, 2017 9:03 am
by dwhitfield
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!