Multi-tenancy with nagios core

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Multi-tenancy with nagios core

Postby Issac08 » Thu May 18, 2017 11:15 am

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.
Issac08
 
Posts: 38
Joined: Mon May 08, 2017 2:01 am

Re: Multi-tenancy with nagios core

Postby blackrino9 » Thu May 18, 2017 3:18 pm

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.
blackrino9
 
Posts: 13
Joined: Wed Apr 12, 2017 7:19 pm

Re: Multi-tenancy with nagios core

Postby dwhitfield » Thu May 18, 2017 3:31 pm

@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/
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
dwhitfield
The Doctor
 
Posts: 3956
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC

Re: Multi-tenancy with nagios core

Postby Issac08 » Sat May 20, 2017 9:56 am

Thanks
Issac08
 
Posts: 38
Joined: Mon May 08, 2017 2:01 am

Re: Multi-tenancy with nagios core

Postby dwhitfield » Mon May 22, 2017 9:03 am

It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
dwhitfield
The Doctor
 
Posts: 3956
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC


Return to Nagios Core

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 15 guests