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. 

Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...