config.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "port": ":8011",
  3. "oss_accounts": [
  4. {
  5. "id": "main",
  6. "endpoint": "oss-cn-beijing.aliyuncs.com",
  7. "access_key_id": "LTAI4G5x9aoZx8dDamQ7vfZi",
  8. "access_key_secret": "Bk98FsbPYXcJe72n1bG3Ssf73acuNh"
  9. }
  10. ],
  11. "buckets": [
  12. {
  13. "bucket_id": "all",
  14. "account_id": "main",
  15. "bucket_name": "jytest2022"
  16. }
  17. ],
  18. "node": {
  19. "node_name": "node1"
  20. },
  21. "redis": {
  22. "address": "172.20.45.129:1712",
  23. "password": ""
  24. },
  25. "email": {
  26. "mails":[
  27. {
  28. "addr":"smtp.exmail.qq.com",
  29. "port":465,
  30. "pwd":"ue9Rg9Sf4CVtdm5a",
  31. "user":"public03@topnet.net.cn",
  32. "mailPoolSize":5,
  33. "mailReTry":1
  34. },
  35. {
  36. "addr":"smtp.exmail.qq.com",
  37. "port":465,
  38. "pwd":"Mu^$i21673",
  39. "user":"public04@topnet.net.cn",
  40. "mailPoolSize":4,
  41. "mailReTry":1
  42. }
  43. ],
  44. "title": "oos代理服务告警",
  45. "recipients": ["wangchuanjin@topnet.net.cn"]
  46. },
  47. "weixin": {
  48. "webhook_url": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=295f5f6a-f58c-4765-8bae-9bd718c566a5"
  49. },
  50. "warnMaxNodeNum": 1,
  51. "warnInterval": 600,
  52. "logger": {
  53. "filename": "./logs/oss.log",
  54. "maxSize": 1024,
  55. "maxBackups": 3,
  56. "maxAge": 3,
  57. "compress": true
  58. }
  59. }