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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...