New NEB Callback Ideas!?

This forum is intended for the discussion of Nagios Core development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagios-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

New NEB Callback Ideas!?

Postby bheden » Mon May 01, 2017 4:50 pm

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.
Nagios Enterprises
Product Development Manager
User avatar
bheden
Product Development Manager
 
Posts: 145
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: New NEB Callback Ideas!?

Postby eponymousalias » Thu Jun 29, 2017 5:19 pm

Before Nagios 5 comes out, what/where is the best documentation available on the NEB interface?
eponymousalias
 
Posts: 8
Joined: Mon Mar 07, 2016 5:38 am

Re: New NEB Callback Ideas!?

Postby bheden » Mon Aug 07, 2017 7:25 am

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/contrib/documentation/misc/NEB%202x%20Module%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 :)
Nagios Enterprises
Product Development Manager
User avatar
bheden
Product Development Manager
 
Posts: 145
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises


Return to Nagios Core Development

Who is online

Users browsing this forum: No registered users and 5 guests