Re: [Nagios-devel] Optimize status.cgi

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Optimize status.cgi

Post by Guest »

--_000_40FF3EB574329C459B49338F779CE44E0178F2B08Dbosmail2k7adv_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

From: Ton Voon [mailto:[email protected]]
Sent: Wednesday, December 30, 2009 12:39 PM
To: Nagios Developers List
Subject: Re: [Nagios-devel] Optimize status.cgi

Hi Jonathan,

Just to let you know that I'll look into this soon.

Thank you.

I have had reports that lots of downtime causes a CGI slowdown, and it look=
s like you've nailed where it is. Did you use any particular tools to ident=
ify this?

Built status.cgi with -pg (profiling) compiler flag, figured out correct en=
vironment variables to set to run profiling version of status.cgi from the =
shell and produce gmon.out, and ran gprof on profiling version of status.cg=
i and gmon.out to produce execution profile, which made it clear where the =
code needed to be optimized.

Jik


--_000_40FF3EB574329C459B49338F779CE44E0178F2B08Dbosmail2k7adv_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

























From: Ton Voon [mailto:[email protected]]
Sent: Wednesday, December 30, 2009 12:39 PM
To: Nagios Developers List
Subject: Re: [Nagios-devel] Optimize status.cgi





 

Hi Jonathan,



 





Just to let you know that I=
'll look
into thi

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: on Voon [mailto:[email protected]
Locked