alert.properties 1.0 KB
Newer Older
L
ligang 已提交
1 2 3 4 5
#alert type is EMAIL/SMS
alert.type=EMAIL

# mail server configuration
mail.protocol=SMTP
L
LiemLin 已提交
6
mail.server.host=xxx.xxx.com
L
ligang 已提交
7
mail.server.port=25
L
LiemLin 已提交
8 9 10
mail.sender=xxx@xxx.com
mail.user=xxx@xxx.com
mail.passwd=111111
L
ligang 已提交
11

12
# TLS
L
LiemLin 已提交
13
mail.smtp.starttls.enable=true
14
# SSL
L
LiemLin 已提交
15 16
mail.smtp.ssl.enable=false
mail.smtp.ssl.trust=xxx.xxx.com
17

L
ligang 已提交
18
#xls file path,need create if not exist
19
xls.file.path=/tmp/xls
L
ligang 已提交
20

21 22 23
# Enterprise WeChat configuration
enterprise.wechat.corp.id=xxxxxxx
enterprise.wechat.secret=xxxxxxx
L
lgcareer 已提交
24 25
enterprise.wechat.agent.id=xxxxxxx
enterprise.wechat.users=xxxxxxx
26 27 28
enterprise.wechat.token.url=https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=$corpId&corpsecret=$secret
enterprise.wechat.push.url=https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=$token
enterprise.wechat.team.send.msg={\"toparty\":\"$toParty\",\"agentid\":\"$agentId\",\"msgtype\":\"text\",\"text\":{\"content\":\"$msg\"},\"safe\":\"0\"}
L
lgcareer 已提交
29
enterprise.wechat.user.send.msg={\"touser\":\"$toUser\",\"agentid\":\"$agentId\",\"msgtype\":\"markdown\",\"markdown\":{\"content\":\"$msg\"}}
L
ligang 已提交
30 31 32