Nagios 30 seconds initial delay

Thomas Guyot-Sionnest dermoth at aei.ca
Fri Dec 18 05:03:44 CET 2009


On 15/12/09 05:57 PM, 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!!!)
> 
> When I click a page I get the error "Error: Could not read host and
> service status information!" . After 30 seconds, all pages appear
> again!!
> 
> - I don't have duplicated nagios service running
> - This delay didn't show up to older versions
> - My linux is Debian 5.0.3 (stable)
> - This error appears every time I restart nagios
> 
> Any idea what can cause this delay??

What is your status_update_interval (in nagios.cfg)?

I'm guessing if it's set to 30 seconds then maybe status.dat isn't 
getting created until the first 30 seconds pass, which would explain this.

Unless you have a large number of services you can set this pretty low 
without impacting performance, and a lower value gives better 
responsiveness on the CGI.

-- 
Thomas

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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