Re: [Nagios-devel] patch: speed up 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] patch: speed up status.cgi

Post by Guest »

--k9EanI4qvbxMqdC7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Sep 22, 2004 at 10:37:14PM -0400, Matthew Kent wrote:
> some unnecessary sorting when reading service status entries back for
> output. From what I can tell, the output of status.dat is already sorted
> alphabetically by hostname and service so I can't see the need to
This does not appear to be the case in 1.x, but removing that
for loop drastically increases the speed of the CGI's.
Implementing some sort of fast sort on the finished servicestatus_list
should take care of it.

-Jason Martin
--=20
Teamwork is essential. It gives them another target.
This message is PGP/MIME signed.

--k9EanI4qvbxMqdC7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: --no-verbose

iD8DBQFBUv6Pl2ODWuqVSBMRAul4AJ4leFxIjEDBaOz/gUWugF8dLfrzPwCfZWBt
raO+9f59NWgUrBJNWvx5V1M=
=4Asw
-----END PGP SIGNATURE-----

--k9EanI4qvbxMqdC7--





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