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!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...