Re: [Nagios-devel] Host and Services update fonction called twice

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Host and Services update fonction called twice

Post by Guest »

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 [email protected]
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.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked