1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
7 **SNMPTRAP** (or "trapd", as in trap daemon) is a network facing ONAP platform
10 The simple network management protocol (or "SNMP", for short) is a
11 standardized communication protocol used between managed devices (physical,
12 virtual - or anything in between!) and a management system. It is used to
13 relay data that can be valuable in the operation, fault identification and
14 planning processes of all networks.
16 It is the "front line" of management in all environments.
18 SNMP utilizes a message called a "trap" to inform SNMP managers of abnormal
19 or changed conditions on a resource that is running a SNMP agent. These
20 agents can run on physical or virtual resources (no difference in reporting)
21 and can notify on anything from hardware states, resource utilization,
22 software processes or anything else specific to the agent's environment.
28 **SNMPTRAP** receives simple network management protocol ("SNMP") traps
29 and publishes them to a message router (DMAAP/MR) instance based on
30 attributes obtained from configuration binding service ("CBS").
35 orientation = portrait
36 snmp_agent_1 -> SNMPTRAP;
37 snmp_agent_2 -> SNMPTRAP;
38 snmp_agent_n -> SNMPTRAP;
39 config binding service -> SNMPTRAP;
44 snmp_agent_1; snmp_agent_2; snmp_agent_n;
56 config binding service;
66 Traps are published to DMAAP/MR in a json format. Once traps are published
67 to a DMAAP/MR instance, they are available to consumers that are
68 subscribed to the topic they were published to.
74 **SNMPTRAP** can be run on any device (physical, logical, container) that
75 is capable of running python 3.6+ and has SNMP traps targeted at it. Running
76 an instance of **SNMPTRAP** will result in arriving traps being published
77 to the topic specified by config binding services. If CBS is not present,
78 SNMPTRAP will look for or a JSON configuration file specified via the
79 environment vvariable CBS_SIM_JSON at startup. Note that relative paths
80 will be located from the bin (<SNMPTRAP base directory>/bin directory. E.g.
84 CBS_SIM_JSON=../etc/snmptrapd.json