Page 1 of 1

users see only your alerts

Posted: Thu Nov 17, 2011 8:31 am
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 [email protected]
}

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.