1 # ================================ LICENSE_START =============================
2 # ============================================================================
3 # Copyright (c) 2021 AT&T Intellectual Property. All rights reserved.
4 # Copyright (c) 2022 J. F. Lucas. All rights reserved.
5 # ============================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ================================= LICENSE_END ==============================
19 #################################################################
20 # Global Configuration Defaults.
21 #################################################################
24 nodePortPrefixExt: 304
25 centralizedLoggingEnabled: true
27 #################################################################
28 # Filebeat Configuration Defaults.
29 #################################################################
31 logstashServiceName: log-ls
35 #################################################################
36 # InitContainer Images.
37 #################################################################
38 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
40 #################################################################
41 # Application Configuration Defaults.
42 #################################################################
44 image: onap/org.onap.dcaegen2.collectors.snmptrap:2.0.6
47 # Log directory where logging sidecar should look for log files
48 # if path is set to null sidecar won't be deployed in spite of
49 # global.centralizedLoggingEnabled setting.
51 path: /opt/app/snmptrap/logs
52 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
55 # TLS role -- set to true if microservice acts as server
56 # If true, an init container will retrieve a server cert
57 # and key from AAF and mount them in certDirectory.
70 - /opt/app/snmptrap/bin/snmptrapd.sh
73 # service configuration
76 name: dcae-snmptrap-collector
80 l4_protocol: UDP # default to TCP if not set
81 port_protocol: udp #used in svn name
85 # Initial Application Configuration
89 dns_cache_ttl_seconds: 60
93 title: ONAP SNMP Trap Receiver
94 sw_interval_in_seconds: 60
98 topic_url: http://message-router:3904/events/unauthenticated.ONAP-COLLECTOR-SNMPTRAP
103 runtime_base_dir: "/opt/app/snmptrap"
107 arriving_traps_log: snmptrapd_arriving_traps.log
108 snmptrapd_diag: snmptrapd_prog_diag.log
109 traps_stats_log: snmptrapd_stats.csv
110 perm_status_file: snmptrapd_status.log
111 eelf_base_dir: "/opt/app/snmptrap/logs"
112 eelf_error: error.log
113 eelf_debug: debug.log
114 eelf_audit: audit.log
115 eelf_metrics: metrics.log
117 minimum_severity_to_log: 3
120 ipv4_interface: 0.0.0.0
122 ipv6_interface: "::1"
125 http_milliseconds_timeout: 1500
127 http_milliseconds_between_retries: 750
128 http_primary_publisher: 'true'
129 http_peer_publisher: unavailable
130 max_traps_between_publishes: 10
131 max_milliseconds_between_publishes: 10000
133 # Resource Limit Flavor -By Default Using Small
136 # Segregation for Different Environment (Small and Large)
154 #Pods Service Account
156 nameOverride: dcae-snmptrap-collector