New NEB Callback Ideas!?

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

New NEB Callback Ideas!?

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
eponymousalias
Posts: 17
Joined: Mon Mar 07, 2016 5:38 am

Re: New NEB Callback Ideas!?

Post by eponymousalias »

Before Nagios 5 comes out, what/where is the best documentation available on the NEB interface?
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: New NEB Callback Ideas!?

Post 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 :)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
Locked