Nagios Event Broker Duplicated Events
Nicholas Whiting
nicholas.whiting at guest-tek.com
Wed Sep 13 19:00:56 CEST 2006
Ooops,
I think I might have figured this one out....
NEBCALLBACK_HOST_STATUS_DATA (unprocessed) --> Nagios -->
NEBCALLBACK_HOST_STATUS_DATA (processed)
events are generated on each.
Anyone correct me if I'm incorrect in this assumption.
If the above assumption is correct, where can I test to see if I'm
dealing with a "processed" event?
thanks,
Nick
________________________________
From: nagios-devel-bounces at lists.sourceforge.net
[mailto:nagios-devel-bounces at lists.sourceforge.net] On Behalf Of
Nicholas Whiting
Sent: Wednesday, September 13, 2006 10:55 AM
To: nagios-devel at lists.sourceforge.net
Subject: Re: [Nagios-devel] Nagios Event Broker Duplicated Events
Thanks for the reply Ton,
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)?
Is there somewhere I can check to see if I am dealing with a "processed"
service check?
Thanks
nick
________________________________
From: nagios-devel-bounces at lists.sourceforge.net
[mailto:nagios-devel-bounces at lists.sourceforge.net] 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
There are two broker calls for each event - a start and a stop. Could
you be processing both?
Ton
On 12 Sep 2006, at 17:10, Nicholas Whiting wrote:
Hello,
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
nebstruct_host_status_data and nebstruct_service_status data and
generates XML output
which is then passed to a customized messaging stack.
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.
Can anyone suggest any subtleties in these events that will allow me to
ignore one rather than pass
both up to the messaging stack?
Nick
This message has been scanned for viruses by MailController
<http://www.MailController.altohiway.com/> .
------------------------------------------------------------------------
-
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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20060913/1bc51642/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
More information about the Developers
mailing list