User Tools
development:snmp:trap_handling
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| development:snmp:trap_handling [2018/11/01 12:36] – created cokeeffe | development:snmp:trap_handling [2021/06/25 10:09] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | =====Trap Handling to Ticket Creation End to End===== | ||
| + | //Author: Cathal O' | ||
| + | |||
| + | This is a quick overview of the lifecycle of a trap as it goes through the SNMP Manager and becomes a ticket, with references to important classes and methods along the way. | ||
| + | |||
| + | |||
| + | ====SNMP Manager Distributor Instance==== | ||
| + | |||
| + | On an SNMP Manager instance assigned as a distributor (see: '' | ||
| + | |||
| + | It then checks the '' | ||
| + | |||
| + | If neither of those are needed it forwards the trap onto an appropriate handler instance. The first time a particular trap type comes in from a given host it will be sent to the currently least busy handler, and from then on if the same type of trap comes in from the same host it will be sent to the same handler until the '' | ||
| + | |||
| + | It is sent via '' | ||
| + | |||
| + | ====SNMP Manager Handler Instance==== | ||
| + | |||
| + | ===Queuing & Saving=== | ||
| + | |||
| + | On the handler the '' | ||
| + | |||
| + | ===Processing=== | ||
| + | |||
| + | Each '' | ||
| + | |||
| + | Trap rules are defined and runtime and can do just about anything, but there is a [[onboarding: | ||
| + | |||
| + | ===Alarm and Ticket Scheduling=== | ||
| + | |||
| + | Generally the trap rules take the given '' | ||
| + | |||
| + | If it finds an open alarm and the trap is a clear trap then the alarm is cleared and saved. If no alarm exists yet it builds a map of appropriate ticket and form values before calling '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | |||
| + | ===Ticketing=== | ||
| + | |||
| + | '' | ||