feat: 支持修改邮件标题,告警转发默认关闭

This commit is contained in:
TsMask
2025-06-27 11:18:28 +08:00
parent e4c6a7c37a
commit 7c0f31168f
7 changed files with 79 additions and 31 deletions

View File

@@ -47,8 +47,8 @@ database:
type: mysql
user: root
password: 1000omc@kp!
host: 192.168.2.211
port: 33066
host: 192.168.9.58
port: 13306
name: "tenants_db"
connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True
backup: ./database
@@ -58,8 +58,8 @@ redis:
dataSource:
# OMC system db
default:
port: 6379 # Redis port
host: "192.168.2.211" # Redis host
port: 16379 # Redis port
host: "192.168.9.58" # Redis host
password: "helloearth"
db: 10 # Redis db_num
# used to specify the default data source for multiple data resourece
@@ -75,11 +75,12 @@ mml:
bufferSize: 65535
mmlHome: ./mmlhome
# Tracking configuration
# track configuration for NE signaling trace
# host fill in the specific IP address
trace:
enabled: false
host: "172.16.5.100" # Fill in the specific IP address
port: 33033
enabled: false # trace enabled, default false
host: "172.16.5.100" # trace host, default 127.0.0.1
port: 33033 # trace port, default 33033
# NE config
ne:
@@ -136,16 +137,17 @@ omc:
# 4:BINARY8BIT2, 6:CYRILLIC, 7:HEBREW, 8:UCS2
alarm:
alarmEmailForward:
enable: true
emailList:
enable: false
emailList: ""
title: "Alarm from OMC"
smtp: mail.smtp.com
port: 25
user: smtpext@smtp.com
password: "1000smtp@omc!"
tlsSkipVerify: true
alarmSMSForward:
enable: true
mobileList: "1006,1008"
enable: false
mobileList: ""
smscAddr: "192.168.14.212:2775"
systemID: "123456"
password: "123456"