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

Showing results for 
Search instead for 
Did you mean: 

Latest RabbitMQ monitoring extension error


Latest RabbitMQ monitoring extension error

Seem to be getting an error with the latest RabbitMQ extension - appears as though the username is being substituted for the host url


11:36:22,606  INFO [main] Http4ClientBuilder - Creating the auth scope for host [] and port [xxx]
11:36:22,606 DEBUG [main] Http4ClientBuilder - Read the [encryptionKey] from config.yml
11:36:22,715  INFO [main] Http4ClientBuilder - Created credentials for auth scope <any realm>
11:36:22,793 DEBUG [main] PathResolver - The install directory is resolved to D:\machineagent-bundle-64bit-windows-
11:36:22,793 DEBUG [main] FileWatchListenerModule - The path [monitors/RabbitMQMonitor/metrics.xml] is resolved to file D:\machineagent-bundle-64bit-windows-\monitors\RabbitMQMonitor\metrics.xml
11:36:22,824 DEBUG [main] MonitorConfiguration - Attempting to unmarshall the file D:\machineagent-bundle-64bit-windows-\monitors\RabbitMQMonitor\metrics.xml into com.appdynamics.extensions.rabbitmq.config.input.Stat$Stats
11:36:22,840  INFO [main] MonitorConfiguration - Reloaded the metrics xml [com.appdynamics.extensions.rabbitmq.config.input.Stat$Stats@1b3ee4e] successfully from D:\machineagent-bundle-64bit-windows-\monitors\RabbitMQMonitor\metrics.xml
11:36:22,840 DEBUG [main] AMonitorJob - Monitor RabbitMQ Monitor Task Runner invoked
11:36:22,840  INFO [main] MetricWriteHelperFactory - The instance of MetricWriteHelperFactory is com.appdynamics.extensions.workbench.metric.WorkbenchMetricStore@1d4937b
11:36:23,043 DEBUG [Monitor-Task-Thread1] RabbitMQMonitorTask - Registering MetricCollectorTask phaser for TestRabbitMQ
11:36:23,043 DEBUG [Monitor-Task-Thread1] RabbitMQMonitorTask - Registering OptionalMetricCollectorTask phaser for TestRabbitMQ
11:36:23,043 DEBUG [Monitor-Task-Thread2] UrlBuilder - The url is initialized to https://yyy-yyy-yyyyy-yyyyyyy:xxx/api/nodes



This gives the following error

11:36:35,429 ERROR [Monitor-Task-Thread2] HttpClientUtils - Exception while executing the request [https://yyy-yyy-yyyyy-yyyyyyy:xxx/api/nodes] yyy-yyy-yyyyy-yyyyyyy
 at Method)
 at$2.lookupAllHostAddr(Unknown Source)
 at Source)
 at Source)
 at Source)
 at Source)
 at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(
 at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(
 at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(
 at org.apache.http.impl.execchain.MainClientExec.establishRoute(
 at org.apache.http.impl.execchain.MainClientExec.execute(
 at org.apache.http.impl.execchain.ProtocolExec.execute(
 at org.apache.http.impl.execchain.RetryExec.execute(
 at org.apache.http.impl.execchain.RedirectExec.execute(
 at org.apache.http.impl.client.InternalHttpClient.doExecute(
 at org.apache.http.impl.client.CloseableHttpClient.execute(
 at org.apache.http.impl.client.CloseableHttpClient.execute(
 at com.appdynamics.extensions.http.HttpClientUtils.getResponse(
 at com.appdynamics.extensions.http.HttpClientUtils.getResponseAsJson(
 at com.appdynamics.extensions.http.HttpClientUtils.getResponseAsJson(
 at com.appdynamics.extensions.MonitorThreadPoolExecutor$
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$ Source)
 at Source)


The yaml file is correct & checked


   - host: ""
     port: xxx
     useSSL: true
     username: "yyy-yyy-yyyyy-yyyyyyy"



Latest RabbitMQ monitoring extension error
AppDynamics Team

Re: Latest RabbitMQ monitoring extension error

Hello Barry, We would suggest to create a helpdesk ticket for quicker response. In the helpdesk ticket, please attach the config.yml file you are using and provide complete machine agent DEBUG level logs. Thanks, Akshay
AppDynamics Team

Re: Latest RabbitMQ monitoring extension error

Hello Barry,


We have just updated our community page with a new build, please try that build.


This issue has been fixed with the latest build. Please try this and let us know.





Re: Latest RabbitMQ monitoring extension error

Hi Akshay

Thanks that is better I am getting stats now without any issues.