Host and Services update fonction called twice

Andreas Ericsson ae at op5.se
Thu May 14 10:35:02 CEST 2009


Julien Mathis wrote:
> Hi,
> 
> After every single host and service check, the update functions of the
> broker is called twice. These functions are update_service_status and
> update_host_status. So the status is also sent twice to ndo2db. This bug
> increases network traffic and DB requests.
> 
> I hope somebody can do something about it,
> 

Are you sure this happens twice *after* the check is completed? It's
supposed to happen twice, but once before and once after the check is
actually executed. This is a very important feature, as modules such
as DNX rely on it to highjack immediately pending checks to distribute
to its poller nodes.

So can you please verify that it happens twice *after* the check is
actually completed? If so, that's a bug and I'll fix it.

> Thanks for your help.
> 

Thanks for the report.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
 http://nordicmeetonnagios.op5.org/

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com




More information about the Developers mailing list