Thanks Benny,

I forgot about "contact_name".
If I don't specify any user in the cgi.cfg, Nagios only allows access if the 
user is in "contact" group or "contacts".

Thank You !

Nobuo

>>Is it possible to give a user access to only one hostgroup?
>>
>> Someone told me that  " if authentication is enabled is to only show hosts
>> and services to people who are contacts on those hosts and services".
>> Would  somebody please  give me an example of this setting?
>>
>> When I check the cgi.cfg file, I cannot figure out how this can be done.
>>
>> Thanks in Advance.

>Nobuo,

  > If you enable authentication in cgi.cfg (use_authentication=1),
>Nagios will automatically limit access to hosts and services that
>the user is a contact for.

  > So, first you enable authentication as above.

   >Then, you either create a new contact group for this user, or
>add them to an existing one.  Once they are in a contact group,
>you add that contact group to the host or service (the contact_groups
>parameter).

  > Nagios will take care of all the rest for you.

>Benny


Nobuo Matsushita
The Children's Hospital
720-777-8000

</pre>---------------------------------------------------------------------------------------------------------------------<br>
CONFIDENTIALITY NOTICE: This e-mail is confidential, may be legally privileged, 
<br>
and for the intended recipient only. Access, disclosure, copying, forwarding 
and <br>
distribution by any means is strictly prohibited. If received in error, <br>
do not read but delete and e-mail confirmation to the sender. <br> 
==========================================================<br><pre>
------------------------------------------------------------------------------

_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to