SNMP trap processing at Mid Server through a script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2023 07:04 PM
Hello,
We are attempting to use a MID server to process SNMP traps to the Event Management modules' em_event table, however it does not yet fully support automatic varbinds mapping to event fields. So, we had the idea to create a script that would analyze the SNMP traps and map them to the proper fields. We are unsure of where to put these scripts. Any help or suggestions on how to use a script to parse the traps into events (pre-event processing) would be greatly appreciated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2023 08:02 PM
May i have more details ur requirement for -- not yet fully support automatic varbinds mapping to event fields
Please?
See if this post gives you any input for ur issue -
writing any BR or script on em_event table is not a good practice.
Regards
RP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2023 06:48 PM
Thank you, Rahul for your swift reply.
We have been attempting to use the event field mapping method, we are aware that SNMP trap Var binds cannot be directly mapped with event fields. However, we soon learned that it is not the best solution because the majority of our event sources are sophisticated and SNMP-based and will make too many field mapping and event rules for alert transformation. Thus, the idea to write a script to handle the mapping to event fields. If we use these scripts, where should they be kept and how should they be executed? We're seeking for any other alternatives to business rules that might be used to execute these scripts for pre-event processing.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2023 07:56 PM
Just a thought-did u explored data coming to ecc queue table . There must be entries for all these traps in ecc queue.
Regards
RP