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

This commit is contained in:
TsMask
2025-06-27 11:18:48 +08:00
parent 2787c544bb
commit 062a47f7af
7 changed files with 35 additions and 20 deletions

View File

@@ -163,16 +163,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:
enable: false
mobileList: ""
smscAddr: "192.168.13.114:2775"
systemID: "omc"
password: "omc123"

View File

@@ -35,6 +35,13 @@ omc:
filter: "true;false"
display: "Enable"
comment: "Is it enabled forward alarm with Email interface"
- name: "title"
type: "string"
value: ""
access: "rw"
filter: "0~64"
display: "Email Title"
comment: "string, no variable support"
- name: "emailList"
type: "string"
value: ""