cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

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

RabbitMQ monitoring extension error

SOLVED
Barry.Harwood
Builder

RabbitMQ monitoring extension error

Noticed the following error in full debug mode - any thoughts or assistance greatly appreciated

[Monitor-Task-Thread2] 21 Jun 2017 14:10:55,135 DEBUG RabbitMQMonitorTask - Error while fetching the '/api/federation-links' data, returning NULL
org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of org.codehaus.jackson.node.ArrayNode out of START_OBJECT token
 at [Source: java.io.StringReader@30da296c; line: 1, column: 1]
 at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163)
 at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:219)
 at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:212)
 at org.codehaus.jackson.map.deser.std.JsonNodeDeserializer$ArrayDeserializer.deserialize(JsonNodeDeserializer.java:116)
 at org.codehaus.jackson.map.deser.std.JsonNodeDeserializer$ArrayDeserializer.deserialize(JsonNodeDeserializer.java:98)
 at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2725)
 at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1856)
 at com.appdynamics.extensions.rabbitmq.RabbitMQMonitoringTask.getOptionalJson(RabbitMQMonitoringTask.java:183)
 at com.appdynamics.extensions.rabbitmq.RabbitMQMonitoringTask.run(RabbitMQMonitoringTask.java:136)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
 at java.lang.Thread.run(Thread.java:745)

By replying you agree to the Terms and Conditions of the AppDynamics Community.
RabbitMQ monitoring extension error
3 REPLIES 3
Arun.Dasetty
AppDynamics Team

Hi,

 

I am copying response from extension SME from internal request , see if below helps, if not based on your response we will involve extension SMEs, keep us posted, as we see host:port is missing in error URL only URI found:

"Your endpoint is not returning any data for the extension to process. Please verify whether you're using the right URL. Also, provide us with the o/p of 
curl -kv http://<host:port>/api/federation-links"



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Satish.Muddam
AppDynamics Team

Hi Barry,

 

Have you enabled federation plugin in RabbitMQ? if not, please take a look at https://www.rabbitmq.com/federation.html.  Please file a help ticket in Zendesk with debug logs for faster resolution of the issue.

 

 

Thanks,

Satish M

Balakrishna.Vadavalasa
AppDynamics Team

Hi Barry,

 

The following error is because you don't have the federation plugin installed on RabbitMQ instance.

[Monitor-Task-Thread2] 21 Jun 2017 14:10:55,135 DEBUG RabbitMQMonitorTask - Error while fetching the '/api/federation-links' data, returning NULL

 

 

Please refer here for more details (http://www.rabbitmq.com/federation.html).

 

In case of further issues, we suggest you to raise a heldesk ticket at help@appdynamics.com with all the configuration and log files.

 

Thanks



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.