alert.properties 2.1 KB
Newer Older
B
bao liang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

L
ligang 已提交
18 19 20 21 22
#alert type is EMAIL/SMS
alert.type=EMAIL

# mail server configuration
mail.protocol=SMTP
L
LiemLin 已提交
23
mail.server.host=xxx.xxx.com
L
ligang 已提交
24
mail.server.port=25
L
LiemLin 已提交
25 26 27
mail.sender=xxx@xxx.com
mail.user=xxx@xxx.com
mail.passwd=111111
28
# TLS
L
LiemLin 已提交
29
mail.smtp.starttls.enable=true
30
# SSL
L
LiemLin 已提交
31 32
mail.smtp.ssl.enable=false
mail.smtp.ssl.trust=xxx.xxx.com
33

L
ligang 已提交
34
#xls file path,need create if not exist
35
#xls.file.path=/tmp/xls
L
ligang 已提交
36

37
# Enterprise WeChat configuration
38
enterprise.wechat.enable=false
39

40 41 42 43 44 45 46 47
#enterprise.wechat.corp.id=xxxxxxx
#enterprise.wechat.secret=xxxxxxx
#enterprise.wechat.agent.id=xxxxxxx
#enterprise.wechat.users=xxxxxxx
#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\"}
#enterprise.wechat.user.send.msg={\"touser\":\"$toUser\",\"agentid\":\"$agentId\",\"msgtype\":\"markdown\",\"markdown\":{\"content\":\"$msg\"}}
L
ligang 已提交
48

49
plugin.dir=/Users/xx/your/path/to/plugin/dir
L
ligang 已提交
50

51 52 53 54 55 56 57 58 59 60
#ding talk configuration
dingtalk.isEnable=flase
dingtalk.webhook=https://oapi.dingtalk.com/robot/send?access_token=xxxxx
dingtalk.keyword=
dingtalk.proxy=
dingtalk.port=80
dingtalk.user=
dingtalk.password=
dingtalk.isEnableProxy=false