Page 1 of 1

New NEB Callback Ideas!?

Posted: Mon May 01, 2017 4:50 pm
by bheden
Hey, awesome active community member! Yeah, you!

I'm curious if anyone out there has any ideas for new NEB callbacks or any additional broker module functionality.

Right now, the list looks like this:

Code: Select all

NEBCALLBACK_PROCESS_DATA
NEBCALLBACK_TIMED_EVENT_DATA
NEBCALLBACK_LOG_DATA
NEBCALLBACK_SYSTEM_COMMAND_DATA
NEBCALLBACK_EVENT_HANDLER_DATA
NEBCALLBACK_NOTIFICATION_DATA
NEBCALLBACK_SERVICE_CHECK_DATA
NEBCALLBACK_HOST_CHECK_DATA
NEBCALLBACK_COMMENT_DATA
NEBCALLBACK_DOWNTIME_DATA
NEBCALLBACK_FLAPPING_DATA
NEBCALLBACK_PROGRAM_STATUS_DATA
NEBCALLBACK_HOST_STATUS_DATA
NEBCALLBACK_SERVICE_STATUS_DATA
NEBCALLBACK_ADAPTIVE_PROGRAM_DATA
NEBCALLBACK_ADAPTIVE_HOST_DATA
NEBCALLBACK_ADAPTIVE_SERVICE_DATA
NEBCALLBACK_EXTERNAL_COMMAND_DATA
NEBCALLBACK_AGGREGATED_STATUS_DATA
NEBCALLBACK_RETENTION_DATA
NEBCALLBACK_CONTACT_NOTIFICATION_DATA
NEBCALLBACK_CONTACT_NOTIFICATION_METHOD_DATA
NEBCALLBACK_ACKNOWLEDGEMENT_DATA
NEBCALLBACK_STATE_CHANGE_DATA
NEBCALLBACK_CONTACT_STATUS_DATA
NEBCALLBACK_ADAPTIVE_CONTACT_DATA
My goal is to get a list together to propose changes to Nagios Core 5.
In addition, we'll (finally) be documenting NEB broker modules properly:
  • callbacks documented
  • specific examples
  • possibly advanced tutorials
So again, my question is simple:

Does anyone have any good ideas to extend NEB functionality?

This doesn't need to be constrained simply to new callbacks, any new broker module functionality suggestions are welcome.

Thanks in advance.

Re: New NEB Callback Ideas!?

Posted: Thu Jun 29, 2017 5:19 pm
by eponymousalias
Before Nagios 5 comes out, what/where is the best documentation available on the NEB interface?

Re: New NEB Callback Ideas!?

Posted: Mon Aug 07, 2017 7:25 am
by bheden
I apologize for not having seen this sooner.

The answer isn't a good one: the best documentation I've ever seen is http://nagios.sourceforge.net/download/ ... %20API.pdf.

It's old and not entirely accurate. Otherwise, your best bet is to just look at the existing NEB modules - NDOUtils is likely the best written NEB in existence, but there is also DNX, MK_LiveStatus, ModGearman, and a few others that I'm not remembering at the moment.

If you have any specific questions you can send me a PM or post here or in a new thread :)