Restricting user to monitor single host

Kareem Mahgoub kareem at wayout.net
Wed Mar 9 23:54:28 CET 2005


Dear Marc,
----- Original Message ----- 
From: "Marc Powell" <marc at ena.com>
To: "Kareem Mahgoub" <kareem at wayout.net>
Cc: <nagios-users at lists.sourceforge.net>
Sent: Tuesday, March 08, 2005 8:46 PM
Subject: RE: [Nagios-users] Restricting user to monitor single host


>
>
> > -----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
>
>


It works like a charm. I owe you one :)
Andres Christensen, follow the link and you will have what u are looking
for.
Thanks guys for the good work.
Best Regards,
Kareem Mahgoub



-------------------------------------------------------
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_id=6595&alloc_id=14396&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