Re: [Nagios-devel] Host and Services update fonction called twice
Posted: Thu May 14, 2009 8:45 am
--0016e6d32a1b3b1a1b0469dbd831
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
We have developped a debuging brocker and we have this two consecutive
events in debug :
213:
1=3D1202
2=3D0
3=3D0
4=3D1242204696.221542
53=3DHost-1
114=3Dping
95=3DOK
99=3D
27=3D0
51=3D1
115=3D1
25=3D1
76=3D3
61=3D1242204691
83=3D1242204751
12=3D0
63=3D1241016905
57=3D1241016905
56=3D0
66=3D1242204691
70=3D0
67=3D0
64=3D0
121=3D1
62=3D0
84=3D0
85=3D0
88=3D0
101=3D0
7=3D0
26=3D0
97=3D0
38=3D1
9=3D1
47=3D1
54=3D0
98=3D0.00000
71=3D0.10100
42=3D0.04398
113=3D0
45=3D1
103=3D1
93=3D1
80=3D0
37=3D
11=3Dcheck_dummy!0!OK
86=3D1.000000
109=3D1.000000
209=3D24x7
999
213:
1=3D1202
2=3D0
3=3D0
4=3D1242204696.221595
53=3DHost-1
114=3Dping
95=3DOK
99=3D
27=3D0
51=3D1
115=3D1
25=3D1
76=3D3
61=3D1242204691
83=3D1242204751
12=3D0
63=3D1241016905
57=3D1241016905
56=3D0
66=3D1242204691
70=3D0
67=3D0
64=3D0
121=3D1
62=3D0
84=3D0
85=3D0
88=3D0
101=3D0
7=3D0
26=3D0
97=3D0
38=3D1
9=3D1
47=3D1
54=3D0
98=3D0.00000
71=3D0.10100
42=3D0.04398
113=3D0
45=3D1
103=3D1
93=3D1
80=3D0
37=3D
11=3Dcheck_dummy!0!OK
86=3D1.000000
109=3D1.000000
209=3D24x7
999
=3D> last check, execution time, latency and next check are the same on eac=
h
update. If they are one call before and one call after, this data must be
differents.
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 ?
For the host I think it's ok :
211:
1=3D1200
2=3D0
3=3D0
4=3D1242204702.316882
106=3D1242047294
102=3D27013
28=3D1
55=3D1242204702
60=3D1242165601
88=3D1
9=3D1
97=3D1
8=3D1
96=3D1
39=3D1
47=3D0
45=3D1
103=3D1
92=3D0
94=3D0
78=3D0
80=3D0
49=3D
50=3D
999
211:
1=3D1200
2=3D0
3=3D0
4=3D1242204703.317434
106=3D1242047294
102=3D27013
28=3D1
55=3D1242204703
60=3D1242165601
88=3D1
9=3D1
97=3D1
8=3D1
96=3D1
39=3D1
47=3D0
45=3D1
103=3D1
92=3D0
94=3D0
78=3D0
80=3D0
49=3D
50=3D
999
Regards,
--
Julien MATHIS | CTO Merethis
[email protected]
T=E9l : +33(0)1.78.12.00.23
Mobile : +33(0)6.85.43.88.38
MERETHIS est =E9diteur du logiciel Centreon.
On Thu, May 14, 2009 at 10:35 AM, Andreas Ericsson wrote:
> 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 bu=
g
> > 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.
>
>
> -------------------------------------------------------------------------=
-----
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks t=
o
> 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
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> htt
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
We have developped a debuging brocker and we have this two consecutive
events in debug :
213:
1=3D1202
2=3D0
3=3D0
4=3D1242204696.221542
53=3DHost-1
114=3Dping
95=3DOK
99=3D
27=3D0
51=3D1
115=3D1
25=3D1
76=3D3
61=3D1242204691
83=3D1242204751
12=3D0
63=3D1241016905
57=3D1241016905
56=3D0
66=3D1242204691
70=3D0
67=3D0
64=3D0
121=3D1
62=3D0
84=3D0
85=3D0
88=3D0
101=3D0
7=3D0
26=3D0
97=3D0
38=3D1
9=3D1
47=3D1
54=3D0
98=3D0.00000
71=3D0.10100
42=3D0.04398
113=3D0
45=3D1
103=3D1
93=3D1
80=3D0
37=3D
11=3Dcheck_dummy!0!OK
86=3D1.000000
109=3D1.000000
209=3D24x7
999
213:
1=3D1202
2=3D0
3=3D0
4=3D1242204696.221595
53=3DHost-1
114=3Dping
95=3DOK
99=3D
27=3D0
51=3D1
115=3D1
25=3D1
76=3D3
61=3D1242204691
83=3D1242204751
12=3D0
63=3D1241016905
57=3D1241016905
56=3D0
66=3D1242204691
70=3D0
67=3D0
64=3D0
121=3D1
62=3D0
84=3D0
85=3D0
88=3D0
101=3D0
7=3D0
26=3D0
97=3D0
38=3D1
9=3D1
47=3D1
54=3D0
98=3D0.00000
71=3D0.10100
42=3D0.04398
113=3D0
45=3D1
103=3D1
93=3D1
80=3D0
37=3D
11=3Dcheck_dummy!0!OK
86=3D1.000000
109=3D1.000000
209=3D24x7
999
=3D> last check, execution time, latency and next check are the same on eac=
h
update. If they are one call before and one call after, this data must be
differents.
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 ?
For the host I think it's ok :
211:
1=3D1200
2=3D0
3=3D0
4=3D1242204702.316882
106=3D1242047294
102=3D27013
28=3D1
55=3D1242204702
60=3D1242165601
88=3D1
9=3D1
97=3D1
8=3D1
96=3D1
39=3D1
47=3D0
45=3D1
103=3D1
92=3D0
94=3D0
78=3D0
80=3D0
49=3D
50=3D
999
211:
1=3D1200
2=3D0
3=3D0
4=3D1242204703.317434
106=3D1242047294
102=3D27013
28=3D1
55=3D1242204703
60=3D1242165601
88=3D1
9=3D1
97=3D1
8=3D1
96=3D1
39=3D1
47=3D0
45=3D1
103=3D1
92=3D0
94=3D0
78=3D0
80=3D0
49=3D
50=3D
999
Regards,
--
Julien MATHIS | CTO Merethis
[email protected]
T=E9l : +33(0)1.78.12.00.23
Mobile : +33(0)6.85.43.88.38
MERETHIS est =E9diteur du logiciel Centreon.
On Thu, May 14, 2009 at 10:35 AM, Andreas Ericsson wrote:
> 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 bu=
g
> > 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.
>
>
> -------------------------------------------------------------------------=
-----
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks t=
o
> 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
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> htt
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]