ma_pro.properties 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. #log configuration
  2. #log.level:INFO, ERR, WARNING, DEBUG, FINE, FINER, ALL
  3. #log.fsize: Single Log File Size(MB)
  4. log.level=INFO
  5. log.debug=false
  6. log.fsize=10
  7. log.collectEnable=false
  8. log.collectMatch=
  9. log.path=
  10. #config the datacenter id
  11. meta.datacenterid=1
  12. #config the node type
  13. #the node type means the deployed component name of UAV network
  14. meta.nodetype=\u76D1\u63A7\u4EE3\u7406\u7A0B\u5E8F
  15. #resource components
  16. #resource.xxxx
  17. resource.messageproducer.class=org.uavstack.resources.common.messaging.MessageProducerResourceComponent
  18. #resource.xxxx.properties, for example: <key1>=<value1>,<key2>=<value2>,...
  19. resource.messageproducer.properties=
  20. #resource.xxxx.<customized item>
  21. resource.messageproducer.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876
  22. #message threshold's unit is kb
  23. resource.messageproducer.messagingthreshold=30
  24. #message size limit. unit is Byte
  25. resource.messageproducer.messagesizelimit=262000
  26. #System Http Invoker
  27. resource.httpinvoke.class=org.uavstack.resources.common.invoker.HttpInvokerResourceComponent
  28. resource.httpinvoke.properties=
  29. resource.httpinvoke.http.client.maxperroute=20
  30. resource.httpinvoke.http.client.maxtotal=100
  31. resource.httpinvoke.http.client.sotimeout=10000
  32. resource.httpinvoke.http.client.conntimeout=10000
  33. resource.httpinvoke.http.client.reqtimeout=10000
  34. #nodeoperagent
  35. feature.nodeoperagent.loader=com.creditease.uav.agent.heartbeat.jar
  36. #feature.xxx.enable should enable this feature
  37. feature.nodeoperagent.enable=true
  38. feature.nodeoperagent.components=com.creditease.agent.feature.NodeOperAgent
  39. feature.nodeoperagent.http.port=10101
  40. #notifyagent
  41. feature.notifyagent.loader=com.creditease.uav.notifymanager.jar
  42. #feature.xxx.enable should enable this feature
  43. feature.notifyagent.enable=true
  44. #feature.xxx.components is the component classes (extends com.creditease.agent.spi.AgentFeatureComponent), separator "," for multiply classes
  45. feature.notifyagent.components=com.creditease.agent.feature.GlobalNotificationAgent
  46. #feature.xxx.properties for the feature, for example: <key1>=<value1>,<key2>=<value2>,...
  47. feature.notifyagent.properties=
  48. feature.notifyagent.notifyhandlers=com.creditease.agent.feature.globalnotify.handlers.NotificationEventPublishHandler
  49. #event expire in seconds, 4 hour by default
  50. feature.notifyagent.expireTime=14400
  51. #event send forzen interval in seconds, 5 min by default
  52. feature.notifyagent.frozenTime=300
  53. #heartbeatclientagent Agent Feature xxx
  54. #feature.xxx.loader should be a jar file path or default
  55. feature.hbclientagent.loader=com.creditease.uav.agent.heartbeat.jar
  56. #feature.xxx.enable should enable this feature
  57. feature.hbclientagent.enable=true
  58. #feature.xxx.components is the component classes (extends com.creditease.agent.spi.AgentFeatureComponent), separator "," for multiply classes
  59. feature.hbclientagent.components=com.creditease.agent.feature.HeartBeatClientAgent
  60. #feature.xxx.properties for the feature, for example: <key1>=<value1>,<key2>=<value2>,...
  61. feature.hbclientagent.properties=
  62. #feature.monitoragent.hbhandlers for heartbeat handlers
  63. feature.hbclientagent.hbhandlers=com.creditease.agent.feature.hbagent.handlers.HBClientDefaultHandler
  64. feature.hbclientagent.hbservers=127.0.0.1:8011,127.0.0.1:8011,127.0.0.1:8011,127.0.0.1:8011,127.0.0.1:8011,127.0.0.1:8011
  65. feature.hbclientagent.interval=15000
  66. #agent feature configuration
  67. #Monitor Agent Feature xxx
  68. #feature.xxx.loader should be a jar file path or default
  69. feature.monitoragent.loader=com.creditease.uav.agent-1.0.jar
  70. #feature.xxx.enable should enable this feature
  71. feature.monitoragent.enable=true
  72. #feature.xxx.components is the component classes (extends com.creditease.agent.spi.AgentFeatureComponent), separator "," for multiply classes
  73. feature.monitoragent.components=com.creditease.agent.feature.MonitorAgent
  74. #feature.xxx.properties for the feature, for example: <key1>=<value1>,<key2>=<value2>,...
  75. feature.monitoragent.properties=
  76. #feature.xxx.<customized item>
  77. #feature.monitoragent.notifyhandlers are handlers for Notification Event, separator "," for multiply classes
  78. feature.monitoragent.notifyhandlers=com.creditease.agent.feature.monitoragent.handlers.DefaultNotificationEventHandler
  79. #feature.monitoragent.modatahandlers are handlers for Monitor Data, separator "," for multiply classes
  80. feature.monitoragent.modatahandlers=com.creditease.agent.feature.monitoragent.handlers.MonitorDataPublishHandler
  81. #feature.monitoragent.prodatahandlers are handlers for Profile Data, separator "," for multiply classes
  82. feature.monitoragent.prodatahandlers=com.creditease.agent.feature.monitoragent.handlers.ProfileDataPublishHandler,com.creditease.agent.feature.monitoragent.handlers.LogProfileDataNotifyHandler,com.creditease.agent.feature.monitoragent.handlers.ProfileDataContainerTagsHandler
  83. #app server keep alive
  84. feature.monitoragent.keepalive.enable=false
  85. #mdf listen server
  86. feature.monitoragent.mdfhandlers=com.creditease.agent.feature.monitoragent.handlers.MDFListenServerHandler
  87. feature.monitoragent.http.port=9111
  88. feature.monitoragent.http.backlog=10
  89. feature.monitoragent.http.core=10
  90. feature.monitoragent.http.max=50
  91. feature.monitoragent.http.bqsize=1
  92. feature.monitoragent.http.enable=false
  93. #monitoragent jvm filters
  94. feature.monitoragent.jvm.filters=com.sun.tools,sun.tools,jenkins-cli.jar,com.creditease.agent.feature.nodeopagent.NodeOperCtrlClient
  95. #monitoragent detect interval default is 30000
  96. feature.monitoragent.detector.interval=30000
  97. feature.monitoragent.detector.profilehbtimeout=15000
  98. #enable local scan by jvm tool and jmx
  99. feature.monitoragent.detector.local.scan.enable=true
  100. #enable container scan by http
  101. feature.monitoragent.detector.container.scan.enable=true
  102. #container ports
  103. feature.monitoragent.detector.container.ports=
  104. #monitoragent detect interval default is 15000
  105. feature.monitoragent.monitor.interval=15000
  106. #agent process limitation for exit
  107. #default memory limit is 300M
  108. feature.monitoragent.limit.mem=300000
  109. #default cpu limit is over 30% during 120 seconds
  110. feature.monitoragent.limit.cpu.value=30
  111. feature.monitoragent.limit.cpu.timerange=120000
  112. #Log Agent Feature xxx
  113. #feature.xxx.loader should be a jar file path or default
  114. feature.logagent.loader=com.creditease.uav.agent-1.0.jar
  115. #feature.xxx.enable should enable this feature
  116. feature.logagent.enable=true
  117. #feature.xxx.enable should enable the self Log collection feature
  118. feature.logagent.selfLog.enable=false
  119. #feature.xxx.components is the component classes (extends com.creditease.agent.spi.AgentFeatureComponent), separator "," for multiply classes
  120. feature.logagent.components=com.creditease.agent.feature.LogAgent
  121. #feature.xxx.properties for the feature, for example: <key1>=<value1>,<key2>=<value2>,...
  122. feature.logagent.properties=
  123. #log pos file root
  124. feature.logagent.posfileroot=./
  125. #catch log interval (ms)
  126. feature.logagent.LogDataFrame.enable=false
  127. feature.logagent.interval=2000
  128. feature.logagent.MutiThread.enable=true
  129. feature.logagent.MutiThread.thread.max=2
  130. #default filter
  131. feature.logagent.defrule.filter=
  132. #LOGAGENT LOG LEVEL
  133. feature.logagent.log.level=DEBUG
  134. #Proc Detect Agent Feature
  135. feature.procscan.loader=com.creditease.uav.agent.heartbeat.jar
  136. feature.procscan.enable=true
  137. feature.procscan.components=com.creditease.agent.feature.ProcDetectAgent
  138. feature.procscan.properties=
  139. #scanning interval
  140. feature.procscan.scan.interval=15000
  141. feature.procscan.networkDetect.interval=15000
  142. feature.procscan.networkDetect.collectTime=2000
  143. # Process Watch Feature
  144. feature.procwatch.loader=com.creditease.uav.agent.heartbeat.jar
  145. feature.procwatch.enable=true
  146. feature.procwatch.interval=15000
  147. feature.procwatch.components=com.creditease.agent.feature.ProcWatchAgent
  148. # Data Collect Feature
  149. feature.collectclient.loader=com.creditease.uav.collect.jar
  150. feature.collectclient.enable=true
  151. feature.collectclient.components=com.creditease.uav.collect.client.CollectDataAgent
  152. feature.collectclient.properties=
  153. feature.collectclient.readlinesize=100
  154. feature.collectclient.MutiThread.enable=true
  155. feature.collectclient.MutiThread.thread.max=2
  156. feature.collectclient.interval=2000
  157. feature.collectclient.writeposdelay=5000
  158. feature.collectclient.writeposinterval=3000
  159. feature.collectclient.idlecheckerdelay=12000
  160. feature.collectclient.idlecheckerinterval=5000
  161. # Thread Analysis Feature
  162. feature.threadanalysis.loader=com.creditease.uav.threadanalysis.jar
  163. feature.threadanalysis.enable=true
  164. feature.threadanalysis.components=com.creditease.uav.threadanalysis.client.ThreadAnalysisAgent