Splunk AppDynamics

cassandra monitoring using Appd - Cannot convert into BigInteger NaN

CommunityUser
Splunk Employee
Splunk Employee

Facing issues with monitoring cassandra under custom metrics where in some cassandra nodes are not reporting any data under customer metrics but others are reporiting data. Both the nodes have same error in machine-agent.logs

App Agent Version - ver4.3.8.7

Cassandra monitor Extension - v2.0.6

The Tier name is defined correctly for Cassandra:

Config.yml

host: "localhost"
port: 7199

metricPrefix: "Server|Component:4761|Custom Metrics|Cassandra"

#metricPrefix: "Custom Metrics|Cassandra|"

Machine Agent Logs

[Agent-Monitor-Scheduler-1] 27 Nov 2018 00:09:12,820 INFO CassandraMonitor - Using Cassandra Monitor Version [Cassandra Monitor v2.0.6 Build Date 2018-03-19 04:40:47]
[Monitor-Task-Thread10] 27 Nov 2018 00:09:12,892 ERROR NodeMetricsProcessor - Error collecting value for org.apache.cassandra.metrics:type=ColumnFamily,name=ReadLatency Mean
java.lang.IllegalArgumentException: Cannot convert into BigInteger NaN
at com.appdynamics.extensions.cassandra.metrics.MetricValueTransformer.applyMultiplier(MetricValueTransformer.java:48)
at com.appdynamics.extensions.cassandra.metrics.MetricValueTransformer.transform(MetricValueTransformer.java:27)
at com.appdynamics.extensions.cassandra.metrics.NodeMetricsProcessor.setMetricDetails(NodeMetricsProcessor.java:98)
at com.appdynamics.extensions.cassandra.metrics.NodeMetricsProcessor.collect(NodeMetricsProcessor.java:82)
at com.appdynamics.extensions.cassandra.metrics.NodeMetricsProcessor.getNodeMetrics(NodeMetricsProcessor.java:53)
at com.appdynamics.extensions.cassandra.CassandraMonitorTask.populateAndPrintStats(CassandraMonitorTask.java:78)
at com.appdynamics.extensions.cassandra.CassandraMonitorTask.run(CassandraMonitorTask.java:49)
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

Bhuvnesh_Kumar
Explorer

Hi Porus,

Please provide us the debug logs for this issue as well as your config.yml and the value of the metric as you see on your jconsole. You can also file a support ticket at [Email redacted] and we can take this case forward through formal means.

Edit: This issue may be difficult for self-service. It's recommended you reach out to support for further help. 

Thanks,

Bhuvnesh

^ Edited by @Ryan.Paredez to remove an email address. Please do not share your or other email addresses for security and privacy reasons. 

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...