Only 1 hostgroup access?

Matsushita, Nobuo Matsushita.Nobuo at tchden.org
Fri May 21 19:16:24 CEST 2010


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100521/5f429029/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------

-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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


More information about the Users mailing list