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

snmptrapd is unable to load any handler modules #35

Closed
jmbredal opened this issue Jan 17, 2017 · 1 comment
Closed

snmptrapd is unable to load any handler modules #35

jmbredal opened this issue Jan 17, 2017 · 1 comment
Milestone

Comments

@jmbredal
Copy link
Collaborator

jmbredal commented Jan 17, 2017

The SNMP trap daemon cannot load any of its handler plugins from the
nav.snmptrapd.handlers package, because the nav/snmptrapd directory is
missing its init.py . Thus Python doesn't recognize nav.snmptrapd as a
proper package.

The problem isn't easy to reproduce, because snmptrapd only imports the
plugins as traps are received and not at the start of the process.

Reported by Ingeborg Hellemo of the University of Tromsø.

[http://sourceforge.net/tracker/index.php?func=detail&aid=1822650&group_id=107608&atid=648170]


Imported from Launchpad using lp2gh.

@jmbredal
Copy link
Collaborator Author

(by john-m-bredal)
Originator: NO

Fixed in revision 4263.

Added init.py in nav/snmptrapd and updated Makefile.in to preperly
place it during install.

@jmbredal jmbredal added this to the v3.3 milestone Jan 17, 2017
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