agent.properties 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. #log configuration
  2. #log.level:INFO, ERR, WARNING, DEBUG, FINE, FINER, ALL
  3. #log.fsize: Single Log File Size(MB)
  4. log.level=DEBUG
  5. log.debug=true
  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
  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. #notifytestagent
  35. feature.monitortestagent.loader=com.creditease.uav.agent-1.0.jar
  36. #feature.xxx.enable should enable this feature
  37. feature.monitortestagent.enable=false
  38. feature.monitortestagent.components=com.creditease.agent.feature.MonitorAgentUT
  39. feature.monitortestagent.interval=1500
  40. #nodeoperagent
  41. feature.nodeoperagent.loader=com.creditease.uav.agent.heartbeat.jar
  42. #feature.xxx.enable should enable this feature
  43. feature.nodeoperagent.enable=true
  44. feature.nodeoperagent.components=com.creditease.agent.feature.NodeOperAgent
  45. feature.nodeoperagent.http.port=10101
  46. feature.nodeoperagent.checksec=false
  47. #notifyagent
  48. feature.notifyagent.loader=com.creditease.uav.notifymanager-1.0.jar
  49. #feature.xxx.enable should enable this feature
  50. feature.notifyagent.enable=true
  51. #feature.xxx.components is the component classes (extends com.creditease.agent.spi.AgentFeatureComponent), separator "," for multiply classes
  52. feature.notifyagent.components=com.creditease.agent.feature.GlobalNotificationAgent
  53. #feature.xxx.properties for the feature, for example: <key1>=<value1>,<key2>=<value2>,...
  54. feature.notifyagent.properties=
  55. feature.notifyagent.notifyhandlers=com.creditease.agent.feature.globalnotify.handlers.NotificationEventPublishHandler
  56. #event expire in seconds, 4 hour by default
  57. feature.notifyagent.expireTime=14400
  58. #event send forzen interval in seconds, 5 min by default
  59. feature.notifyagent.frozenTime=300
  60. #heartbeatclientagent Agent Feature xxx
  61. #feature.xxx.loader should be a jar file path or default
  62. feature.hbclientagent.loader=com.creditease.uav.agent.heartbeat.jar
  63. #feature.xxx.enable should enable this feature
  64. feature.hbclientagent.enable=true
  65. #feature.xxx.components is the component classes (extends com.creditease.agent.spi.AgentFeatureComponent), separator "," for multiply classes
  66. feature.hbclientagent.components=com.creditease.agent.feature.HeartBeatClientAgent
  67. #feature.xxx.properties for the feature, for example: <key1>=<value1>,<key2>=<value2>,...
  68. feature.hbclientagent.properties=
  69. #feature.monitoragent.hbhandlers for heartbeat handlers
  70. feature.hbclientagent.hbhandlers=com.creditease.agent.feature.hbagent.handlers.HBClientDefaultHandler
  71. feature.hbclientagent.hbservers=127.0.0.1:8010
  72. feature.hbclientagent.interval=15000
  73. #agent feature configuration
  74. #Monitor Agent Feature xxx
  75. #feature.xxx.loader should be a jar file path or default
  76. feature.monitoragent.loader=com.creditease.uav.agent-1.0.jar
  77. #feature.xxx.enable should enable this feature
  78. feature.monitoragent.enable=true
  79. #feature.xxx.components is the component classes (extends com.creditease.agent.spi.AgentFeatureComponent), separator "," for multiply classes
  80. feature.monitoragent.components=com.creditease.agent.feature.MonitorAgent
  81. #feature.xxx.properties for the feature, for example: <key1>=<value1>,<key2>=<value2>,...
  82. feature.monitoragent.properties=
  83. #feature.xxx.<customized item>
  84. #feature.monitoragent.notifyhandlers are handlers for Notification Event, separator "," for multiply classes
  85. feature.monitoragent.notifyhandlers=com.creditease.agent.feature.monitoragent.handlers.DefaultNotificationEventHandler
  86. #feature.monitoragent.modatahandlers are handlers for Monitor Data, separator "," for multiply classes
  87. feature.monitoragent.modatahandlers=com.creditease.agent.feature.monitoragent.handlers.MonitorDataPublishHandler
  88. #feature.monitoragent.prodatahandlers are handlers for Profile Data, separator "," for multiply classes
  89. feature.monitoragent.prodatahandlers=com.creditease.agent.feature.monitoragent.handlers.ProfileDataPublishHandler,com.creditease.agent.feature.monitoragent.handlers.LogProfileDataNotifyHandler,com.creditease.agent.feature.monitoragent.handlers.ProfileDataContainerTagsHandler
  90. #app server keep alive
  91. feature.monitoragent.keepalive.enable=false
  92. #mdf listen server
  93. feature.monitoragent.mdfhandlers=com.creditease.agent.feature.monitoragent.handlers.MDFListenServerHandler
  94. feature.monitoragent.http.port=8099
  95. feature.monitoragent.http.backlog=10
  96. feature.monitoragent.http.core=10
  97. feature.monitoragent.http.max=50
  98. feature.monitoragent.http.bqsize=10
  99. feature.monitoragent.http.enable=false
  100. #monitoragent jvm filters
  101. feature.monitoragent.jvm.filters=com.sun.tools,sun.tools,jenkins-cli.jar,com.creditease.agent.feature.nodeopagent.NodeOperCtrlClient
  102. #monitoragent detect interval default is 30000
  103. feature.monitoragent.detector.interval=30000
  104. feature.monitoragent.detector.profilehbtimeout=15000
  105. #enable local scan by jvm tool and jmx
  106. feature.monitoragent.detector.local.scan.enable=true
  107. #enable container scan by http
  108. feature.monitoragent.detector.container.scan.enable=true
  109. #container ports
  110. feature.monitoragent.detector.container.ports=
  111. #monitoragent detect interval default is 15000
  112. feature.monitoragent.monitor.interval=15000
  113. #agent process limitation for exit
  114. #default memory limit is 300M
  115. feature.monitoragent.limit.mem=550000
  116. #default cpu limit is over 30% during 120 seconds
  117. feature.monitoragent.limit.cpu.value=30
  118. feature.monitoragent.limit.cpu.timerange=120000
  119. #Log Agent Feature xxx
  120. #feature.xxx.loader should be a jar file path or default
  121. feature.logagent.loader=com.creditease.uav.agent-1.0.jar
  122. #feature.xxx.enable should enable this feature
  123. feature.logagent.enable=true
  124. #feature.xxx.enable should enable the self Log collection feature
  125. feature.logagent.selfLog.enable=false
  126. #feature.xxx.components is the component classes (extends com.creditease.agent.spi.AgentFeatureComponent), separator "," for multiply classes
  127. feature.logagent.components=com.creditease.agent.feature.LogAgent
  128. #feature.xxx.properties for the feature, for example: <key1>=<value1>,<key2>=<value2>,...
  129. feature.logagent.properties=
  130. #log pos file root
  131. feature.logagent.posfileroot=./
  132. #catch log interval (ms)
  133. feature.logagent.LogDataFrame.enable=false
  134. feature.logagent.interval=2000
  135. feature.logagent.MutiThread.enable=true
  136. feature.logagent.MutiThread.thread.max=2
  137. #default filter
  138. feature.logagent.defrule.filter=
  139. #LOGAGENT LOG LEVEL
  140. feature.logagent.log.level=DEBUG
  141. #Proc Detect Agent Feature
  142. feature.procscan.loader=com.creditease.uav.agent.heartbeat.jar
  143. feature.procscan.enable=true
  144. feature.procscan.components=com.creditease.agent.feature.ProcDetectAgent
  145. feature.procscan.properties=
  146. #scanning interval
  147. feature.procscan.scan.interval=15000
  148. feature.procscan.networkDetect.interval=15000
  149. feature.procscan.networkDetect.collectTime=2000
  150. # Process Watch Feature
  151. feature.procwatch.loader=com.creditease.uav.agent.heartbeat.jar
  152. feature.procwatch.enable=true
  153. feature.procwatch.interval=15000
  154. feature.procwatch.components=com.creditease.agent.feature.ProcWatchAgent
  155. # Data Collect Feature
  156. feature.collectclient.loader=com.creditease.uav.collect.jar
  157. feature.collectclient.enable=true
  158. feature.collectclient.components=com.creditease.uav.collect.client.CollectDataAgent
  159. feature.collectclient.properties=
  160. feature.collectclient.readlinesize=100
  161. feature.collectclient.MutiThread.enable=true
  162. feature.collectclient.MutiThread.thread.max=2
  163. feature.collectclient.interval=2000
  164. feature.collectclient.writeposdelay=5000
  165. feature.collectclient.writeposinterval=3000
  166. feature.collectclient.idlecheckerdelay=12000
  167. feature.collectclient.idlecheckerinterval=5000
  168. # Thread Analysis Feature
  169. feature.threadanalysis.loader=com.creditease.uav.threadanalysis.jar
  170. feature.threadanalysis.enable=true
  171. feature.threadanalysis.components=com.creditease.uav.threadanalysis.client.ThreadAnalysisAgent