Repository navigation
Add NEB Event Types - #193
Merged
Merged
Conversation
List every NEBTYPE_* constant with its callback and when Naemon sends it, and explain the split between NEBTYPE_*STATUS_UPDATE and the new NEBTYPE_*STATUS_SCHEDULE (naemon-core#162). Signed-off-by: nook24 <info@nook24.eu> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WY8mbGLNkt5eQfc57cTnZ5
Mark the old C broker as EoL but keep it as straightforward reference as everything happen in a single C file. Signed-off-by: nook24 <info@nook24.eu>
Add a short "Writing a module" section: the exact API version match, module arguments, registering callbacks and their priority, what NEBERROR_CALLBACKOVERRIDE and NEBERROR_CALLBACKCANCEL do, that event_broker_options decides which events are sent, and that callbacks run in the single threaded event loop. The event list now names the return codes each upcoming action accepts. The vault macro example no longer sets event_broker_options: that is a global, and overriding it re-enables every event for every module behind the administrator's back. Modules are built as .so, not .o. Signed-off-by: nook24 <info@nook24.eu> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WY8mbGLNkt5eQfc57cTnZ5
sni
approved these changes
Oct 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a list of all NEB Event Types, grouped by Callback