Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

issue while using process monitoring extension

Highlighted
New Poster

issue while using process monitoring extension

is there any way to monitor windows service running status?

 

actually we started using process monitoring extension, but it is throwing below error.

 

we have enabled SIM.

 

Please check the below config and logs .

 

================================

[Agent-Monitor-Scheduler-1] 20 Mar 2019 14:51:37,572 INFO MonitorConfiguration - Loading the configuration from C:\machineagent-bundle-64bit-windows-4.5.8.2073\monitors\ProcessMonitor\config.yml
[Agent-Monitor-Scheduler-1] 20 Mar 2019 14:51:38,041 INFO MonitorConfiguration - The metric prefix is initialized as Server|Component:831002|Custom Metrics|Process Monitor
[Agent-Monitor-Scheduler-1] 20 Mar 2019 14:51:38,041 INFO MonitorExecutorServiceModule - Initializing the ThreadPool with size 2
[Agent-Monitor-Scheduler-1] 20 Mar 2019 14:51:38,041 INFO HttpClientModule - The httpClient is not initialized since the [servers] are not present in config.yml
[Agent-Monitor-Scheduler-1] 20 Mar 2019 14:51:38,278 INFO DerivedMetricsModule - The DerivedMetricsCalculator is not initialized.
[Agent-Monitor-Scheduler-1] 20 Mar 2019 14:51:38,278 INFO MetricWriteHelperFactory - The instance of MetricWriteHelperFactory is com.appdynamics.extensions.MetricWriteHelper@5c0f0d52
[Monitor-Task-Thread1] 20 Mar 2019 14:51:38,294 INFO ABaseMonitor - Finished processing all tasks in the job for Process Monitoring Extension
[ExtensionStarter-AgentServer] 20 Mar 2019 14:52:01,813 INFO SystemAgent - Creating machine agent scheduler, pool size: 2
[ExtensionStarter-AgentServer] 20 Mar 2019 14:52:01,813 INFO SystemAgent - Creating machine agent monitor scheduler, pool size: 4
[ExtensionStarter-AgentServer] 20 Mar 2019 14:52:01,813 INFO SystemAgent - Started Agent Schedulers
[ExtensionStarter-ServerMonitoring] 20 Mar 2019 14:52:08,773 INFO ServersExtensionModule - OS is WINDOWS
[ExtensionStarter-ServerMonitoring] 20 Mar 2019 14:52:10,595 INFO SystemAgent - Creating machine agent scheduler, pool size: 2
[ExtensionStarter-ServerMonitoring] 20 Mar 2019 14:52:10,595 INFO SystemAgent - Creating machine agent monitor scheduler, pool size: 4
[ExtensionStarter-ServerMonitoring] 20 Mar 2019 14:52:10,595 INFO SystemAgent - Started Agent Schedulers
[extension-scheduler-pool-0] 20 Mar 2019 14:52:10,595 INFO ServersDataCollectorManager - There is change in components collection configurations.
[extension-scheduler-pool-0] 20 Mar 2019 14:52:10,595 INFO ServersDataCollectorManager - Starting data collectors.
[ConfigExecutor-0] 20 Mar 2019 14:52:10,611 INFO AwsTagsScheduledRunner - Started AWS tags scheduled runner to poll for tags
[ConfigExecutor-0] 20 Mar 2019 14:52:10,611 INFO K8sTagsScheduledRunner - Started K8s tags scheduled runner to poll for tags
[extension-scheduler-pool-0] 20 Mar 2019 14:52:10,892 INFO ServersDataCollector - Started servers data collector - DataCollectorConfig(samplingInterval=30000, componentNames=[volumes, partitions, cpus, networks, monitored.process.classes, operating.system, availability, memory, load]).
[extension-scheduler-pool-0] 20 Mar 2019 14:52:10,921 INFO ReportMetricsConfigSupplier - Basic metrics will be collected and reported through the SIM extension because SIM is enabled.
[ExtensionStarter-DockerMonitoring] 20 Mar 2019 14:52:12,150 INFO SystemAgent - Creating machine agent scheduler, pool size: 2
[ExtensionStarter-DockerMonitoring] 20 Mar 2019 14:52:12,150 INFO SystemAgent - Creating machine agent monitor scheduler, pool size: 4

=================

 

metricPrefix: "Server|Component:831002|Custom Metrics|Process Monitor|"
# metricPrefix: "Custom Metrics|Process Monitor|"

# displayName: required - Metrics to be reported under this name in Controller's Metric Browser
# regex/pid/pidFile - process is fetched using this field
instances:
- displayName: "machine agent"
regex: ".*amazon-ssm-agent.exe"

metrics:
- Running Instances:
alias: "Running Instances"


# number of concurrent tasks
numberOfThreads: 2

# This is to run this in scheduled mode. In this case, the extension will fetch the data every 300 seconds
# and caches the data. The cached data will be reported to controller every min. This way there is no metric drop.
# Can be used when the data rarely changes or to reduce the load while fetching metrics every minute.
#taskSchedule:
# numberOfThreads: 1
# taskDelaySeconds: 300

 

==============

 

 

issue while using process monitoring extension