feat: support ticket settings in OMC

This commit is contained in:
zhangsz
2025-07-08 14:45:46 +08:00
parent 39ae16cf42
commit 8d76d68b96
11 changed files with 306 additions and 72 deletions

View File

@@ -1,24 +1,21 @@
ticket:
notifcation:
smtp:
enabled: true
ticketNotification:
enabled: false
host: mail.agrandtech.com
port: 25
username: smtpext@agrandtech.com
# 注意:密码中如果包含特殊字符(如@、#、$等),
# 需要使用双引号括起来,避免解析错误
# 例如password: "1000smtp@omc!"
# 例如password: "123456"
password: Smtp123@agt
tlsSkipVerify: true
from: restagent@localhost
to:
- simonzhangsz@outlook.com # 可以是多个收件人
- shuzone@126.com
timeout: # 超时设置
from: omc@psap
to: "simonzhangsz@outlook.com,shuzone@126.com,a@b.com"
ticketTimeout: # 超时设置
# 这些时间单位是分钟
# 注意:这些时间是相对于工单创建时间的
# 例如new: 60分钟inProgress: 60分钟
new: 1
new: 60
inProgress: 60
noAnswer1: 240
noAnswer2: 480

View File

@@ -207,4 +207,4 @@ staticFile:
# PSAP RESTCONF配置
psapConfig:
enabled: true
file: ./etc/psap.yaml
file: ./etc/psap.yaml