cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RabbitMQ monitoring extension error

Barry.Harwood
Builder

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)

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.