Hi Nicolas,<br><br>I'd e-mailed you not so long back (couple of weeks) through my personal address about this.<br>I've explained what's required, and I'm happy to implement a solution for you before v2 of NLG is developed.<br>
<br>If anyone else can and wants to do this, the solution is:<br><br>1. Setup HTTP authentication in Apache<br>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.<br>
<br>(e.g. user1 can only see host1, user2 can see any host)<br>if ($_SERVER['PHP_AUTH_USER'] == "user1")<br>{<br>// Add host filter to include "host1" only<br>} else if ($_SERVER['PHP_AUTH_USER'] == "user2") {<br>
// Add default status filters<br>}<br><br>This a quick-win solution for 1.0 / 1.1.<br><br>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.<br>
<br>Thanks,<br><br>Andy<br><br><div><span class="gmail_quote">On 1/25/08, <b class="gmail_sendername">nico thx</b> <<a href="mailto:nicoxweb@yahoo.fr">nicoxweb@yahoo.fr</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi Marc,</div>  <div> </div>  <div>  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 !!</div>  <div> </div>  <div>
  I try to find a solution, the NLG team develop a new version , but I need these features now !</div>  <div> </div>  <div>  I saw that many persons have the same problem, but no one said if they found a solution !</div>  <div>
 </div>  <div>  Thanks for your help</div>  <div> </div>  <div>  Nicolas</div>  <div> </div>  <div>  <br></div>  <blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;"><br><br><br>
------------------------------<br><br>Message: 8<br>Date: Fri, 25 Jan 2008 08:43:33 -0600<br>From: Marc Powell <br>Subject: Re: [Nagios-users] Nagios Looking Glass<br>To: Nagios List <br>Message-ID:
 <<a href="mailto:303B3A75-D699-48F2-A0E3-73853FD9569B@ena.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">303B3A75-D699-48F2-A0E3-73853FD9569B@ena.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes<br>
<br><br>On Jan 25, 2008, at 7:44 AM, nico thx wrote:<br><br>> Hi guys, hi Nagios addict !<br>><br>> Well, here?s my problem:<br>><br>> I discovered Nagios Looking Glass soon, and I'm trying to get same <br>
> contact management as I have on my nagios server:<br>><br>> contact 1 ==> can only see his devices<br>> contact 2 ==> can only see his devices<br>> ....<br>> Actually, each users can see all the devices.. not very secured.<br>
><br>> I saw on the mailing-list archive that many persons tried to put <br>> this feauture in their servers, but no one send what he found ...<br>><br>This is standard nagios behavior if you Configure Authorization for <br>
the CGI's. Users can only see devices that they are contacts for.<br><span class="sg"><br>--<br>Marc<br></span><span class="ad"><br><br><br><br></span></blockquote><span class="ad"><p> 
      

      </p><hr size="1"> 
Ne gardez plus qu'une seule adresse mail ! <a href="http://fr.rd.yahoo.com/mail/mail_taglines/trueswitch/*http://www.trueswitch.com/yahoo-fr/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Copiez vos mails</a> vers Yahoo! Mail <p>
</p></span><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Microsoft<br>Defy all challenges. Microsoft(R) Visual Studio 2008.<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>