[Nagios-devel] waste of cpu in status summary
Nagios network monitoring software is enterprise server monitoring
Brought to you by:
egalstad,
sawolf-nagios
From: Sven N. <sv...@co...> - 2010-10-27 14:51:34
|
Dear list, introduced with http://nagios.cvs.sourceforge.net/viewvc/nagios/nagios/cgi/status.c?r1=1.81&r2=1.82 the servicegroup summary calculation has been corrected, but unfortunately a useless loop over all services for every host has been left over. This leads to very long loading page times. The Servicegroup summary for all groups took around 8seconds but the summary for a single group took over 8 minutes. Please have a look at the attached patch (diff is against the 3.2.3 release) which removes the useless loop. The patch is sponsored by TomTom, so if you want to give kudos to someone, then TomTom are the ones you are looking for. Regards, Sven -- Sven Nierlein Sve...@co... ConSol* GmbH http://www.consol.de Franziskanerstrasse 38 Tel.:089/45841-439 81669 Muenchen Fax.:089/45841-115 |