wahidw | 324d213 | 2020-03-27 10:10:19 +0000 | [diff] [blame] | 1 | #================================================================================== |
| 2 | # Copyright (c) 2019 AT&T Intellectual Property. |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | #================================================================================== |
| 16 | apiVersion: v1 |
| 17 | kind: ConfigMap |
| 18 | metadata: |
| 19 | name: alarmadaptercfg |
| 20 | namespace: ricplt |
| 21 | data: |
| 22 | # FQDN and port info of rtmgr |
| 23 | alarmadaptercfg: | |
| 24 | "local": |
| 25 | "host": ":8080" |
| 26 | "logger": |
| 27 | "level": 4 |
| 28 | "db" : |
| 29 | "namespaces": |
| 30 | - |
| 31 | "sdl" |
| 32 | - |
| 33 | "rnib" |
| 34 | "rmr": |
| 35 | "protPort": "tcp:4560" |
| 36 | "maxSize": 1024 |
| 37 | "numWorkers": 1 |
| 38 | "promAlertManager": |
| 39 | "address": "elfkp-prometheus-alertmanager:9093" |
| 40 | "baseUrl": "/api/v2" |
| 41 | "schemes": http |
| 42 | "alertInterval": 30000 |
| 43 | "alarmDefinitions: |
| 44 | - |
| 45 | "specificProblem": 1234 |
| 46 | "Text": "Connection to DBAAS server lost" |
| 47 | - |
| 48 | "specificProblem": 1235 |
| 49 | "Text": "Distribution of internal routing table failed due to timeout" |
| 50 | - |
| 51 | "specificProblem": 1236 |
| 52 | "Text": "E2 connection to gNB lost" |