Skip to content

Add Notification #2

@ramilivne

Description

@ramilivne

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions