Nagios 30 seconds initial delay

Jonathan Kamens jkamens at Advent.COM
Thu Jan 28 03:26:20 CET 2010


Brandino Andreas wrote:
> Hi all,
> I am using Nagios 3.2.0  (I just upgrade from early 3.0 releases)
> Every time I restart nagios I face a 30 seconds delay before the
> various pages appear for first time (not before starting checks, 30
> seconds before displaying pages!!!)
>   
You want my performance patches, attached.

The first of these, nagios-3.2.0-status-cgi-speed.patch, has been vetted 
extensively by Ton Voon and will be in the next Nagios release (note: 
for those of you who saw this patch when it came over the nagios-devel 
mailing list last month, note that the attached version has some bug 
fixes in it).  The second, nagios-3.2.0-startup-speed.patch, I just 
wrote tonight, so it hasn't had as much burn-in time, but I'm reasonably 
confident that it is correct.

These two patches decrease startup time and CGI response time dramatically.

Enjoy!

  Jonathan Kamens

-- 

Jonathan Kamens
Operations Manager

Advent Tamale RMS <http://www.advent.com/solutions/by-product/tamale-rms>

201 South Street, Suite 300, Boston, MA  02111
Phone: +1 617 261 0264 ext. 133 | Mobile : +1 617 417 8989 | 
Fax: + 1 617 812 0330
jkamens at advent.com <mailto:jkamens at advent.com> | www.advent.com 
<http://www.advent.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100127/b5f0c257/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tamale.jpg
Type: image/jpeg
Size: 6255 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100127/b5f0c257/attachment.jpg>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagios-3.2.0-status-cgi-speed.patch
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100127/b5f0c257/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagios-3.2.0-startup-speed.patch
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100127/b5f0c257/attachment-0001.ksh>
-------------- next part --------------
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
-------------- next part --------------
_______________________________________________
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