Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Notification #2

Open
RamiLivne opened this issue Dec 29, 2022 · 0 comments
Open

Add Notification #2

RamiLivne opened this issue Dec 29, 2022 · 0 comments

Comments

@RamiLivne
Copy link

Hi.
I need an SNMP agent for an embedded system, and your project looks good.
I made an Eclipse project with your osnmpd code, so maybe I did something wrong, but I encountered a problem: In the code add_notification_type() are being called by load_plugin(), which run before main(), so pointer custom_trap is not allocated yet (main() calls init_notification_builder() which allocate custom_trap). Therefor, calls of add_notification_type() fail. How should I add a new module with notifications? I don't want to call it implicitly.
Thanks for your code and for your help.

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

No branches or pull requests

1 participant