nightingale1/etc/monapi.yml

29 lines
526 B
YAML
Raw Normal View History

2020-09-26 16:53:10 +08:00
---
tokens:
- monapi-internal-third-module-pass-fjsdi
logger:
dir: logs/monapi
2020-09-26 22:38:24 +08:00
level: INFO
keepHours: 24
2020-09-26 16:53:10 +08:00
region:
- default
# read alert from redis
redis:
addr: 127.0.0.1:6379
2020-09-26 22:38:24 +08:00
pass: ""
2020-09-26 16:53:10 +08:00
# timeout:
# conn: 500
# read: 3000
# write: 3000
notify:
p1: ["voice", "sms", "mail", "im"]
p2: ["sms", "mail", "im"]
p3: ["mail", "im"]
# addresses accessible using browser
link:
2020-09-26 22:38:24 +08:00
stra: http://n9e.com/mon/strategy/%v
event: http://n9e.com/mon/history/his/%v
claim: http://n9e.com/mon/history/cur/%v