Dashboard Customization for every user

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
lipstiqueen
Posts: 1
Joined: Mon Feb 20, 2012 9:54 pm

Dashboard Customization for every user

Post by lipstiqueen »

Hi

Is there any way I can customized my Nagios Core dashboard for specific user.

Like for example.

DBA'S users should only see their DB Servers upon login on the dashboard.


Thanks!
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Dashboard Customization for every user

Post by jsmurphy »

This is a major challenge that i faced with my initial implementation of Nagios and I've only really been able to solve it in a complete fashion with Nagios XI... it can still be done with Nagios core but it's much, much harder to manage. If you configure a nagios login user and don't give it access to "view all hosts/services" in the cgi.cfg and then create that exact some username as a monitoring contact and assign it to a host then it will be only able to see those to which it is assigned.

The problem with this, particularly if you are dealing with teams is that you usually want the email to go to a distribution group or a team mailbox instead of each individual user. After that it begins to get quite technical, you need to create a contact for all your users they are assigned a template that makes sure they don't receive any notifications, all those users are then assigned a group, this group is then assigned to the "real" contact group (the one with the actual email to group user). That way anything that contact group gets assigned to the users of that mailbox will be able to see it. Of course then you need to worry about well what if I want only one group to get an alert but I want more than one group to see it, the solution to this will vary depending on your setup.

So yes, there is a way to do it... but it may not be easy depending on the size of your environment.
Locked