Skip to content

Add NEB Event Types - #193

Merged
nook24 merged 3 commits into
naemon:masterfrom
nook24:neb-event-types
Oct 3, 2026
Merged

nook24 merged 3 commits into
naemon:masterfrom
nook24:neb-event-types

Conversation

@nook24

@nook24 nook24 commented Oct 2, 2026

Copy link
Copy Markdown
Member

This adds a list of all NEB Event Types, grouped by Callback

nook24 and others added 3 commits October 2, 2026 20:14
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
@nook24
nook24 merged commit 505a78c into naemon:master Oct 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants