Hi NAV gurus,
I am in the process of learning how to use the snmptrapd handler for NAV. I hit a few road blocks along the way.
I first test a simple home-made snmptrap (V1), what is the procedure to incorporate it into NAV snmptrapd.
Where do I put the text mib files? /usr/share/snmp/mibs?
Do I need to convert the text mib file into *.py in the directory (using smidump ?) /usr/share/pyshared/nav/smidumps ?
I need to modify /etc/nav/snmptrapd.conf to add our own handler and put it in /usr/share/pyshared/nav/snmptrapd/handlers/
In my trap handler, I need to tell it process the trap with trap.genericType match what we define it. But I still could not get it to work properly.
I would appreciate if someone can point me to the right direction, as I still miss a few pieces here and there.
Thank you.
Zhi-Wei Lu IET-CR-Network Operations Center University of California, Davis (530) 752-0155