<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <DIV>Andy, I ran the debug</DIV>  <DIV>and i noticed that it was always saying that filter was out of date.</DIV>  <DIV> </DIV>  <DIV>Synchronising s3_filter.inc.php with server ... out-of-date ... updating ...  bytes written</DIV>  <DIV> </DIV>  <DIV>I chmod -R 774 the entire client directory, it did not help.</DIV>  <DIV>I than deleted the s3_filter.inc.php in the client sync-files directory </DIV>  <DIV>and it now works. Every time i make a change it updates correctly.</DIV>  <DIV> </DIV>  <DIV>Thanks for all your help.</DIV>  <DIV> </DIV>  <DIV>Best Regards,</DIV>  <DIV>-Eric<BR><BR><B><I>Andy Shellam <andy.shellam-lists@mailnetwork.co.uk></I></B> wrote:</DIV>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Eric,<BR><BR>You can check the sync'ing using the debugging
 feature - it will say <BR>"file xxx out-of-date, sync'ing with server... OK" etc. It's impossible <BR>to test properly through the shell - as there are a couple of views <BR>which are loaded through Ajax - which isn't supported by either a shell <BR>script or the Lynx browser. You also cannot debug it through a shell <BR>script as you need to be able to pass a variable into the request.<BR><BR>As for permissions, you need the following for the user the web-server <BR>runs as (if you use NLG's client and server on the same machine, then <BR>both sets of permissions apply):<BR><BR>on the server-side:<BR><BR>- read access to the whole of the server/ directory<BR>- write access to the server/index directory<BR>- read access to the Nagios var/ directory<BR><BR>on the client-side:<BR><BR>- read access to the whole of the client/ directory<BR>- write access to the root of the client/ directory<BR>- write access to the client/sync-files directory<BR><BR>Andy.<BR><BR>Eric Hernandez
 wrote:<BR>> Andy,<BR>> I will try to use the debugging in the future.<BR>> What I have been doing to make LookingGlass work since I started using <BR>> it Yesterday<BR>> Was to run php index.php from the shell on the server in the client <BR>> directory.'<BR>> And than it works fine after that.<BR>> <BR>> I did this again since changing the password and it works now.<BR>> I believe that my problem has to do with it not syncing from server to <BR>> client.<BR>> What permissions should my client directory have.<BR>> Also if i create another filter in the server side it does not <BR>> replicate to the client so again i think its an issue with syncing.<BR>> <BR>> How can i test syncing ?<BR>><BR>><BR>> */Andy Shellam <ANDY.SHELLAM-LISTS@MAILNETWORK.CO.UK>/* wrote:<BR>><BR>> Hi Eric,<BR>><BR>> That error is the standard "can't find the server", for one of the<BR>> following reasons:<BR>><BR>> - Access
 denied<BR>> - Page not found (404)<BR>> - Internal server error (503)<BR>><BR>> For a guess, you haven't changed the password in the .htaccess<BR>> file (or<BR>> Apache's httpd.conf) that you're using to secure your NLG server.<BR>> Try your old password again.<BR>><BR>> Failing that, enable the debugging option in the<BR>> client/s3_config_stub.inc.php file, (including setting<BR>> display_errors to<BR>> on) then run http://your_nlg_server/s3_client.php?debug=yes. That'll<BR>> tell you the error.<BR>><BR>> Andy.<BR>><BR>> Eric Hernandez wrote:<BR>> > I changed it in the Client-Side, i tried first changing it in the<BR>> > Server Side but it would not work. I guess its not syncing.<BR>> ><BR>> > I change the password for nagiosadmin that i was using for the site.<BR>> > and now it doesnt work. I set the new password in the<BR>> > s3_config.inc.php in server/sync-files<BR>>
 ><BR>> > i get this error when i try to access the site.<BR>> ><BR>> > Nagios Looking Glass Error Report<BR>> > Sorry for the inconvenience, but Nagios Looking Glass could not<BR>> > retrieve the page you asked for.<BR>> > The error message below might hold more clues for the site<BR>> administrator:<BR>> > Could not connect to the polling feed; the polling server may be<BR>> down<BR>> > Generated by Nagios Looking Glass at 15/Jun/2007 10:08:35<BR>> ><BR>> ><BR>> > */Andy Shellam /* wrote:<BR>> ><BR>> > Hi Eric,<BR>> ><BR>> > Have you added it to the server-side, or client-side?<BR>> > It has to be in the server-side or it'll get overwritten the next<BR>> > time<BR>> > you open your client.<BR>> ><BR>> > I've copied and pasted the code into mine - works fine.<BR>> > http://looking-glass.andyshellam.eu<BR>> ><BR>> > Andy.<BR>>
 ><BR>> > Eric Hernandez wrote:<BR>> > > Andy,<BR>> > > I added this to s3_filter.inc.php<BR>> > > but it does not show up in the drop down menu. on the web page.<BR>> > ><BR>> > > $HostFilter[6] = new S3_NetworkFilter();<BR>> > > $HostFilter[6]->Create("test");<BR>> > > $HostFilter[6]->SetType("host");<BR>> > > $HostFilter[6]->AddHost("AA-CG-SW1");<BR>> > ><BR>> > > -eric<BR>> > ><BR>> > > */Andy Shellam /* wrote:<BR>> > ><BR>> > > Hi Eric,<BR>> > ><BR>> > > You don't need to create a separate template to only show specific<BR>> > > hosts<BR>> > > - what you're looking for is a custom filter (which will get<BR>> > added to<BR>> > > the "filter hosts" drop-down, whichever template you're using.)<BR>> > ><BR>> > > First off I take it you're using the latest 1.0.6
 version? If<BR>> > so, see<BR>> > > the "filters.txt" file in the distribution - that's got some<BR>> > > instructions and examples on the different types of filters<BR>> you can<BR>> > > create. You need to create a "host-specific" filter.<BR>> > ><BR>> > > If the instructions in this file do not help, please contact<BR>> me back<BR>> > > with where you're having difficulty.<BR>> > ><BR>> > > Andy.<BR>> > ><BR>> > > Eric Hernandez wrote:<BR>> > > > Hi I have installed Nagios-Looking Glass it works. However I<BR>> > cannot<BR>> > > > figure out how to create a template that will only show selected<BR>> > > hosts.<BR>> > > > Please Advise<BR>> > > ><BR>> > > > Thx,<BR>> > > ><BR>> > > > -Eric<BR>> > > ><BR>> > > ><BR>> > ><BR>> ><BR>>
 ------------------------------------------------------------------------<BR>> > > > Ready for the edge of your seat? Check out tonight's top picks<BR>> > > > on Yahoo! TV.<BR>> > > ><BR>> > > ><BR>> > ><BR>> ><BR>> ------------------------------------------------------------------------<BR>> > > ><BR>> > > ><BR>> > ><BR>> ><BR>> -------------------------------------------------------------------------<BR>> > > > This SF.net email is sponsored by DB2 Express<BR>> > > > Download DB2 Express C - the FREE version of DB2 express and<BR>> take<BR>> > > > control of your XML. No limits. Just data. Click to get it now.<BR>> > > > http://sourceforge.net/powerbar/db2/<BR>> > > ><BR>> > > ><BR>> > > ><BR>> > > ><BR>> > ><BR>> ><BR>>
 ------------------------------------------------------------------------<BR>> > > ><BR>> > > > _______________________________________________<BR>> > > > Nagios-users mailing list<BR>> > > > Nagios-users@lists.sourceforge.net<BR>> > > > https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>> > > > ::: Please include Nagios version, plugin version (-v) and OS<BR>> > > when reporting any issue.<BR>> > > > ::: Messages without supporting info will risk being sent to<BR>> > > /dev/null<BR>> > > ><BR>> > > ><BR>> > > ><BR>> > ><BR>> > ><BR>> > ><BR>> ><BR>> ------------------------------------------------------------------------<BR>> > > Get the Yahoo! toolbar and be alerted to new email<BR>> > > wherever<BR>> > > you're surfing. !DSPAM:37,4672c1c5343941056075452!<BR>>
 ><BR>> ><BR>> ><BR>> ------------------------------------------------------------------------<BR>> > Park yourself in front of a world of choices in alternative<BR>> vehicles.<BR>> > Visit the Yahoo! Auto Green Center.<BR>> ><BR>> > !DSPAM:37,4672c9f1343949989220130!<BR>><BR>><BR>> ------------------------------------------------------------------------<BR>> Never miss an email again!<BR>> Yahoo! Toolbar <BR>> <HTTP: evt="49938/*http://tools.search.yahoo.com/toolbar/features/mail/" us.rd.yahoo.com><BR>> alerts you the instant new Mail arrives. Check it out. <BR>> <HTTP: evt="49937/*http://tools.search.yahoo.com/toolbar/features/mail/" us.rd.yahoo.com><BR>> !DSPAM:37,4672ddf0343947134516691! <BR><BR></BLOCKQUOTE><BR>  <DIV>  <HR SIZE=1>  Yahoo! oneSearch: Finally, <A href="http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC">mobile search that gives answers</A>,
 not web links. </DIV></BLOCKQUOTE><BR><p>
      <hr size=1>Shape Yahoo! in your own image.  
<a href="http://us.rd.yahoo.com/evt=48517/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7">Join our Network Research Panel today!</a>