summaryrefslogtreecommitdiffstats
path: root/etc/snmptrapd.json
blob: cfaebe3c03c5b3cdd80580122d3003bdc19b62e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
{
    "snmptrapd": {
        "version": "2.0",
        "title": "ONAP SNMP Trap Receiver"
    },
    "protocols": {
        "transport": "udp",
        "ipv4_interface": "0.0.0.0",
        "ipv4_port": 6162,
        "ipv6_interface": "::1",
        "ipv6_port": 6162
    },
    "cache": {
        "dns_cache_ttl_seconds": 10800
    },
    "publisher": {
        "http_milliseconds_timeout": 500,
        "http_retries": 2,
        "http_milliseconds_between_retries": 250,
        "http_primary_publisher": "true",
        "http_peer_publisher": "unavailable",
        "max_traps_between_publishes": 10,
        "max_milliseconds_between_publishes": 10000
    },
    "streams_publishes": {
        "sec_fault_unsecure": {
            "type": "message_router",
            "aaf_password": null,
            "dmaap_info": {
                "location": "mtl5",
                "client_id": null,
                "client_role": null,
                "topic_url": "http://localhost:3904/events/unauthenticated.ONAP-COLLECTOR-SNMPTRAP"
            },
            "aaf_username": null
        }
    },
    "files": {
        "runtime_base_dir": "/opt/app/snmptrap",
        "log_dir": "logs",
        "data_dir": "data",
        "pid_dir": "tmp",
        "arriving_traps_log": "snmptrapd_arriving_traps.log",
        "snmptrapd_diag": "snmptrapd_prog_diag.log",
        "traps_stats_log": "snmptrapd_stats.csv",
        "perm_status_file": "snmptrapd_status.log",
        "eelf_base_dir": "/opt/app/snmptrap/logs",
        "eelf_error": "error.log",
        "eelf_debug": "debug.log",
        "eelf_audit": "audit.log",
        "eelf_metrics": "metrics.log",
        "roll_frequency": "hour",
        "minimum_severity_to_log": 3
    },
    "check_hb_traps": {
        "trap_thr": 900,
        "hb_thr": 900,
        "hb_notify_oid": ".1.3.6.1.4.1.74.2.46.12.1.1"
    },
    "trap_config": {
       "sw_interval_in_seconds": 60,
       "metric_log_notification_threshold_pct": 25,
       "notify_oids": [
           {
               "oid": ".1.3.6.1.4.1.9.0.1",
               "sw_high_water_in_interval": 100,
               "sw_low_water_in_interval": 5,
               "category": "logonly"
           },
           {
               "oid": ".1.3.6.1.4.1.9.0.2",
               "sw_high_water_in_interval": 200,
               "sw_low_water_in_interval": 10,
               "category": "logonly"
           },
           {
               "oid": ".1.3.6.1.4.1.9.0.3",
               "sw_high_water_in_interval": 300,
               "sw_low_water_in_interval": 15,
               "category": "logonly"
           }
       ]
    },
    "snmpv3_config": {
        "usm_users": [
            {
                "user": "user1",
                "engineId": "8000000000000001",
                "usmHMACMD5AuthProtocol": "authkey1",
                "usmDESPrivProtocol": "privkey1"
            },
            {
                "user": "user2",
                "engineId": "8000000000000002",
                "usmHMACMD5AuthProtocol": "authkey2",
                "usm3DESEDEPrivProtocol": "privkey2"
            },
            {
                "user": "user3",
                "engineId": "8000000000000003",
                "usmHMACMD5AuthProtocol": "authkey3",
                "usmAesCfb128Protocol": "privkey3"
            },
            {
                "user": "user4",
                "engineId": "8000000000000004",
                "usmHMACMD5AuthProtocol": "authkey4",
                "usmAesBlumenthalCfb192Protocol": "privkey4"
            },
            {
                "user": "user5",
                "engineId": "8000000000000005",
                "usmHMACMD5AuthProtocol": "authkey5",
                "usmAesBlumenthalCfb256Protocol": "privkey5"
            },
            {
                "user": "user6",
                "engineId": "8000000000000006",
                "usmHMACMD5AuthProtocol": "authkey6",
                "usmAesCfb192Protocol": "privkey6"
            },
            {
                "user": "user7",
                "engineId": "8000000000000007",
                "usmHMACMD5AuthProtocol": "authkey7",
                "usmAesCfb256Protocol": "privkey7"
            },
            {
                "user": "user9",
                "engineId": "8000000000000009",
                "usmHMACSHAAuthProtocol": "authkey9",
                "usmDESPrivProtocol": "privkey9"
            },
            {
                "user": "user10",
                "engineId": "8000000000000010",
                "usmHMACSHAAuthProtocol": "authkey10",
                "usm3DESEDEPrivProtocol": "privkey10"
            },
            {
                "user": "user11",
                "engineId": "8000000000000011",
                "usmHMACSHAAuthProtocol": "authkey11",
                "usmAesCfb128Protocol": "privkey11"
            },
            {
                "user": "user12",
                "engineId": "8000000000000012",
                "usmHMACSHAAuthProtocol": "authkey12",
                "usmAesBlumenthalCfb192Protocol": "privkey12"
            },
            {
                "user": "user13",
                "engineId": "8000000000000013",
                "usmHMACSHAAuthProtocol": "authkey13",
                "usmAesBlumenthalCfb256Protocol": "privkey13"
            },
            {
                "user": "user14",
                "engineId": "8000000000000014",
                "usmHMACSHAAuthProtocol": "authkey14",
                "usmAesCfb192Protocol": "privkey14"
            },
            {
                "user": "user15",
                "engineId": "8000000000000015",
                "usmHMACSHAAuthProtocol": "authkey15",
                "usmAesCfb256Protocol": "privkey15"
            },
            {
                "user": "user17",
                "engineId": "8000000000000017",
                "usmHMAC128SHA224AuthProtocol": "authkey17",
                "usmDESPrivProtocol": "privkey17"
            },
            {
                "user": "user18",
                "engineId": "8000000000000018",
                "usmHMAC128SHA224AuthProtocol": "authkey18",
                "usm3DESEDEPrivProtocol": "privkey18"
            },
            {
                "user": "user19",
                "engineId": "8000000000000019",
                "usmHMAC128SHA224AuthProtocol": "authkey19",
                "usmAesCfb128Protocol": "privkey19"
            },
            {
                "user": "user20",
                "engineId": "8000000000000020",
                "usmHMAC128SHA224AuthProtocol": "authkey20",
                "usmAesBlumenthalCfb192Protocol": "privkey20"
            },
            {
                "user": "user21",
                "engineId": "8000000000000021",
                "usmHMAC128SHA224AuthProtocol": "authkey21",
                "usmAesBlumenthalCfb256Protocol": "privkey21"
            },
            {
                "user": "user22",
                "engineId": "8000000000000022",
                "usmHMAC128SHA224AuthProtocol": "authkey22",
                "usmAesCfb192Protocol": "privkey22"
            },
            {
                "user": "user23",
                "engineId": "8000000000000023",
                "usmHMAC128SHA224AuthProtocol": "authkey23",
                "usmAesCfb256Protocol": "privkey23"
            },
            {
                "user": "user25",
                "engineId": "8000000000000025",
                "usmHMAC192SHA256AuthProtocol": "authkey25",
                "usmDESPrivProtocol": "privkey25"
            },
            {
                "user": "user26",
                "engineId": "8000000000000026",
                "usmHMAC192SHA256AuthProtocol": "authkey26",
                "usm3DESEDEPrivProtocol": "privkey26"
            },
            {
                "user": "user27",
                "engineId": "8000000000000027",
                "usmHMAC192SHA256AuthProtocol": "authkey27",
                "usmAesCfb128Protocol": "privkey27"
            },
            {
                "user": "user28",
                "engineId": "8000000000000028",
                "usmHMAC192SHA256AuthProtocol": "authkey28",
                "usmAesBlumenthalCfb192Protocol": "privkey28"
            },
            {
                "user": "user29",
                "engineId": "8000000000000029",
                "usmHMAC192SHA256AuthProtocol": "authkey29",
                "usmAesBlumenthalCfb256Protocol": "privkey29"
            },
            {
                "user": "user30",
                "engineId": "8000000000000030",
                "usmHMAC192SHA256AuthProtocol": "authkey30",
                "usmAesCfb192Protocol": "privkey30"
            },
            {
                "user": "user31",
                "engineId": "8000000000000031",
                "usmHMAC192SHA256AuthProtocol": "authkey31",
                "usmAesCfb256Protocol": "privkey31"
            },
            {
                "user": "user33",
                "engineId": "8000000000000033",
                "usmHMAC256SHA384AuthProtocol": "authkey33",
                "usmDESPrivProtocol": "privkey33"
            },
            {
                "user": "user34",
                "engineId": "8000000000000034",
                "usmHMAC256SHA384AuthProtocol": "authkey34",
                "usm3DESEDEPrivProtocol": "privkey34"
            },
            {
                "user": "user35",
                "engineId": "8000000000000035",
                "usmHMAC256SHA384AuthProtocol": "authkey35",
                "usmAesCfb128Protocol": "privkey35"
            },
            {
                "user": "user36",
                "engineId": "8000000000000036",
                "usmHMAC256SHA384AuthProtocol": "authkey36",
                "usmAesBlumenthalCfb192Protocol": "privkey36"
            },
            {
                "user": "user37",
                "engineId": "8000000000000037",
                "usmHMAC256SHA384AuthProtocol": "authkey37",
                "usmAesBlumenthalCfb256Protocol": "privkey37"
            },
            {
                "user": "user38",
                "engineId": "8000000000000038",
                "usmHMAC256SHA384AuthProtocol": "authkey38",
                "usmAesCfb192Protocol": "privkey38"
            },
            {
                "user": "user39",
                "engineId": "8000000000000039",
                "usmHMAC256SHA384AuthProtocol": "authkey39",
                "usmAesCfb256Protocol": "privkey39"
            },
            {
                "user": "user41",
                "engineId": "8000000000000041",
                "usmHMAC384SHA512AuthProtocol": "authkey41",
                "usmDESPrivProtocol": "privkey41"
            },
            {
                "user": "user42",
                "engineId": "8000000000000042",
                "usmHMAC384SHA512AuthProtocol": "authkey42",
                "usm3DESEDEPrivProtocol": "privkey42"
            },
            {
                "user": "user43",
                "engineId": "8000000000000043",
                "usmHMAC384SHA512AuthProtocol": "authkey43",
                "usmAesCfb128Protocol": "privkey43"
            },
            {
                "user": "user44",
                "engineId": "8000000000000044",
                "usmHMAC384SHA512AuthProtocol": "authkey44",
                "usmAesBlumenthalCfb192Protocol": "privkey44"
            },
            {
                "user": "user45",
                "engineId": "8000000000000045",
                "usmHMAC384SHA512AuthProtocol": "authkey45",
                "usmAesBlumenthalCfb256Protocol": "privkey45"
            },
            {
                "user": "user46",
                "engineId": "8000000000000046",
                "usmHMAC384SHA512AuthProtocol": "authkey46",
                "usmAesCfb192Protocol": "privkey46"
            },
            {
                "user": "user47",
                "engineId": "8000000000000047",
                "usmHMAC384SHA512AuthProtocol": "authkey47",
                "usmAesCfb256Protocol": "privkey47"
            }
        ]
    }
}