J
Jim
I'm starting to re-write an SNMP Trap catcher that I originally did in
Visual Basic a long time ago. In VB, I had an Access database that
had all the SNMP traps that I wanted to take action on: the rest were
simply ignored. I opened the database and did queries everytime a trap
came in. If the database was open for awhile with no queries I then
closed the database until needed again.
I have my perl SNMP catcher working great. Now I'm at the point where
I need to determine if the traps I'm receiving require some kind of
action. Would it be better for me to do it the same way I did it in
VB, and use database queries everytime a trap comes in (what if the
database is a remote connection) or should I maintain the actionable
traps in a large multidimensional array and search the array for each
trap (suggestions on best/fastest way to do this)? The application
currently receives an average of 40 traps per second.
Thanks
Jim
Visual Basic a long time ago. In VB, I had an Access database that
had all the SNMP traps that I wanted to take action on: the rest were
simply ignored. I opened the database and did queries everytime a trap
came in. If the database was open for awhile with no queries I then
closed the database until needed again.
I have my perl SNMP catcher working great. Now I'm at the point where
I need to determine if the traps I'm receiving require some kind of
action. Would it be better for me to do it the same way I did it in
VB, and use database queries everytime a trap comes in (what if the
database is a remote connection) or should I maintain the actionable
traps in a large multidimensional array and search the array for each
trap (suggestions on best/fastest way to do this)? The application
currently receives an average of 40 traps per second.
Thanks
Jim