MA Configuration
The configuration file of MA is under the directory of uavagent/config
Common Configuration Items
Basic Feature
Functional Feature
monitoragent
Support runtime monitoring data collection
feature.monitoragent.notifyhandlers
Handler class of notifications. Separate multiple classes with comma in the handling order
feature.monitoragent.modatahandlers
Handler class of the monitoring data. Separate multiple classes with comma in the handling order
feature.monitoragent.prodatahandlers
Handler class of the profile data. Separate multiple classes with comma in the handling order
feature.monitoragent.http.enable=false
MA shall receive MDF data via Http and forward the data to servers. Configure whether enable the Http server or not
feature.monitoragent.mdfhandlers
Handler class of the MDF receiving server
feature.monitoragent.http.port
Port No. of the MDF receiving server
feature.monitoragent.http.backlog=10
Queue length of successfully connected network
feature.monitoragent.http.core=10
Core thread count in the thread pool processed by Http
feature.monitoragent.http.max=50
Maximum thread count in the thread pool processed by Http
feature.monitoragent.http.bqsize=10
Size of the buffer queue
feature.monitoragent.jvm.filters
Information collection and filtering list of JAVA programs. The value shall be the name of the startup class (prefix match). Separate the values with comma.
feature.monitoragent.detector.interval
JVM scan interval
feature.monitoragent.detector.local.scan.enable
Enable JMX collection of the monitoring data or not
feature.monitoragent.detector.container.scan.enable
Enable monitoring data collection at the Http port or not
feature.monitoragent.detector.container.ports
Destination port of Http collection requests
feature.monitoragent.monitor.interval
Time interval of monitoring data collection, in ms
feature.monitoragent.limit.mem
The Monitor Agent shall limit resources automatically. Once the resource limit has been broken constantly, the agent shall get restarted. This configuration is memory limit, in M
feature.monitoragent.limit.cpu.value
CPU limit, %
feature.monitoragent.limit.cpu.timerange
自我资源限制判定的持续时间,即持续超出限制的时间超过了该配置则会重启,单位ms Duration (in ms) for automatic resouce limit judgement. The agent shall automatically get restarted once the resource limit has been repeatedly broken.
logagent
Support log data collection
feature.logagent.selfLog.enable
Fetch log or not
feature.logagent.posfileroot
Parent directory of log storage
feature.logagent.LogDataFrame.enable
Enable log data collection or not
feature.logagent.interva
Time interval of log data collection, in ms
feature.logagent.MutiThread.enable
Enable multiple-thread collection or not
feature.logagent.MutiThread.thread.max
Maximum thread count allowed
feature.logagent.defrule.filter
RegEx for log filtering
procscan
Support process data (process information, CPU and memory, etc.) collection
feature.procscan.scan.interval
Time interval of process information collection, in ms
feature.procscan.networkDetect.interval
Time interval of traffic information collection, in ms
feature.procscan.networkDetect.collectTime Time of traffic sample collection, in ms
procwatch
Support process keep-alive
feature.procwatch.interval
Time interval of process keep-alive detection, in ms
collectclient
Support data collection
feature.collectclient.readlinesize
Rows read each time
feature.collectclient.interval
Time interval of data collection, in ms
feature.collectclient.writeposdelay
Startup delay of the function that writes the location of the collected data, in ms
feature.collectclient.writeposinterval
Time interval for writing the location of the collected data, in ms
feature.collectclient.idlecheckerdelay
Startup delay of the function that detects the idle file, in ms
feature.collectclient.idlecheckerinterval
Detection interval of the idle file, in ms. Close the file if it is detected as being “idle”
threadanalysis
Support thread analysis