Restricting user to monitor single host

Marc Powell marc at ena.com
Tue Mar 8 19:46:06 CET 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Kareem Mahgoub
> Sent: Tuesday, March 08, 2005 12:08 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Restricting user to monitor single host
> 
> Hello list,
> Is there anyway to restrict user to monitor a specific host with its
> related
> services on the web interface of nagios?
> Any help will be very much appreciated

With CGI authorization enabled users can only see hosts and services
that they are authorized contacts for.

http://nagios.sourceforge.net/docs/1_0/cgiauth.html

I can't seem to find where this little nugget is actually stated in the
documentation or the FAQ any longer. The quick synopsis is --

Enable CGI authorization as above. Create a contact for this person. If
they don't need notifications, set the service_notification_options and
host_notification_options to 'n'. Add them to the contact_group for the
host (and possibly as a contact for each service). Create an .htpasswd
user account using the same username as defined in the contact
definition.

That should be it. When they log in to the web interface using their
username and password they should only see those hosts and services that
they are listed as a contact for.

--
Marc 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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