cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

cassandra monitoring using Appd - Cannot convert into BigInteger NaN

Porus.Arora
Creator

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)

1 REPLY 1

Bhuvnesh.Kumar
Moderator
Moderator

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. 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here