Thomas, thanks for your reply, i checked the latency and you were right, i have a 5 minutes latency between service checks. I already looked at the nagios config file and tried different settings without success. I disabled active hosts checks and the latency between service checks reduces.
Thanks for your help. But imagine i would like to keep the host checks (check_host_alive) with a inter check delay of 3 minutes. Is it possible to run such a configuration with 100+ hosts and 1000+ active service checks without having a great latency ? Sébastien On Tue, Apr 29, 2008 at 10:21 AM, Thomas Guyot-Sionnest <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On 29/04/08 03:38 AM, kmizole wrote: > > Hello there, > > > > I''ve installed a monitoring suite with Nagios and Centreon. But i > > have a problem with scheduling. After one night my scheduler displays > > next checks one hour before the actual time. > > > > Is there a way to optimize scheduler to get services checks on time. > > You're probably having check latency. Look at the "Performance Info" > page... Active Service Check Latency should be near 0. If it's not you > have a problem. > > Here's an overview or how scheduling works in Nagios: > http://nagios.sourceforge.net/docs/2_0/checkscheduling.html > > Keep in mind that the following things will cause Nagios to stop > processing commands until the external command returns: > Host checks (performed on non-OK states, this can be solved in Nagios 3) > Event handlers > Performance data processing commands > OCSP Commands > > - - It's not a good idea to avoid host checks so you'll want to make them > return as fast as possible (using a well-tuned 1-ping check_icmp you can > have ir always return within 1 second). > - - Event handlers should fork before doing any work. > - - Instead of using performance data processing commands you can have > nagios write data to a file of fifo. See: > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2520.html;d=1 > http://www.control-alt-del.org/code/NPDaemon/ > - - Instead of using OCSP commands you can use the perfdata file to > forward commands. See: > http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon > > IF you must use the perf/ocsp commands anyways make sure they fork > before doing any work. > > You can also have a look at some other things you can tune: > http://nagios.sourceforge.net/docs/2_0/tuning.html > > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIFtqe6dZ+Kt5BchYRAsTMAKDU4tPvKkSgfXJbXYNe0PA7InH2YwCdGAv/ > 8WnbJfCp4dzeD5vT4G3gl0M= > =2g1n > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list [email protected] 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
