Nms testEvent: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=== Event Replay === Notes on the replay of an event that was generated. Better support in UI to follow mapping paths. Right now replay is specific to snmptrap. This is going to be the most common use case, however right now the TFE is doing direct DB inserts. This needs to be API calls only so we have ONE path for mapping validation, etc. ==== flow ==== snmptrap >> snmptrap receiver >> PHP controller >> mapping search by raw OID >> translate >> PreTransform >> inse...") |
m (→flow) |
||
Line 5: | Line 5: | ||
==== flow ==== | ==== flow ==== | ||
snmptrap >> snmptrap receiver >> PHP controller >> mapping search by raw OID >> translate >> PreTransform >> insert >> PostTransform | snmptrap >> snmptrap receiver >> PHP controller >> mapping search by raw OID >> translate >> PreTransform >> insert >> PostTransform >> update | ||
Inside PHP controller todo: | Inside PHP controller todo: |
Revision as of 09:49, 8 June 2023
Event Replay
Notes on the replay of an event that was generated.
Better support in UI to follow mapping paths. Right now replay is specific to snmptrap. This is going to be the most common use case, however right now the TFE is doing direct DB inserts. This needs to be API calls only so we have ONE path for mapping validation, etc.
flow
snmptrap >> snmptrap receiver >> PHP controller >> mapping search by raw OID >> translate >> PreTransform >> insert >> PostTransform >> update
Inside PHP controller todo:
- trap received
- apiCall for hostExist
- apiCall for Mapping
- run Pre translation
- apiCall create event
- run Post translation
- apiCall update event
- complete
the snmptrap.php is going to have to be rewritten to do this work via API calls. Nothing except the API should be talking to the database.