Eduardo Barreto wrote:
> Are there a way to restrict the view of some hosts? The reason is that
> nagios is checking all the hosts from the company, but I would like to
> restrict the view of all and let the hosts be viewed by departament
> which they belongs to, do you know what I mean? At the moment only have
> one user (nagiosadmin), should I create another user and set it? If it's
> possible, how can I do it?
> 

Hi !
Please take a look at
http://nagios.sourceforge.net/docs/2_0/cgiauth.html     or
http://nagios.sourceforge.net/docs/3_0/cgiauth.html#additional_rights

depending on your Nagios version.

The basic idea is that you create authenticated contacts. This means you
create a contact for a host or service in nagios (which i suppose you've
already done)  and then create a .htpasswd entry for the same user ( =
with the exact same username !). Then you granz additional rights for
you authorized contact as describe in the link(s) above.

HTH, Simon

> 
> Thanks in advance
> 
> Eduardo Barreto
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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


-- 
DI Simon Kainz
Graz, University of Technology
Department Computing
Phone: ++43 (0) 316 / 873 6885

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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