Re: [Nagios-devel] Nagios Event Broker Duplicated Events

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] Nagios Event Broker Duplicated Events

Post by Guest »

This is a multi-part message in MIME format.

------_=_NextPart_001_01C6D756.30329949
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Ooops,

=20

I think I might have figured this one out....

=20

NEBCALLBACK_HOST_STATUS_DATA (unprocessed) --> Nagios -->
NEBCALLBACK_HOST_STATUS_DATA (processed)

=20

events are generated on each.

=20

Anyone correct me if I'm incorrect in this assumption.

=20

If the above assumption is correct, where can I test to see if I'm
dealing with a "processed" event?

=20

thanks,

Nick

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of
Nicholas Whiting
Sent: Wednesday, September 13, 2006 10:55 AM
To: [email protected]
Subject: Re: [Nagios-devel] Nagios Event Broker Duplicated Events

=20

Thanks for the reply Ton,

=20

This is a possibility but when I extract data from
nebstruct_host/service_status_data I am able to retrieve

service check output/perfdata information. How would this be possible if
I intercepted a check that was

about to be performed(started)?

=20

Is there somewhere I can check to see if I am dealing with a "processed"
service check?

=20

Thanks

nick

=20

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Ton
Voon
Sent: Tuesday, September 12, 2006 6:34 PM
To: Nagios-Devel
Subject: Re: [Nagios-devel] Nagios Event Broker Duplicated Events

=20

There are two broker calls for each event - a start and a stop. Could
you be processing both?

=20

Ton

=20

On 12 Sep 2006, at 17:10, Nicholas Whiting wrote:

=20

Hello,

=20

I have completed the preliminary coding of an event broker that listens
for

NEBCALLBACK_HOST_STATUS_DATA and NEBCALLBACK_SERVICE_STATUS_DATA

events. The module then extracts the details for these events from
corresponding=20

nebstruct_host_status_data and nebstruct_service_status data and
generates XML output

which is then passed to a customized messaging stack.

=20

Anyways, my issue is that these events appear to duplicate. I receive
what looks like 2 duplicate

events for each host and service check data event. The extracted data
are identical in both events.

=20

Can anyone suggest any subtleties in these events that will allow me to
ignore one rather than pass

both up to the messaging stack?

=20

Nick

=20

This message has been scanned for viruses by MailController
.

------------------------------------------------------------------------
-

Using Tomcat but need to do more? Need to support web services,
security?

Get stuff done quickly with pre-integrated technology to make your job
easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo

http://sel.as-us.falkag.net/sel?cmd=3Dl ... 57&dat=3D=
121642
_______________________________________________

Nagios-devel mailing list

[email protected]

https://lists.sourceforge.net/lists/lis ... gios-devel

=20

=20

=20

http://www.altinity.com

T: +44 (0)870 787 9243

F: +44 (0)845 280 1725

Skype: tonvoon






=20


------_=_NextPart_001_01C6D756.30329949
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable








v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}


<!-

...[email truncated]...


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