Subject: Nagios Looking Glass

Andy Shellam andy.shellam-lists at mailnetwork.co.uk
Sun Jan 27 11:10:40 CET 2008


Hi Nicolas,

I'd e-mailed you not so long back (couple of weeks) through my personal
address about this.
I've explained what's required, and I'm happy to implement a solution for
you before v2 of NLG is developed.

If anyone else can and wants to do this, the solution is:

1. Setup HTTP authentication in Apache
2. Modify the code behind server/sync-files/s3_filter.inc.php to check the
value of $_SERVER['PHP_AUTH_USER'] and add different host filters depending
on the user who's logged in.

(e.g. user1 can only see host1, user2 can see any host)
if ($_SERVER['PHP_AUTH_USER'] == "user1")
{
// Add host filter to include "host1" only
} else if ($_SERVER['PHP_AUTH_USER'] == "user2") {
// Add default status filters
}

This a quick-win solution for 1.0 / 1.1.

Nic, please contact me on my personal address (remove -lists from this
e-mail address) and I'll discuss further if you still want me to implement
this for you.

Thanks,

Andy

On 1/25/08, nico thx <nicoxweb at yahoo.fr> wrote:
>
> Hi Marc,
>
>   That's the problem !! CGI authorizations don't work with Nagios Looking
> Glass !! It's the major problem of this (very good) soft for Nagios !!
>
>   I try to find a solution, the NLG team develop a new version , but I
> need these features now !
>
>   I saw that many persons have the same problem, but no one said if they
> found a solution !
>
>   Thanks for your help
>
>   Nicolas
>
>
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Fri, 25 Jan 2008 08:43:33 -0600
> From: Marc Powell
> Subject: Re: [Nagios-users] Nagios Looking Glass
> To: Nagios List
> Message-ID: <303B3A75-D699-48F2-A0E3-73853FD9569B at ena.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
>
>
> On Jan 25, 2008, at 7:44 AM, nico thx wrote:
>
> > Hi guys, hi Nagios addict !
> >
> > Well, here?s my problem:
> >
> > I discovered Nagios Looking Glass soon, and I'm trying to get same
> > contact management as I have on my nagios server:
> >
> > contact 1 ==> can only see his devices
> > contact 2 ==> can only see his devices
> > ....
> > Actually, each users can see all the devices.. not very secured.
> >
> > I saw on the mailing-list archive that many persons tried to put
> > this feauture in their servers, but no one send what he found ...
> >
> This is standard nagios behavior if you Configure Authorization for
> the CGI's. Users can only see devices that they are contacts for.
>
> --
> Marc
>
>
>
>
> ------------------------------
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails<http://fr.rd.yahoo.com/mail/mail_taglines/trueswitch/*http://www.trueswitch.com/yahoo-fr/>vers Yahoo! Mail
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080127/6ba20054/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- 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