users see only your alerts

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
msanbrug
Posts: 58
Joined: Fri Nov 04, 2011 7:40 am

users see only your alerts

Post by msanbrug »

Hello,

I am new in Nagios. We use Nagios Core. We have multiple users, but they see all hosts and services. We have now a new user BBDD. This user only have to do your alerts. I created a new contact and contact groups:

define contact{
contact_name BBDD
alias Administracion Base Datos CSP
contactgroups BBDD
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands sin-notificacion
host_notification_commands sin-notificacion
pager NOMAIL@uni2.es
}

define contactgroup{
contactgroup_name BBDD
alias BBDD
members BBDD
}

In cgi.cfg appear this:


authorized_for_all_services=capmau,operacion,alpi,indra
authorized_for_all_hosts=capmau,operacion,alpi,EAS,BBDD,indra


I don't undersrtand, because BBDD see all services, if in this file not included this group. Please,could indicate how to define this user to only see their alerts?

Regards an thanks.
Locked