user groups for cgi's

Marc Powell marc at ena.com
Wed Feb 7 18:39:12 CET 2007



> -----Original Message-----
> From: nagios-devel-bounces at lists.sourceforge.net [mailto:nagios-devel-
> bounces at lists.sourceforge.net] On Behalf Of Chuck Pierce
> Sent: Wednesday, February 07, 2007 10:56 AM
> To: Nagios Developers List
> Subject: Re: [Nagios-devel] user groups for cgi's
> 
> Sorry, I should have been a little more specific...  I am talking
about
> limiting to more than just the cgi.  I am talking about limiting
access to
> hosts within the cgi.
> 
> Example:
> if using status.cgi?hostgroup=all you would only get a listing of the
> actual
> hosts that you have access to.

Unless I'm still not understanding, that's exactly what authentication
provides. We use it extensively, providing restricted views for 1175
contacts. Nagios looks at the REMOTE_USER variable set by htaccess to
determine who is logged in. Hosts and services are only shown that they
are contacts for. For hostgroup views, I believe that you must have
permission to see all hosts within a hostgroup to view the hostgroup.

Try it and see. I feel confident it's what you're looking for.

As far as not sending notifications, disable them with the following in
your template or contact definition --

    service_notification_period    none
    host_notification_period       none

--
Marc 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Developers mailing list