CGI parsing status.log speed issues

Fred Albrecht Fred.Albrecht at za.tiscali.com
Thu Jul 31 12:38:40 CEST 2003


--------------------------------------
   Please visit www.tiscali.co.za
--------------------------------------Hi Jason

> 
> Hello,
> I've run into a small problem with the Nagios CGI's -- They 
> take forever 
> to parse. The status log is only (or maybe this is large...) 
> 1MB in size.
> 
> I'm running the status log off a ramdisk and can't think of 
> anything to 
> do other than push more memory/cpu at the problem or run cron jobs to 
> dump common pages (such as the status overview and summary) to a raw 
> html file. Does anyone had any experience with tweaking the CGI's for 
> faster processing? If so, what did you remove or change?
> 

Well you could go the php way.  I used http://naupy.sf.net.  Only problem there is that you can't see services per contact, i.e. restricted users will see everything.  I had to hack at the code top get the restrictions to work properly.

:)
fred


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/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





More information about the Users mailing list