alert.properties 991 字节
Newer Older
L
ligang 已提交
1 2 3 4 5 6 7 8 9 10
#alert type is EMAIL/SMS
alert.type=EMAIL

# mail server configuration
mail.protocol=SMTP
mail.server.host=smtp.exmail.qq.com
mail.server.port=25
mail.sender=xxxxxxx
mail.passwd=xxxxxxx

11 12 13 14 15
# TLS
mail.smtp.starttls.enable=false
# SSL
mail.smtp.ssl.enable=true

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

19 20 21
# Enterprise WeChat configuration
enterprise.wechat.corp.id=xxxxxxx
enterprise.wechat.secret=xxxxxxx
L
lgcareer 已提交
22 23
enterprise.wechat.agent.id=xxxxxxx
enterprise.wechat.users=xxxxxxx
24 25 26
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 已提交
27
enterprise.wechat.user.send.msg={\"touser\":\"$toUser\",\"agentid\":\"$agentId\",\"msgtype\":\"markdown\",\"markdown\":{\"content\":\"$msg\"}}
L
ligang 已提交
28 29 30