Splunk AppDynamics

RabbitMQ monitoring extension error

Bazza_12
Path Finder

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)

Labels (1)
0 Karma
3 Solutions

Arun_Dasetty
Super Champion

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"

View solution in original post

0 Karma

Satish_Muddam1
Explorer

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

View solution in original post

0 Karma

Balakrishna_Vad
Explorer

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

View solution in original post

0 Karma

Balakrishna_Vad
Explorer

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

0 Karma

Satish_Muddam1
Explorer

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

0 Karma

Arun_Dasetty
Super Champion

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"

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...