Hi, <br><br>We have developped a debuging brocker and we have this two consecutive events in debug : <br><br>213:<br>1=1202<br>2=0<br>3=0<br>4=1242204696.221542<br>53=Host-1<br>114=ping<br>95=OK<br>99=<br>27=0<br>51=1<br>115=1<br>
25=1<br>76=3<br>61=1242204691<br>83=1242204751<br>12=0<br>63=1241016905<br>57=1241016905<br>56=0<br>66=1242204691<br>70=0<br>67=0<br>64=0<br>121=1<br>62=0<br>84=0<br>85=0<br>88=0<br>101=0<br>7=0<br>26=0<br>97=0<br>38=1<br>
9=1<br>47=1<br>54=0<br>98=0.00000<br>71=0.10100<br>42=0.04398<br>113=0<br>45=1<br>103=1<br>93=1<br>80=0<br>37=<br>11=check_dummy!0!OK<br>86=1.000000<br>109=1.000000<br>209=24x7<br>999<br><br><br>213:<br>1=1202<br>2=0<br>3=0<br>
4=1242204696.221595<br>53=Host-1<br>114=ping<br>95=OK<br>99=<br>27=0<br>51=1<br>115=1<br>25=1<br>76=3<br>61=1242204691<br>83=1242204751<br>12=0<br>63=1241016905<br>57=1241016905<br>56=0<br>66=1242204691<br>70=0<br>67=0<br>
64=0<br>121=1<br>62=0<br>84=0<br>85=0<br>88=0<br>101=0<br>7=0<br>26=0<br>97=0<br>38=1<br>9=1<br>47=1<br>54=0<br>98=0.00000<br>71=0.10100<br>42=0.04398<br>113=0<br>45=1<br>103=1<br>93=1<br>80=0<br>37=<br>11=check_dummy!0!OK<br>
86=1.000000<br>109=1.000000<br>209=24x7<br>999<br><br>=> last check, execution time, latency and next check are the same on each update. If they are one call before and one call after, this data must be differents. <br>
<br>I'm ok that DNX need this event. But the event (NEBCALLBACK_SERVICE_CHECK_DATA I think) need to be different. Why not creating NEBCALLBACK_SERVICE_START_CHECK event ? <br><br>For the host I think it's ok :<br>
<br>211:<br>1=1200<br>2=0<br>3=0<br>4=1242204702.316882<br>106=1242047294<br>102=27013<br>28=1<br>55=1242204702<br>60=1242165601<br>88=1<br>9=1<br>97=1<br>8=1<br>96=1<br>39=1<br>47=0<br>45=1<br>103=1<br>92=0<br>94=0<br>78=0<br>
80=0<br>49=<br>50=<br>999<br><br><br>211:<br>1=1200<br>2=0<br>3=0<br>4=1242204703.317434<br>106=1242047294<br>102=27013<br>28=1<br>55=1242204703<br>60=1242165601<br>88=1<br>9=1<br>97=1<br>8=1<br>96=1<br>39=1<br>47=0<br>45=1<br>
103=1<br>92=0<br>94=0<br>78=0<br>80=0<br>49=<br>50=<br>999<br><br>Regards,<br><br clear="all">--<br>Julien  MATHIS | CTO Merethis<br><br><a href="mailto:jmathis@merethis.com">jmathis@merethis.com</a><br>Tél : +33(0)1.78.12.00.23<br>
Mobile  : +33(0)6.85.43.88.38<br><br>MERETHIS est éditeur du logiciel Centreon.<br>
<br><br><div class="gmail_quote">On Thu, May 14, 2009 at 10:35 AM, Andreas Ericsson <span dir="ltr"><<a href="mailto:ae@op5.se">ae@op5.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Julien Mathis wrote:<br>
> Hi,<br>
><br>
> After every single host and service check, the update functions of the<br>
> broker is called twice. These functions are update_service_status and<br>
> update_host_status. So the status is also sent twice to ndo2db. This bug<br>
> increases network traffic and DB requests.<br>
><br>
> I hope somebody can do something about it,<br>
><br>
<br>
</div>Are you sure this happens twice *after* the check is completed? It's<br>
supposed to happen twice, but once before and once after the check is<br>
actually executed. This is a very important feature, as modules such<br>
as DNX rely on it to highjack immediately pending checks to distribute<br>
to its poller nodes.<br>
<br>
So can you please verify that it happens twice *after* the check is<br>
actually completed? If so, that's a bug and I'll fix it.<br>
<br>
> Thanks for your help.<br>
><br>
<br>
Thanks for the report.<br>
<br>
--<br>
Andreas Ericsson                   <a href="mailto:andreas.ericsson@op5.se">andreas.ericsson@op5.se</a><br>
OP5 AB                             <a href="http://www.op5.se" target="_blank">www.op5.se</a><br>
Tel: +46 8-230225                  Fax: +46 8-230231<br>
<br>
Register now for Nordic Meet on Nagios, June 3-4 in Stockholm<br>
 <a href="http://nordicmeetonnagios.op5.org/" target="_blank">http://nordicmeetonnagios.op5.org/</a><br>
<br>
Considering the successes of the wars on alcohol, poverty, drugs and<br>
terror, I think we should give some serious thought to declaring war<br>
on peace.<br>
<br>
------------------------------------------------------------------------------<br>
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your<br>
production scanning environment may not be a perfect world - but thanks to<br>
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700<br>
Series Scanner you'll get full speed at 300 dpi even with all image<br>
processing features enabled. <a href="http://p.sf.net/sfu/kodak-com" target="_blank">http://p.sf.net/sfu/kodak-com</a><br>
_______________________________________________<br>
Nagios-devel mailing list<br>
<a href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a><br>
</blockquote></div><br>