• Support
  • Forums
  • Blogs
A New Community Experience is Coming! For more information, please see our announcement.

SNMP and Plugins

hitmanhitman

Space invader
+19
I need help understanding how a plugin can reference the MIBs from SNMP traps.  So I have all the MIBs in /usr/share/snmp/mibs but how does a plugin go about using this information?  Is this even possible?  Does anyone have a plugin sample that they could share that I could work from?

I have the SNMP traps coming in and going to the proper log file but now how do I go about translating this information into human readable form that can be used in OSSIM?

Writing plugins is not bad but this is my first one using SNMP and it has me stumped.
Tagged:

Share post:

Answers

  • @hitman to which conf file did you add the MIBS? Since I'm also having problem interpreting the snmptraps
  • I did this in one of my plugins. Using regex to break the mac address into chunks and then:

    mac=$CONCAT($mac1,:,$mac2,:,$mac3,:,$mac4,:,$mac5,:,$mac6)
  • @hitman indeed, i am having trouble identifying MIB conf file?
    Which is it you are refering to?

  • Could you provide a walk through on what process you utilized, new to the world of OSSIM?
Sign In or Register to comment.