Restrict Access
Simon Kainz
simon.kainz at tugraz.at
Wed Jun 10 15:44:58 CEST 2009
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
> 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
--
DI Simon Kainz
Graz, University of Technology
Department Computing
Phone: ++43 (0) 316 / 873 6885
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090610/221a9f5c/attachment.sig>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- 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